Add stop agent

This commit is contained in:
Antonio cuadros
2021-07-21 13:05:38 +02:00
parent e64e17aa25
commit 8a1b0e54da
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -62,6 +62,8 @@ public:
void run(); void run();
void stop();
void add_callbacks(); void add_callbacks();
private: private:
+5
View File
@@ -179,6 +179,11 @@ void Agent::run()
return xrce_dds_agent_instance_.run(); return xrce_dds_agent_instance_.run();
} }
void Agent::stop()
{
return xrce_dds_agent_instance_.stop();
}
std::shared_ptr<graph_manager::GraphManager> Agent::find_or_create_graph_manager(eprosima::fastdds::dds::DomainId_t domain_id) std::shared_ptr<graph_manager::GraphManager> Agent::find_or_create_graph_manager(eprosima::fastdds::dds::DomainId_t domain_id)
{ {