diff --git a/include/fastdds_monitor/Controller.h b/include/fastdds_monitor/Controller.h index a92a6c1e..a5c3b38f 100644 --- a/include/fastdds_monitor/Controller.h +++ b/include/fastdds_monitor/Controller.h @@ -280,10 +280,10 @@ public slots: QString entity_id); QString get_endpoint_topic_id( - QString endpoint_id); + QString endpoint_id); QString get_domain_id( - QString entity_id); + QString entity_id); QString get_name( QString entity_id); diff --git a/include/fastdds_monitor/Engine.h b/include/fastdds_monitor/Engine.h index 8007528e..82ff9069 100644 --- a/include/fastdds_monitor/Engine.h +++ b/include/fastdds_monitor/Engine.h @@ -529,7 +529,7 @@ class Engine : public QQmlApplicationEngine //! Retrieve the name associated to a specific entity std::string get_name( const backend::EntityId& entity_id); - + //! Retrieve the data type name associated to a specific entity std::string get_data_type_name( const backend::EntityId& entity_id); @@ -541,7 +541,7 @@ class Engine : public QQmlApplicationEngine //! Retrieve the topic id associated to a specific endpoint models::EntityId get_endpoint_topic_id( const models::EntityId& endpoint_id); - + //! Retrieve the id of the domain associated to an entity (Domain, DomainParticipant, Topìc or Endpoints) models::EntityId get_domain_id( const models::EntityId& entity_id); diff --git a/src/Engine.cpp b/src/Engine.cpp index 77190028..6434f6f8 100644 --- a/src/Engine.cpp +++ b/src/Engine.cpp @@ -1730,7 +1730,8 @@ std::string Engine::get_type_idl( models::EntityId Engine::get_endpoint_topic_id( const models::EntityId& endpoint_id) { - backend::EntityId topic_id = backend_connection_.get_endpoint_topic_id(backend::models_id_to_backend_id(endpoint_id)); + backend::EntityId topic_id = + backend_connection_.get_endpoint_topic_id(backend::models_id_to_backend_id(endpoint_id)); return backend::backend_id_to_models_id(topic_id); } @@ -1739,7 +1740,7 @@ models::EntityId Engine::get_domain_id( { backend::EntityId domain_id = backend_connection_.get_domain_id(backend::models_id_to_backend_id(entity_id)); return backend::backend_id_to_models_id(domain_id); -} +} bool Engine::data_kind_has_target( const QString& data_kind)