#include <property_handler.hpp>
Public Types | |
typedef std::shared_ptr< T > | ptr |
typedef std::map< std::string, ptr > | aspect_map |
Public Member Functions | |
aspect_property_handler (const std::string &property, aspect_map &aspects, std::function< void(aspect_map &, const config &, std::string)> &construction_factory) | |
component * | handle_get (const path_element &child) |
bool | handle_change (const path_element &child, config cfg) |
bool | handle_add (const path_element &, const config &) |
bool | handle_delete (const path_element &child) |
std::vector< component * > | handle_get_children () |
Public Member Functions inherited from ai::base_property_handler | |
virtual | ~base_property_handler () |
Private Attributes | |
const std::string & | property_ |
aspect_map & | aspects_ |
std::function< void(aspect_map &, const config &, std::string)> | factory_ |
Definition at line 213 of file property_handler.hpp.
typedef std::map< std::string, ptr > ai::aspect_property_handler< T >::aspect_map |
Definition at line 216 of file property_handler.hpp.
typedef std::shared_ptr<T> ai::aspect_property_handler< T >::ptr |
Definition at line 215 of file property_handler.hpp.
|
inline |
Definition at line 218 of file property_handler.hpp.
|
inlinevirtual |
Implements ai::base_property_handler.
Definition at line 245 of file property_handler.hpp.
|
inlinevirtual |
Implements ai::base_property_handler.
Definition at line 232 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_, ai::aspect_property_handler< T >::factory_, config::has_attribute(), and ai::path_element::id.
|
inlinevirtual |
Implements ai::base_property_handler.
Definition at line 250 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_, b, and ai::path_element::id.
|
inlinevirtual |
Implements ai::base_property_handler.
Definition at line 223 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_, and ai::path_element::id.
|
inlinevirtual |
Implements ai::base_property_handler.
Definition at line 263 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_.
|
private |
|
private |
Definition at line 276 of file property_handler.hpp.
Referenced by ai::aspect_property_handler< T >::handle_change().
|
private |
Definition at line 274 of file property_handler.hpp.