16 #include <boost/property_tree/ptree.hpp> 17 #include <boost/uuid/uuid.hpp> 205 boost::uuids::uuid
create();
208 void attach(
const std::string& _sid);
211 void attach(
const boost::uuids::uuid& _sid);
252 template <
class Request_t>
253 void syncSendRequest(
const typename Request_t::request_t& _requestData,
254 const std::chrono::seconds& _timeout = std::chrono::seconds(0),
255 std::ostream* _out =
nullptr);
263 template <
class Request_t>
264 void syncSendRequest(
const typename Request_t::request_t& _requestData,
265 typename Request_t::response_t& _responseData,
266 const std::chrono::seconds& _timeout = std::chrono::seconds(0),
267 std::ostream* _out =
nullptr);
275 template <
class Request_t>
276 void syncSendRequest(
const typename Request_t::request_t& _requestData,
277 typename Request_t::responseVector_t& _responseDataVector,
278 const std::chrono::seconds& _timeout = std::chrono::seconds(0),
279 std::ostream* _out =
nullptr);
287 template <CSession::EAgentState _state>
289 const std::chrono::seconds& _timeout = std::chrono::seconds(0),
290 const std::chrono::milliseconds& _requestInterval = std::chrono::milliseconds(500),
291 std::ostream* _out =
nullptr);
309 bool isDDSAvailable()
const;
311 void notify(std::istream& _stream);
314 typedef std::map<requestID_t, boost::any> requests_t;
317 void processRequest(requests_t::mapped_type _request,
318 const boost::property_tree::ptree::value_type& _child,
319 std::function<
void(
typename T::ptr_t)> _processResponseCallback);
322 std::shared_ptr<SImpl> m_impl;
324 std::mutex m_mtxRequests;
Miscellaneous functions and helpers are located here.
Definition: AgentConnectionManager.h:13