27 return node.getAllChildren_();
45 const bool must_exist =
false)
47 return node->getChild_(path, must_exist,
true );
50 static uint32_t findChildren(
TreeNode* node,
const std::string& pattern,
51 std::vector<TreeNode*>& results)
53 return node->findChildren_(pattern, results,
true );
61 return node->hasChild_(path,
true );
64 template <
typename DataT,
typename T,
void (T::*TMethod)(const DataT&)>
65 static void registerForNotification(
TreeNode* node, T* obj,
66 const std::string& name,
bool ensure_possible=
true)
69 node->registerForNotification_<DataT, T, TMethod>(obj, name,
73 template <
typename DataT,
typename T,
void (T::*TMethod)(const TreeNode&, const TreeNode&, const DataT&)>
74 static void registerForNotification(TreeNode* node, T* obj,
75 const std::string& name,
76 bool ensure_possible=
true)
79 node->registerForNotification_<DataT, T, TMethod>(obj, name,
84 template <
typename DataT,
typename T,
void (T::*TMethod)(const DataT&)>
85 static void deregisterForNotification(TreeNode* node,
86 T* obj,
const std::string& name)
89 node->deregisterForNotification_<DataT, T, TMethod>(obj,
94 template <
typename DataT,
typename T,
void (T::*TMethod)(const TreeNode&, const TreeNode&, const DataT&)>
95 static void deregisterForNotification(TreeNode* node,
96 T* obj,
const std::string& name)
99 node->deregisterForNotification_<DataT, T, TMethod>(obj,