#include <aspect.hpp>
Public Types | |
typedef std::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, std::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 493 of file aspect.hpp.
typedef std::map<std::string, factory_ptr> ai::lua_aspect_factory::factory_map |
Definition at line 496 of file aspect.hpp.
typedef std::pair<const std::string, factory_ptr> ai::lua_aspect_factory::factory_map_pair |
Definition at line 497 of file aspect.hpp.
typedef std::shared_ptr< lua_aspect_factory > ai::lua_aspect_factory::factory_ptr |
Definition at line 495 of file aspect.hpp.
|
inline |
Definition at line 509 of file aspect.hpp.
References get_list().
|
inlinevirtual |
Definition at line 515 of file aspect.hpp.
|
inlinestatic |
Definition at line 499 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 >.