#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 () |
Private Member Functions | |
bool | is_duplicate (const std::string &name) |
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 |
|
inline |
Definition at line 198 of file goal.hpp.
References get_list(), and is_duplicate().
|
inlinestatic |
Definition at line 188 of file goal.hpp.
Referenced by ai::engine_cpp::do_parse_goal_from_config(), ai::engine_lua::do_parse_goal_from_config(), goal_factory(), and is_duplicate().
|
pure virtual |
Implemented in ai::register_goal_factory< GOAL >.
|
private |
Definition at line 369 of file goal.cpp.
References ERR_AI_GOAL, gui2::event::find(), and get_list().
Referenced by goal_factory().