17 #ifndef GAZEBO_UTIL_INTROSPECTION_CLIENT_HH_
18 #define GAZEBO_UTIL_INTROSPECTION_CLIENT_HH_
32 class IntrospectionClientPrivate;
56 public: std::set<std::string> WaitForManagers(
57 const std::chrono::milliseconds _timeOut =
58 std::chrono::milliseconds::zero())
const;
62 public: std::set<std::string> Managers()
const;
75 public:
bool NewFilter(
const std::string &_managerId,
76 const std::set<std::string> &_newItems,
77 std::string &_filterId,
78 std::string &_newTopic)
const;
95 public:
bool NewFilter(
const std::string &_managerId,
96 const std::set< std::string> &_newItems,
97 const std::function <
void(
98 const std::string &_filterId,
99 const std::string &_newTopic,
100 const bool _result)> &_cb)
const;
108 public:
bool UpdateFilter(
const std::string &_managerId,
109 const std::string &_filterId,
110 const std::set<std::string> &_newItems)
const;
123 public:
bool UpdateFilter(
const std::string &_managerId,
124 const std::string &_filterId,
125 const std::set<std::string> &_newItems,
126 const std::function <
void(
127 const bool _result)> &_cb)
const;
133 public:
bool RemoveAllFilters()
const;
140 public:
bool RemoveFilter(
const std::string &_managerId,
141 const std::string &_filterId)
const;
153 public:
bool RemoveFilter(
const std::string &_managerId,
154 const std::string &_filterId,
155 const std::function <
void(
156 const bool _result)> &_cb)
const;
164 public:
bool Items(
const std::string &_managerId,
165 std::set<std::string> &_items)
const;
177 public:
bool Items(
const std::string &_managerId,
178 const std::function <
void(
179 const std::set<std::string> &_items,
180 const bool _result)> &_cb)
const;
188 public:
bool IsRegistered(
const std::string &_managerId,
189 const std::string &_item)
const;
197 public:
bool IsRegistered(
const std::string &_managerId,
198 const std::set<std::string> &_items)
const;
205 private:
bool IsManagerUsed(
const std::string &_managerId)
const;
209 private: std::unique_ptr<IntrospectionClientPrivate> dataPtr;
addtogroup gazebo_util
Definition: IntrospectionClient.hh:39