#include <goal.hpp>

Public Types | |
| typedef boost::shared_ptr < goal_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 goal_ptr | get_new_instance (readonly_context &context, const config &cfg)=0 |
| goal_factory (const std::string &name) | |
| virtual | ~goal_factory () |
Static Public Member Functions | |
| static factory_map & | get_list () |
Definition at line 181 of file goal.hpp.
| typedef std::map<std::string, factory_ptr> ai::goal_factory::factory_map |
| typedef std::pair<const std::string, factory_ptr> ai::goal_factory::factory_map_pair |
| typedef boost::shared_ptr< goal_factory > ai::goal_factory::factory_ptr |
| ai::goal_factory::goal_factory | ( | const std::string & | name | ) | [inline] |
Definition at line 197 of file goal.hpp.
References get_list().

| virtual ai::goal_factory::~goal_factory | ( | ) | [inline, virtual] |
| static factory_map& ai::goal_factory::get_list | ( | ) | [inline, static] |
Definition at line 187 of file goal.hpp.
Referenced by goal_factory().

| virtual goal_ptr ai::goal_factory::get_new_instance | ( | readonly_context & | context, | |
| const config & | cfg | |||
| ) | [pure virtual] |
Implemented in ai::register_goal_factory< GOAL >.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:29 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |