OpenLexocad  27.1
Core::BehaviorModeFactory Class Referenceabstract

#include <AbstractBehaviorMode.h>

Public Member Functions

 BehaviorModeFactory (void)
 
 ~BehaviorModeFactory (void)
 
virtual AbstractBehaviorModecreateByFactory (ViewMgrInterface *vi, GUIInterface *gi, ServiceInterface *si)=0
 

Static Public Member Functions

static bool registerFactory (const std::string &name, BehaviorModeFactory *fact)
 
static AbstractBehaviorModecreate (ViewMgrInterface *vi, GUIInterface *gi, ServiceInterface *si, const std::string &type)
 

Static Public Attributes

static std::map< std::string, BehaviorModeFactory * > _registry
 

Detailed Description

Constructor & Destructor Documentation

◆ BehaviorModeFactory()

Core::BehaviorModeFactory::BehaviorModeFactory ( void  )

◆ ~BehaviorModeFactory()

Core::BehaviorModeFactory::~BehaviorModeFactory ( void  )

Member Function Documentation

◆ create()

static AbstractBehaviorMode* Core::BehaviorModeFactory::create ( ViewMgrInterface vi,
GUIInterface gi,
ServiceInterface si,
const std::string &  type 
)
static

◆ createByFactory()

virtual AbstractBehaviorMode* Core::BehaviorModeFactory::createByFactory ( ViewMgrInterface vi,
GUIInterface gi,
ServiceInterface si 
)
pure virtual

◆ registerFactory()

static bool Core::BehaviorModeFactory::registerFactory ( const std::string &  name,
BehaviorModeFactory fact 
)
static

Member Data Documentation

◆ _registry

std::map<std::string, BehaviorModeFactory*> Core::BehaviorModeFactory::_registry
static

The documentation for this class was generated from the following file: