#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 () |
Private Member Functions | |
bool | is_duplicate (const std::string &name) |
Definition at line 463 of file aspect.hpp.
typedef std::map<std::string, factory_ptr> ai::aspect_factory::factory_map |
Definition at line 467 of file aspect.hpp.
typedef std::pair<const std::string, factory_ptr> ai::aspect_factory::factory_map_pair |
Definition at line 468 of file aspect.hpp.
Definition at line 466 of file aspect.hpp.
|
inline |
Definition at line 480 of file aspect.hpp.
References get_list(), and is_duplicate().
|
inlinevirtual |
Definition at line 489 of file aspect.hpp.
|
inlinestatic |
Definition at line 470 of file aspect.hpp.
Referenced by aspect_factory(), ai::engine_cpp::do_parse_aspect_from_config(), and is_duplicate().
|
pure virtual |
Implemented in ai::register_aspect_factory< ASPECT >.
|
private |
Definition at line 172 of file aspect.cpp.
References ERR_AI_ASPECT, gui2::event::find(), and get_list().
Referenced by aspect_factory().