#include <aspect.hpp>

Public Types | |
| typedef boost::shared_ptr < aspect_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 aspect_ptr | get_new_instance (readonly_context &context, const config &cfg, const std::string &id)=0 |
| aspect_factory (const std::string &name) | |
| virtual | ~aspect_factory () |
Static Public Member Functions | |
| static factory_map & | get_list () |
Definition at line 452 of file aspect.hpp.
| typedef std::map<std::string, factory_ptr> ai::aspect_factory::factory_map |
Definition at line 455 of file aspect.hpp.
| typedef std::pair<const std::string, factory_ptr> ai::aspect_factory::factory_map_pair |
Definition at line 456 of file aspect.hpp.
| typedef boost::shared_ptr< aspect_factory > ai::aspect_factory::factory_ptr |
Definition at line 454 of file aspect.hpp.
| ai::aspect_factory::aspect_factory | ( | const std::string & | name | ) | [inline] |
Definition at line 468 of file aspect.hpp.
References get_list().

| virtual ai::aspect_factory::~aspect_factory | ( | ) | [inline, virtual] |
Definition at line 474 of file aspect.hpp.
| static factory_map& ai::aspect_factory::get_list | ( | ) | [inline, static] |
Definition at line 458 of file aspect.hpp.
Referenced by aspect_factory().

| virtual aspect_ptr ai::aspect_factory::get_new_instance | ( | readonly_context & | context, | |
| const config & | cfg, | |||
| const std::string & | id | |||
| ) | [pure virtual] |
Implemented in ai::register_aspect_factory< ASPECT >.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:22 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |