mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 18:05:17 +02:00
Add multi domain graph manager (#69)
* Add multi domain graph manager * Update * Fix * Fix * Update micro_ros_agent/include/agent/graph_manager/graph_manager.hpp Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com> Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com>
This commit is contained in:
co-authored by
Antonio Cuadros
parent
003cb38ef2
commit
a3fe4aa376
@@ -41,7 +41,9 @@ public:
|
||||
private:
|
||||
|
||||
eprosima::uxr::AgentInstance& xrce_dds_agent_instance_;
|
||||
std::unique_ptr<graph_manager::GraphManager> graph_manager_;
|
||||
std::map<eprosima::fastdds::dds::DomainId_t, std::shared_ptr<graph_manager::GraphManager>> graph_manager_map_;
|
||||
|
||||
std::shared_ptr<graph_manager::GraphManager> find_or_create_graph_manager(eprosima::fastdds::dds::DomainId_t domain_id);
|
||||
};
|
||||
|
||||
} // namespace agent
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
/**
|
||||
* @brief Default constructor.
|
||||
*/
|
||||
GraphManager();
|
||||
GraphManager(eprosima::fastdds::dds::DomainId_t domain_id);
|
||||
|
||||
/**
|
||||
* @brief Default destructor.
|
||||
@@ -292,6 +292,7 @@ private:
|
||||
*/
|
||||
void update_node_entities_info();
|
||||
|
||||
eprosima::fastdds::dds::DomainId_t domain_id_;
|
||||
bool graph_changed_;
|
||||
bool display_on_change_;
|
||||
const char * enclave_;
|
||||
@@ -319,4 +320,4 @@ private:
|
||||
} // namespace agent
|
||||
} // namespace uros
|
||||
|
||||
#endif // _UROS_AGENT_GRAPH_MANAGER_HPP
|
||||
#endif // _UROS_AGENT_GRAPH_MANAGER_HPP
|
||||
|
||||
Reference in New Issue
Block a user