#include <component.hpp>


Public Member Functions | |
| component () | |
| virtual std::string | get_id () const =0 |
| virtual std::string | get_name () const =0 |
| virtual std::string | get_engine () const =0 |
| 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 () |
Private Attributes | |
| property_handler_map | property_handlers_ |
Definition at line 60 of file component.hpp.
| ai::component::component | ( | ) | [inline] |
Definition at line 62 of file component.hpp.
| virtual ai::component::~component | ( | ) | [inline, virtual] |
Definition at line 70 of file component.hpp.
| bool ai::component::add_child | ( | const path_element & | child, | |
| const config & | cfg | |||
| ) | [virtual] |
Definition at line 83 of file component.cpp.
References ai::path_element::property, and property_handlers_.
Referenced by ai::component_manager::add_component().

| bool ai::component::change_child | ( | const path_element & | child, | |
| const config & | cfg | |||
| ) | [virtual] |
Definition at line 93 of file component.cpp.
References ai::path_element::property, and property_handlers_.
Referenced by ai::component_manager::change_component().

| bool ai::component::delete_child | ( | const path_element & | child | ) | [virtual] |
Definition at line 103 of file component.cpp.
References ai::path_element::property, and property_handlers_.
Referenced by ai::component_manager::delete_component().

| component * ai::component::get_child | ( | const path_element & | child | ) | [virtual] |
Definition at line 73 of file component.cpp.
References ai::path_element::property, and property_handlers_.
Referenced by ai::find_component().

| std::vector< component * > ai::component::get_children | ( | const std::string & | type | ) | [virtual] |
Definition at line 113 of file component.cpp.
References property_handlers_.
Referenced by ai::print_component().

| std::vector< std::string > ai::component::get_children_types | ( | ) | [virtual] |
Definition at line 124 of file component.cpp.
References property_handlers_.
Referenced by ai::print_component().

| virtual std::string ai::component::get_engine | ( | ) | const [pure virtual] |
Implemented in ai::ai_composite, ai::aspect, ai::engine, ai::goal, ai::candidate_action, and ai::stage.
Referenced by ai::print_component().

| virtual std::string ai::component::get_id | ( | ) | const [pure virtual] |
Implemented in ai::ai_composite, ai::aspect, ai::engine, ai::goal, ai::candidate_action, and ai::stage.
Referenced by ai::print_component().

| virtual std::string ai::component::get_name | ( | ) | const [pure virtual] |
Implemented in ai::ai_composite, ai::aspect, ai::engine, ai::goal, ai::candidate_action, and ai::stage.
Referenced by ai::print_component().

| property_handler_map & ai::component::property_handlers | ( | ) |
Definition at line 134 of file component.cpp.
References property_handlers_.
Referenced by ai::composite_aspect< T >::composite_aspect(), and ai::testing_ai_default::candidate_action_evaluation_loop::on_create().

Definition at line 81 of file component.hpp.
Referenced by add_child(), change_child(), delete_child(), get_child(), get_children(), get_children_types(), and property_handlers().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:23 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |