#include <property_node.h>
Classes | |
| struct | ChangeCallback | 
Public Member Functions | |
| void | addChangeCallback (const PropertyChangeCallback &cb, void *owner, ros::CallbackQueueInterface *callback_queue) | 
| bool | exists (const std::string &path) | 
| template<typename T > | |
| T | get () | 
| template<typename T > | |
| void | get (T &t) | 
| template<typename T > | |
| void | get (T &t, T default_value) | 
| template<typename T > | |
| T | get (const std::string &path) | 
| template<typename T > | |
| void | get (const std::string &path, T &t) | 
| template<typename T > | |
| void | get (const std::string &path, T &t, T default_value) | 
| void | getChildren (V_PropertyNode &out_children) | 
| std::string | getName () | 
| PropertyNodePtr | getNode (const std::string &path, bool create_if_necessary=true) | 
| PropertyNodePtr | getParent () | 
| PropertyValue | getValue () | 
| bool | hasValue () | 
| PropertyNode () | |
| void | removeChangeCallback (void *owner) | 
| void | removeNode (const std::string &path) | 
| template<typename T > | |
| void | set (T t) | 
| template<typename T > | |
| void | set (const std::string &path, T t) | 
| void | setNode (const std::string &path, const PropertyNodePtr &node) | 
| template<typename F > | |
| void | visitChildren (F &f, bool recurse=true, const std::string &base_path=std::string()) | 
| ~PropertyNode () | |
Private Types | |
| typedef std::map< std::string,  PropertyNodePtr >  | M_PropertyNode | 
| typedef std::vector < ChangeCallback >  | V_ChangeCallback | 
Private Member Functions | |
| void | childChanged (const PropertyNodePtr &child, const std::string &child_path, PropertyChangeType type) | 
| void | fireChanged (const PropertyNodePtr &node, const std::string &path, PropertyChangeType type) | 
| std::pair< PropertyNodePtr,  std::string >  | getParentOf (const std::string &path) | 
| PropertyNode & | operator= (const PropertyNode &) | 
| PropertyNode (const PropertyNode &) | |
| void | setChild (const std::string &name, const PropertyNodePtr &node) | 
| void | setParent (PropertyNode *parent, const std::string &name, bool remove_from_previous) | 
Private Attributes | |
| V_ChangeCallback * | change_callbacks_ | 
| M_PropertyNode * | children_ | 
| PropertyData | data_ | 
| boost::recursive_mutex | mutex_ | 
| std::string | name_ | 
| PropertyNode * | parent_ | 
Definition at line 82 of file property_node.h.
typedef std::map<std::string, PropertyNodePtr> rve_properties::PropertyNode::M_PropertyNode [private] | 
        
Definition at line 242 of file property_node.h.
typedef std::vector<ChangeCallback> rve_properties::PropertyNode::V_ChangeCallback [private] | 
        
Definition at line 251 of file property_node.h.
Definition at line 46 of file property_node.cpp.
Definition at line 53 of file property_node.cpp.
| rve_properties::PropertyNode::PropertyNode | ( | const PropertyNode & | ) |  [private] | 
        
| void rve_properties::PropertyNode::addChangeCallback | ( | const PropertyChangeCallback & | cb, | 
| void * | owner, | ||
| ros::CallbackQueueInterface * | callback_queue | ||
| ) | 
Definition at line 347 of file property_node.cpp.
| void rve_properties::PropertyNode::childChanged | ( | const PropertyNodePtr & | child, | 
| const std::string & | child_path, | ||
| PropertyChangeType | type | ||
| ) |  [private] | 
        
Definition at line 342 of file property_node.cpp.
| bool rve_properties::PropertyNode::exists | ( | const std::string & | path | ) | 
Definition at line 257 of file property_node.cpp.
| void rve_properties::PropertyNode::fireChanged | ( | const PropertyNodePtr & | node, | 
| const std::string & | path, | ||
| PropertyChangeType | type | ||
| ) |  [private] | 
        
Definition at line 295 of file property_node.cpp.
| T rve_properties::PropertyNode::get | ( | ) |  [inline] | 
        
Definition at line 106 of file property_node.h.
| void rve_properties::PropertyNode::get | ( | T & | t | ) |  [inline] | 
        
Definition at line 113 of file property_node.h.
| void rve_properties::PropertyNode::get | ( | T & | t, | 
| T | default_value | ||
| ) |  [inline] | 
        
Definition at line 120 of file property_node.h.
| T rve_properties::PropertyNode::get | ( | const std::string & | path | ) |  [inline] | 
        
Definition at line 134 of file property_node.h.
| void rve_properties::PropertyNode::get | ( | const std::string & | path, | 
| T & | t | ||
| ) |  [inline] | 
        
Definition at line 141 of file property_node.h.
| void rve_properties::PropertyNode::get | ( | const std::string & | path, | 
| T & | t, | ||
| T | default_value | ||
| ) |  [inline] | 
        
Definition at line 148 of file property_node.h.
| void rve_properties::PropertyNode::getChildren | ( | V_PropertyNode & | out_children | ) |  [inline] | 
        
Definition at line 203 of file property_node.h.
| std::string rve_properties::PropertyNode::getName | ( | ) |  [inline] | 
        
Definition at line 160 of file property_node.h.
| PropertyNodePtr rve_properties::PropertyNode::getNode | ( | const std::string & | path, | 
| bool | create_if_necessary = true  | 
        ||
| ) | 
Definition at line 87 of file property_node.cpp.
Definition at line 262 of file property_node.cpp.
| std::pair< PropertyNodePtr, std::string > rve_properties::PropertyNode::getParentOf | ( | const std::string & | path | ) |  [private] | 
        
Definition at line 157 of file property_node.cpp.
| PropertyValue rve_properties::PropertyNode::getValue | ( | ) |  [inline] | 
        
Definition at line 159 of file property_node.h.
Definition at line 82 of file property_node.cpp.
| PropertyNode& rve_properties::PropertyNode::operator= | ( | const PropertyNode & | ) |  [private] | 
        
| void rve_properties::PropertyNode::removeChangeCallback | ( | void * | owner | ) | 
Definition at line 363 of file property_node.cpp.
| void rve_properties::PropertyNode::removeNode | ( | const std::string & | path | ) | 
Definition at line 221 of file property_node.cpp.
| void rve_properties::PropertyNode::set | ( | T | t | ) |  [inline] | 
        
Definition at line 95 of file property_node.h.
| void rve_properties::PropertyNode::set | ( | const std::string & | path, | 
| T | t | ||
| ) |  [inline] | 
        
Definition at line 127 of file property_node.h.
| void rve_properties::PropertyNode::setChild | ( | const std::string & | name, | 
| const PropertyNodePtr & | node | ||
| ) |  [private] | 
        
Definition at line 184 of file property_node.cpp.
| void rve_properties::PropertyNode::setNode | ( | const std::string & | path, | 
| const PropertyNodePtr & | node | ||
| ) | 
Definition at line 206 of file property_node.cpp.
| void rve_properties::PropertyNode::setParent | ( | PropertyNode * | parent, | 
| const std::string & | name, | ||
| bool | remove_from_previous | ||
| ) |  [private] | 
        
Definition at line 59 of file property_node.cpp.
| void rve_properties::PropertyNode::visitChildren | ( | F & | f, | 
| bool | recurse = true,  | 
        ||
| const std::string & | base_path = std::string()  | 
        ||
| ) |  [inline] | 
        
Definition at line 163 of file property_node.h.
Definition at line 252 of file property_node.h.
Definition at line 243 of file property_node.h.
Definition at line 237 of file property_node.h.
boost::recursive_mutex rve_properties::PropertyNode::mutex_ [private] | 
        
Definition at line 236 of file property_node.h.
std::string rve_properties::PropertyNode::name_ [private] | 
        
Definition at line 239 of file property_node.h.
Definition at line 240 of file property_node.h.