mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
Add stop functionality
This commit is contained in:
@@ -38,6 +38,8 @@ public:
|
||||
|
||||
void run();
|
||||
|
||||
void stop();
|
||||
|
||||
private:
|
||||
|
||||
eprosima::uxr::AgentInstance& xrce_dds_agent_instance_;
|
||||
|
||||
@@ -176,6 +176,11 @@ void Agent::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)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user