#include <stage.hpp>
Public Types | |
typedef std::shared_ptr< stage_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 stage_ptr | get_new_instance (ai_context &context, const config &cfg)=0 |
stage_factory (const std::string &name) | |
virtual | ~stage_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::stage_factory::factory_map |
typedef std::pair<const std::string, factory_ptr> ai::stage_factory::factory_map_pair |
typedef std::shared_ptr< stage_factory > ai::stage_factory::factory_ptr |
|
inline |
Definition at line 106 of file stage.hpp.
References get_list(), and is_duplicate().
|
inlinevirtual |
|
inlinestatic |
Definition at line 96 of file stage.hpp.
Referenced by ai::engine_cpp::do_parse_stage_from_config(), is_duplicate(), and stage_factory().
|
pure virtual |
Implemented in ai::register_stage_factory< STAGE >.
|
private |
Definition at line 108 of file stage.cpp.
References ERR_AI_STAGE, utils::find(), and get_list().
Referenced by stage_factory().