Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | List of all members
orxonox::Game::GameStateFactory Class Referenceabstract
Inheritance diagram for orxonox::Game::GameStateFactory:
orxonox::Game::TemplateGameStateFactory< T >

Public Member Functions

virtual ~GameStateFactory ()=default
 
virtual std::shared_ptr< GameStatefabricateInternal (const GameStateInfo &info)=0
 

Static Public Member Functions

template<class T >
static void createFactory (const std::string &className)
 
static std::shared_ptr< GameStatefabricate (const GameStateInfo &info)
 
static std::map< std::string, std::shared_ptr< GameStateFactory > > & getFactories ()
 

Constructor & Destructor Documentation

virtual orxonox::Game::GameStateFactory::~GameStateFactory ( )
virtualdefault

Member Function Documentation

template<class T >
static void orxonox::Game::GameStateFactory::createFactory ( const std::string &  className)
inlinestatic
std::shared_ptr< GameState > orxonox::Game::GameStateFactory::fabricate ( const GameStateInfo info)
static
virtual std::shared_ptr<GameState> orxonox::Game::GameStateFactory::fabricateInternal ( const GameStateInfo info)
pure virtual
std::map< std::string, std::shared_ptr< Game::GameStateFactory > > & orxonox::Game::GameStateFactory::getFactories ( )
static

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