diff --git a/include/fastdds_monitor/Engine.h b/include/fastdds_monitor/Engine.h index 6eba671b..0185f0fe 100644 --- a/include/fastdds_monitor/Engine.h +++ b/include/fastdds_monitor/Engine.h @@ -529,7 +529,7 @@ class Engine : public QQmlApplicationEngine //! Retrieve the data type name associated to a specific entity std::string get_data_type_name( const backend::EntityId& entity_id); - + //! Retrieve the IDL representation associated to a specific data type std::string get_type_idl( const backend::EntityId& entity_id); diff --git a/include/fastdds_monitor/backend/SyncBackendConnection.h b/include/fastdds_monitor/backend/SyncBackendConnection.h index e8dca36f..bf7bf2bd 100644 --- a/include/fastdds_monitor/backend/SyncBackendConnection.h +++ b/include/fastdds_monitor/backend/SyncBackendConnection.h @@ -119,11 +119,11 @@ class SyncBackendConnection //! Get the alias of an entity from the Backend by calling \c get_info std::string get_alias( backend::EntityId id); - + //! Get the data type name of an entity from the Backend by calling \c get_info std::string get_data_type_name( backend::EntityId id); - + //! Get the status level of an entity from the Backend by calling \c get_status StatusLevel get_status( backend::EntityId id); diff --git a/src/Engine.cpp b/src/Engine.cpp index fb9ce2ee..27c2170d 100644 --- a/src/Engine.cpp +++ b/src/Engine.cpp @@ -280,7 +280,8 @@ void Engine::init_monitor( else { process_error( - "Error trying to initialize monitor in Discovery Server with locators: " + utils::to_string(discovery_server_locators), + "Error trying to initialize monitor in Discovery Server with locators: " + + utils::to_string(discovery_server_locators), ErrorType::INIT_DS_MONITOR); } } diff --git a/src/backend/SyncBackendConnection.cpp b/src/backend/SyncBackendConnection.cpp index 0a49f2a6..82a34144 100644 --- a/src/backend/SyncBackendConnection.cpp +++ b/src/backend/SyncBackendConnection.cpp @@ -966,12 +966,12 @@ std::string SyncBackendConnection::get_type_idl( { return StatisticsBackend::get_type_idl(id); } - catch(const std::exception& e) + catch (const std::exception& e) { qWarning() << "Fail getting the IDL type for entity id " << id.value() << ": " << e.what(); return ""; } - + } void SyncBackendConnection::change_unit_magnitude(