#include <aspect.hpp>
Public Types | |
typedef boost::shared_ptr < lua_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, boost::shared_ptr< lua_ai_context > &l_ctx)=0 |
lua_aspect_factory (const std::string &name) | |
virtual | ~lua_aspect_factory () |
Static Public Member Functions | |
static factory_map & | get_list () |
Definition at line 510 of file aspect.hpp.
typedef std::map<std::string, factory_ptr> ai::lua_aspect_factory::factory_map |
Definition at line 513 of file aspect.hpp.
typedef std::pair<const std::string, factory_ptr> ai::lua_aspect_factory::factory_map_pair |
Definition at line 514 of file aspect.hpp.
Definition at line 512 of file aspect.hpp.
|
inline |
Definition at line 526 of file aspect.hpp.
References get_list().
|
inlinevirtual |
Definition at line 532 of file aspect.hpp.
|
inlinestatic |
Definition at line 516 of file aspect.hpp.
Referenced by ai::engine_lua::do_parse_aspect_from_config(), and lua_aspect_factory().
|
pure virtual |
Implemented in ai::register_lua_aspect_factory< ASPECT >.