#include <engine.hpp>

Public Types | |
| typedef boost::shared_ptr < engine_factory > | factory_ptr |
| typedef std::map< std::string, factory_ptr > | factory_map |
| typedef std::pair< const std::string, factory_ptr > | factory_map_pair |
Public Member Functions | |
| virtual engine_ptr | get_new_instance (readonly_context &ai, const config &cfg)=0 |
| virtual engine_ptr | get_new_instance (readonly_context &ai, const std::string &name)=0 |
| engine_factory (const std::string &name) | |
| virtual | ~engine_factory () |
Static Public Member Functions | |
| static factory_map & | get_list () |
Definition at line 118 of file engine.hpp.
| typedef std::map<std::string, factory_ptr> ai::engine_factory::factory_map |
Definition at line 121 of file engine.hpp.
| typedef std::pair<const std::string, factory_ptr> ai::engine_factory::factory_map_pair |
Definition at line 122 of file engine.hpp.
| typedef boost::shared_ptr< engine_factory > ai::engine_factory::factory_ptr |
Definition at line 120 of file engine.hpp.
| ai::engine_factory::engine_factory | ( | const std::string & | name | ) | [inline] |
Definition at line 135 of file engine.hpp.
References get_list().

| virtual ai::engine_factory::~engine_factory | ( | ) | [inline, virtual] |
Definition at line 141 of file engine.hpp.
| static factory_map& ai::engine_factory::get_list | ( | ) | [inline, static] |
Definition at line 124 of file engine.hpp.
Referenced by engine_factory(), and ai::readonly_context_impl::get_engine_by_cfg().

| virtual engine_ptr ai::engine_factory::get_new_instance | ( | readonly_context & | ai, | |
| const std::string & | name | |||
| ) | [pure virtual] |
Implemented in ai::register_engine_factory< ENGINE >.
| virtual engine_ptr ai::engine_factory::get_new_instance | ( | readonly_context & | ai, | |
| const config & | cfg | |||
| ) | [pure virtual] |
Implemented in ai::register_engine_factory< ENGINE >.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:24 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |