Public Member Functions | |
virtual | ~GameStateFactory () |
Static Public Member Functions | |
template<class T> | |
static void | createFactory (const std::string &className) |
static void | destroyFactories () |
static GameState * | fabricate (const std::string &className, const GameStateConstrParams ¶ms) |
Private Member Functions | |
virtual GameState * | fabricate (const GameStateConstrParams ¶ms)=0 |
Static Private Attributes | |
static std::map< std::string, GameStateFactory * > | factories_s |
virtual orxonox::Game::GameStateFactory::~GameStateFactory | ( | ) | [inline, virtual] |
static void orxonox::Game::GameStateFactory::createFactory | ( | const std::string & | className | ) | [inline, static] |
void orxonox::Game::GameStateFactory::destroyFactories | ( | ) | [static] |
virtual GameState* orxonox::Game::GameStateFactory::fabricate | ( | const GameStateConstrParams & | params | ) | [private, pure virtual] |
Implemented in orxonox::Game::TemplateGameStateFactory< T >.
GameState * orxonox::Game::GameStateFactory::fabricate | ( | const std::string & | className, | |
const GameStateConstrParams & | params | |||
) | [static] |
std::map< std::string, Game::GameStateFactory * > orxonox::Game::GameStateFactory::factories_s [static, private] |
Referenced by destroyFactories(), and fabricate().