#include <engine_cpp.hpp>
Public Member Functions | |
engine_cpp (readonly_context &context, const config &cfg) | |
virtual | ~engine_cpp () |
void | do_parse_aspect_from_config (const config &cfg, const std::string &id, std::back_insert_iterator< std::vector< aspect_ptr > > b) |
virtual void | do_parse_candidate_action_from_config (rca_context &context, const config &cfg, std::back_insert_iterator< std::vector< candidate_action_ptr > > b) |
virtual void | do_parse_stage_from_config (ai_context &context, const config &cfg, std::back_insert_iterator< std::vector< stage_ptr > > b) |
virtual void | do_parse_goal_from_config (const config &cfg, std::back_insert_iterator< std::vector< goal_ptr > > b) |
virtual void | do_parse_engine_from_config (const config &cfg, std::back_insert_iterator< std::vector< engine_ptr > > b) |
Public Member Functions inherited from ai::engine | |
engine (readonly_context &context, const config &cfg) | |
virtual | ~engine () |
virtual bool | is_ok () const |
virtual std::string | evaluate (const std::string &str) |
readonly_context & | get_readonly_context () |
virtual void | set_ai_context (ai_context_ptr context) |
set ai context (which is not available during early initialization) More... | |
virtual ai_context_ptr | get_ai_context () |
virtual config | to_config () const |
serialize More... | |
virtual std::string | get_id () const |
virtual std::string | get_engine () const |
virtual std::string | get_name () const |
Public Member Functions inherited from ai::component | |
component () | |
virtual | ~component () |
virtual component * | get_child (const path_element &child) |
virtual std::vector< component * > | get_children (const std::string &type) |
virtual std::vector< std::string > | get_children_types () |
virtual bool | change_child (const path_element &child, const config &cfg) |
virtual bool | add_child (const path_element &child, const config &cfg) |
virtual bool | delete_child (const path_element &child) |
property_handler_map & | property_handlers () |
Additional Inherited Members | |
Static Public Member Functions inherited from ai::engine | |
static void | parse_aspect_from_config (readonly_context &context, const config &cfg, const std::string &id, std::back_insert_iterator< std::vector< aspect_ptr > > b) |
static void | parse_goal_from_config (readonly_context &context, const config &cfg, std::back_insert_iterator< std::vector< goal_ptr > > b) |
static void | parse_candidate_action_from_config (rca_context &context, const config &cfg, std::back_insert_iterator< std::vector< candidate_action_ptr > > b) |
static void | parse_engine_from_config (readonly_context &context, const config &cfg, std::back_insert_iterator< std::vector< engine_ptr > > b) |
static void | parse_stage_from_config (ai_context &context, const config &cfg, std::back_insert_iterator< std::vector< stage_ptr > > b) |
Protected Attributes inherited from ai::engine | |
readonly_context & | ai_ |
ai_context_ptr | ai_context_ |
std::string | engine_ |
name of the engine which has created this engine More... | |
std::string | id_ |
std::string | name_ |
Definition at line 28 of file engine_cpp.hpp.
ai::engine_cpp::engine_cpp | ( | readonly_context & | context, |
const config & | cfg | ||
) |
Definition at line 35 of file engine_cpp.cpp.
References ai::engine::name_.
|
virtual |
Definition at line 41 of file engine_cpp.cpp.
|
virtual |
Reimplemented from ai::engine.
Definition at line 46 of file engine_cpp.cpp.
References ai::engine::ai_, DBG_AI_ENGINE_CPP, ERR_AI_ENGINE_CPP, ai::aspect_factory::get_list(), and ai::side_context::get_side().
|
virtual |
Reimplemented from ai::engine.
Definition at line 65 of file engine_cpp.cpp.
References ai::engine::ai_, DBG_AI_ENGINE_CPP, ERR_AI_ENGINE_CPP, ai::candidate_action_factory::get_list(), and ai::side_context::get_side().
|
virtual |
Reimplemented from ai::engine.
Definition at line 118 of file engine_cpp.cpp.
References ai::engine::ai_, DBG_AI_ENGINE_CPP, ERR_AI_ENGINE_CPP, ai::engine_factory::get_list(), and ai::side_context::get_side().
|
virtual |
Reimplemented from ai::engine.
Definition at line 100 of file engine_cpp.cpp.
References ai::engine::ai_, DBG_AI_ENGINE_CPP, ERR_AI_ENGINE_CPP, ai::goal_factory::get_list(), and ai::side_context::get_side().
|
virtual |
Reimplemented from ai::engine.
Definition at line 82 of file engine_cpp.cpp.
References ai::engine::ai_, DBG_AI_ENGINE_CPP, ERR_AI_ENGINE_CPP, ai::stage_factory::get_list(), and ai::side_context::get_side().