#include <interface.hpp>

Public Types | |
| typedef boost::shared_ptr < ai_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 ai_ptr | get_new_instance (ai_context &context, const config &cfg)=0 |
| ai_factory (const std::string &name) | |
| virtual | ~ai_factory () |
Static Public Member Functions | |
| static factory_map & | get_list () |
Definition at line 77 of file interface.hpp.
| typedef std::map<std::string, factory_ptr> ai::ai_factory::factory_map |
Definition at line 80 of file interface.hpp.
| typedef std::pair<const std::string, factory_ptr> ai::ai_factory::factory_map_pair |
Definition at line 81 of file interface.hpp.
| typedef boost::shared_ptr< ai_factory > ai::ai_factory::factory_ptr |
Definition at line 79 of file interface.hpp.
| ai::ai_factory::ai_factory | ( | const std::string & | name | ) | [inline] |
Definition at line 93 of file interface.hpp.
References get_list().

| virtual ai::ai_factory::~ai_factory | ( | ) | [inline, virtual] |
Definition at line 99 of file interface.hpp.
| static factory_map& ai::ai_factory::get_list | ( | ) | [inline, static] |
Definition at line 83 of file interface.hpp.
Referenced by ai_factory().

| virtual ai_ptr ai::ai_factory::get_new_instance | ( | ai_context & | context, | |
| const config & | cfg | |||
| ) | [pure virtual] |
Implemented in ai::register_ai_factory< AI >.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:00 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |