diff --git a/examples/cpp/dds/AdvancedConfigurationExample/AdvancedConfigurationv1.h b/examples/cpp/dds/AdvancedConfigurationExample/AdvancedConfigurationv1.h index ffa004bf597..da5d202a47d 100644 --- a/examples/cpp/dds/AdvancedConfigurationExample/AdvancedConfigurationv1.h +++ b/examples/cpp/dds/AdvancedConfigurationExample/AdvancedConfigurationv1.h @@ -206,11 +206,11 @@ class AdvancedConfiguration /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -244,18 +244,17 @@ class AdvancedConfiguration /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/BasicConfigurationExample/HelloWorldv1.h b/examples/cpp/dds/BasicConfigurationExample/HelloWorldv1.h index 7f69cd31340..47c34186b89 100644 --- a/examples/cpp/dds/BasicConfigurationExample/HelloWorldv1.h +++ b/examples/cpp/dds/BasicConfigurationExample/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/Configurability/samplev1.h b/examples/cpp/dds/Configurability/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/Configurability/samplev1.h +++ b/examples/cpp/dds/Configurability/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/ContentFilteredTopicExample/HelloWorldv1.h b/examples/cpp/dds/ContentFilteredTopicExample/HelloWorldv1.h index cb810374294..1d3fa5c91b7 100644 --- a/examples/cpp/dds/ContentFilteredTopicExample/HelloWorldv1.h +++ b/examples/cpp/dds/ContentFilteredTopicExample/HelloWorldv1.h @@ -178,11 +178,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -216,18 +216,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/CustomListenerExample/Topicv1.h b/examples/cpp/dds/CustomListenerExample/Topicv1.h index 3205c064f4a..b34baa538da 100644 --- a/examples/cpp/dds/CustomListenerExample/Topicv1.h +++ b/examples/cpp/dds/CustomListenerExample/Topicv1.h @@ -179,11 +179,11 @@ class Topic /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class Topic /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/CustomPayloadPoolExample/CustomPayloadPoolDatav1.h b/examples/cpp/dds/CustomPayloadPoolExample/CustomPayloadPoolDatav1.h index 80860b72f3e..ed77447df15 100644 --- a/examples/cpp/dds/CustomPayloadPoolExample/CustomPayloadPoolDatav1.h +++ b/examples/cpp/dds/CustomPayloadPoolExample/CustomPayloadPoolDatav1.h @@ -179,11 +179,11 @@ class CustomPayloadPoolData /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class CustomPayloadPoolData /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/DeadlineQoSExample/deadlinepayloadv1.h b/examples/cpp/dds/DeadlineQoSExample/deadlinepayloadv1.h index b60dd9e5ee2..74862199c5b 100644 --- a/examples/cpp/dds/DeadlineQoSExample/deadlinepayloadv1.h +++ b/examples/cpp/dds/DeadlineQoSExample/deadlinepayloadv1.h @@ -179,11 +179,11 @@ class HelloMsg /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloMsg /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_deadlinekey; diff --git a/examples/cpp/dds/DisablePositiveACKs/Topicv1.h b/examples/cpp/dds/DisablePositiveACKs/Topicv1.h index 3205c064f4a..b34baa538da 100644 --- a/examples/cpp/dds/DisablePositiveACKs/Topicv1.h +++ b/examples/cpp/dds/DisablePositiveACKs/Topicv1.h @@ -179,11 +179,11 @@ class Topic /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class Topic /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/DiscoveryServerExample/types/HelloWorldv1.h b/examples/cpp/dds/DiscoveryServerExample/types/HelloWorldv1.h index cb810374294..1d3fa5c91b7 100644 --- a/examples/cpp/dds/DiscoveryServerExample/types/HelloWorldv1.h +++ b/examples/cpp/dds/DiscoveryServerExample/types/HelloWorldv1.h @@ -178,11 +178,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -216,18 +216,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/Filtering/FilteringExamplev1.h b/examples/cpp/dds/Filtering/FilteringExamplev1.h index cf2a989acaf..d93d0a171cb 100644 --- a/examples/cpp/dds/Filtering/FilteringExamplev1.h +++ b/examples/cpp/dds/Filtering/FilteringExamplev1.h @@ -151,11 +151,11 @@ class FilteringExample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -189,18 +189,17 @@ class FilteringExample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int32_t m_sampleNumber; diff --git a/examples/cpp/dds/FlowControlExample/FlowControlExamplev1.h b/examples/cpp/dds/FlowControlExample/FlowControlExamplev1.h index 38adec9776d..155a7457241 100644 --- a/examples/cpp/dds/FlowControlExample/FlowControlExamplev1.h +++ b/examples/cpp/dds/FlowControlExample/FlowControlExamplev1.h @@ -178,11 +178,11 @@ class FlowControlExample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -216,18 +216,17 @@ class FlowControlExample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_message; diff --git a/examples/cpp/dds/HelloWorldExample/HelloWorldv1.h b/examples/cpp/dds/HelloWorldExample/HelloWorldv1.h index 28e0d60a183..c71c7316ade 100644 --- a/examples/cpp/dds/HelloWorldExample/HelloWorldv1.h +++ b/examples/cpp/dds/HelloWorldExample/HelloWorldv1.h @@ -178,11 +178,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -216,18 +216,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldv1.h b/examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldv1.h index 26bfbef05cf..4ae5572629e 100644 --- a/examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldv1.h +++ b/examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorld.h b/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorld.h index 8bedd36a455..83eb7cf1b69 100644 --- a/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorld.h +++ b/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorld.h @@ -186,32 +186,32 @@ class HelloWorld * @param _data New value to be copied in member data */ eProsima_user_DllExport void data( - const std::array& _data); + const std::array& _data); /*! * @brief This function moves the value in member data * @param _data New value to be moved in member data */ eProsima_user_DllExport void data( - std::array&& _data); + std::array&& _data); /*! * @brief This function returns a constant reference to member data * @return Constant reference to member data */ - eProsima_user_DllExport const std::array& data() const; + eProsima_user_DllExport const std::array& data() const; /*! * @brief This function returns a reference to member data * @return Reference to member data */ - eProsima_user_DllExport std::array& data(); + eProsima_user_DllExport std::array& data(); private: uint32_t m_index{0}; std::string m_message; - std::array m_data; + std::array m_data; }; diff --git a/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorldv1.h b/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorldv1.h index 24cf6386519..bb659c13bfb 100644 --- a/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorldv1.h +++ b/examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorldv1.h @@ -183,34 +183,34 @@ class HelloWorld * @param _data New value to be copied in member data */ eProsima_user_DllExport void data( - const std::array& _data); + const std::array& _data); /*! * @brief This function moves the value in member data * @param _data New value to be moved in member data */ eProsima_user_DllExport void data( - std::array&& _data); + std::array&& _data); /*! * @brief This function returns a constant reference to member data * @return Constant reference to member data */ - eProsima_user_DllExport const std::array& data() const; + eProsima_user_DllExport const std::array& data() const; /*! * @brief This function returns a reference to member data * @return Reference to member data */ - eProsima_user_DllExport std::array& data(); + eProsima_user_DllExport std::array& data(); /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -244,23 +244,22 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; std::string m_message; - std::array m_data; + std::array m_data; }; diff --git a/examples/cpp/dds/HelloWorldExampleTCP/HelloWorldv1.h b/examples/cpp/dds/HelloWorldExampleTCP/HelloWorldv1.h index dd120b6e2cc..327516a2151 100644 --- a/examples/cpp/dds/HelloWorldExampleTCP/HelloWorldv1.h +++ b/examples/cpp/dds/HelloWorldExampleTCP/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/HistoryKind/samplev1.h b/examples/cpp/dds/HistoryKind/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/HistoryKind/samplev1.h +++ b/examples/cpp/dds/HistoryKind/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/Keys/samplev1.h b/examples/cpp/dds/Keys/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/Keys/samplev1.h +++ b/examples/cpp/dds/Keys/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/LateJoiners/samplev1.h b/examples/cpp/dds/LateJoiners/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/LateJoiners/samplev1.h +++ b/examples/cpp/dds/LateJoiners/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/LifespanQoSExample/Lifespanv1.h b/examples/cpp/dds/LifespanQoSExample/Lifespanv1.h index 67669c2c516..1e31b13773b 100644 --- a/examples/cpp/dds/LifespanQoSExample/Lifespanv1.h +++ b/examples/cpp/dds/LifespanQoSExample/Lifespanv1.h @@ -179,11 +179,11 @@ class Lifespan /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class Lifespan /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/LivelinessQoS/Topicv1.h b/examples/cpp/dds/LivelinessQoS/Topicv1.h index 3205c064f4a..b34baa538da 100644 --- a/examples/cpp/dds/LivelinessQoS/Topicv1.h +++ b/examples/cpp/dds/LivelinessQoS/Topicv1.h @@ -179,11 +179,11 @@ class Topic /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class Topic /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/OwnershipStrengthQoSExample/OwnershipStrengthv1.h b/examples/cpp/dds/OwnershipStrengthQoSExample/OwnershipStrengthv1.h index a6c943c03c9..e0f8c015315 100644 --- a/examples/cpp/dds/OwnershipStrengthQoSExample/OwnershipStrengthv1.h +++ b/examples/cpp/dds/OwnershipStrengthQoSExample/OwnershipStrengthv1.h @@ -199,11 +199,11 @@ class ExampleMessage /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -237,18 +237,17 @@ class ExampleMessage /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/RequestReplyExample/Calculatorv1.h b/examples/cpp/dds/RequestReplyExample/Calculatorv1.h index bbf60e3f08e..f6d2f272c88 100644 --- a/examples/cpp/dds/RequestReplyExample/Calculatorv1.h +++ b/examples/cpp/dds/RequestReplyExample/Calculatorv1.h @@ -203,11 +203,11 @@ class RequestType /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -241,18 +241,17 @@ class RequestType /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: OperationType m_operation; @@ -344,11 +343,11 @@ class ReplyType /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -382,18 +381,17 @@ class ReplyType /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int64_t m_z; diff --git a/examples/cpp/dds/SampleConfig_Controller/samplev1.h b/examples/cpp/dds/SampleConfig_Controller/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/SampleConfig_Controller/samplev1.h +++ b/examples/cpp/dds/SampleConfig_Controller/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/SampleConfig_Events/samplev1.h b/examples/cpp/dds/SampleConfig_Events/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/SampleConfig_Events/samplev1.h +++ b/examples/cpp/dds/SampleConfig_Events/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/SampleConfig_Multimedia/samplev1.h b/examples/cpp/dds/SampleConfig_Multimedia/samplev1.h index 363e154b75c..8057786faeb 100644 --- a/examples/cpp/dds/SampleConfig_Multimedia/samplev1.h +++ b/examples/cpp/dds/SampleConfig_Multimedia/samplev1.h @@ -172,11 +172,11 @@ class sample /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -210,18 +210,17 @@ class sample /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_index; diff --git a/examples/cpp/dds/SecureHelloWorldExample/HelloWorldv1.h b/examples/cpp/dds/SecureHelloWorldExample/HelloWorldv1.h index dd120b6e2cc..327516a2151 100644 --- a/examples/cpp/dds/SecureHelloWorldExample/HelloWorldv1.h +++ b/examples/cpp/dds/SecureHelloWorldExample/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/StaticHelloWorldExample/HelloWorldv1.h b/examples/cpp/dds/StaticHelloWorldExample/HelloWorldv1.h index dd120b6e2cc..327516a2151 100644 --- a/examples/cpp/dds/StaticHelloWorldExample/HelloWorldv1.h +++ b/examples/cpp/dds/StaticHelloWorldExample/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/WriterLoansExample/LoanableHelloWorldv1.h b/examples/cpp/dds/WriterLoansExample/LoanableHelloWorldv1.h index 741414420d8..951cd0e0f09 100644 --- a/examples/cpp/dds/WriterLoansExample/LoanableHelloWorldv1.h +++ b/examples/cpp/dds/WriterLoansExample/LoanableHelloWorldv1.h @@ -179,11 +179,11 @@ class LoanableHelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class LoanableHelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/examples/cpp/dds/ZeroCopyExample/LoanableHelloWorldv1.h b/examples/cpp/dds/ZeroCopyExample/LoanableHelloWorldv1.h index 741414420d8..951cd0e0f09 100644 --- a/examples/cpp/dds/ZeroCopyExample/LoanableHelloWorldv1.h +++ b/examples/cpp/dds/ZeroCopyExample/LoanableHelloWorldv1.h @@ -179,11 +179,11 @@ class LoanableHelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class LoanableHelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/include/fastrtps/attributes/TopicAttributes.h b/include/fastrtps/attributes/TopicAttributes.h index 78cc3b88b41..50777c4f8b1 100644 --- a/include/fastrtps/attributes/TopicAttributes.h +++ b/include/fastrtps/attributes/TopicAttributes.h @@ -26,7 +26,7 @@ namespace eprosima { -namespace fastrtps{ +namespace fastrtps { /** * Class TopicAttributes, used by the user to define the attributes of the topic associated with a Publisher or Subscriber. @@ -52,75 +52,81 @@ class TopicAttributes TopicAttributes( const char* name, const char* dataType, - rtps::TopicKind_t tKind= rtps::NO_KEY) - { - topicKind = tKind; - topicName = name; - topicDataType = dataType; - auto_fill_type_object = true; - auto_fill_type_information = true; - } - - virtual ~TopicAttributes() {} - - bool operator==(const TopicAttributes& b) const - { - return (this->topicKind == b.topicKind) && - (this->topicName == b.topicName) && - (this->topicDataType == b.topicDataType) && - (this->historyQos == b.historyQos); - } - - /** - * Get the topic data type - * @return Topic data type - */ - const fastcdr::string_255& getTopicDataType() const { - return topicDataType; - } - - /** - * Get the topic kind - * @return Topic kind - */ - rtps::TopicKind_t getTopicKind() const { - return topicKind; - } - - /** - * Get the topic name - * @return Topic name - */ - const fastcdr::string_255& getTopicName() const { - return topicName; - } - - //! TopicKind_t, default value NO_KEY. - rtps::TopicKind_t topicKind; - //! Topic Name. - fastcdr::string_255 topicName; - //!Topic Data Type. - fastcdr::string_255 topicDataType; - //!QOS Regarding the History to be saved. - HistoryQosPolicy historyQos; - //!QOS Regarding the resources to allocate. - ResourceLimitsQosPolicy resourceLimitsQos; - //!Type Identifier XTYPES 1.1 - TypeIdV1 type_id; - //!Type Object XTYPES 1.1 - TypeObjectV1 type; - //!XTYPES 1.2 - xtypes::TypeInformation type_information; - //!Tries to complete type identifier and type object (TypeObjectV1) - bool auto_fill_type_object; - //!Tries to complete type information (TypeObjectV2) - bool auto_fill_type_information; - - /** - * Method to check whether the defined QOS are correct. - * @return True if they are valid. - */ - bool checkQos() const; + rtps::TopicKind_t tKind = rtps::NO_KEY) + { + topicKind = tKind; + topicName = name; + topicDataType = dataType; + auto_fill_type_object = true; + auto_fill_type_information = true; + } + + virtual ~TopicAttributes() + { + } + + bool operator ==( + const TopicAttributes& b) const + { + return (this->topicKind == b.topicKind) && + (this->topicName == b.topicName) && + (this->topicDataType == b.topicDataType) && + (this->historyQos == b.historyQos); + } + + /** + * Get the topic data type + * @return Topic data type + */ + const fastcdr::string_255& getTopicDataType() const + { + return topicDataType; + } + + /** + * Get the topic kind + * @return Topic kind + */ + rtps::TopicKind_t getTopicKind() const + { + return topicKind; + } + + /** + * Get the topic name + * @return Topic name + */ + const fastcdr::string_255& getTopicName() const + { + return topicName; + } + + //! TopicKind_t, default value NO_KEY. + rtps::TopicKind_t topicKind; + //! Topic Name. + fastcdr::string_255 topicName; + //!Topic Data Type. + fastcdr::string_255 topicDataType; + //!QOS Regarding the History to be saved. + HistoryQosPolicy historyQos; + //!QOS Regarding the resources to allocate. + ResourceLimitsQosPolicy resourceLimitsQos; + //!Type Identifier XTYPES 1.1 + TypeIdV1 type_id; + //!Type Object XTYPES 1.1 + TypeObjectV1 type; + //!XTYPES 1.2 + xtypes::TypeInformation type_information; + //!Tries to complete type identifier and type object (TypeObjectV1) + bool auto_fill_type_object; + //!Tries to complete type information (TypeObjectV2) + bool auto_fill_type_information; + + /** + * Method to check whether the defined QOS are correct. + * @return True if they are valid. + */ + bool checkQos() const; }; #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC @@ -131,9 +137,11 @@ class TopicAttributes * @param t2 Second instance of TopicAttributes to compare * @return True if the instances are not equal. False if the instances are equal. */ -bool inline operator!=(const TopicAttributes& t1, const TopicAttributes& t2) +bool inline operator !=( + const TopicAttributes& t1, + const TopicAttributes& t2) { - if(t1.topicKind != t2.topicKind + if (t1.topicKind != t2.topicKind || t1.topicName != t2.topicName || t1.topicDataType != t2.topicDataType || t1.historyQos.kind != t2.historyQos.kind @@ -143,7 +151,8 @@ bool inline operator!=(const TopicAttributes& t1, const TopicAttributes& t2) } return false; } -#endif + +#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC } /* namespace fastrtps */ } /* namespace eprosima */ diff --git a/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.cpp b/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.cpp index bfb15368d3f..5377b15f988 100644 --- a/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.cpp +++ b/src/cpp/fastdds/topic/DDSSQLFilter/DDSFilterValue.cpp @@ -34,7 +34,7 @@ int compare_values( T rvalue) { return lvalue < rvalue ? -1 : - lvalue > rvalue ? 1 : 0; + lvalue > rvalue ? 1 : 0; } /** diff --git a/src/cpp/statistics/types/monitorservice_typesv1.h b/src/cpp/statistics/types/monitorservice_typesv1.h index 61cc2c52262..f8a0c6decbb 100644 --- a/src/cpp/statistics/types/monitorservice_typesv1.h +++ b/src/cpp/statistics/types/monitorservice_typesv1.h @@ -71,1689 +71,1682 @@ class Cdr; namespace eprosima { - namespace fastdds { - namespace statistics { - /*! - * @brief This class represents the enumeration ConnectionMode defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - enum ConnectionMode : uint32_t - { - DATA_SHARING, - INTRAPROCESS, - TRANSPORT - }; - - - - - /*! - * @brief This class represents the structure Connection defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class Connection - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Connection(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Connection(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. - */ - eProsima_user_DllExport Connection( - const Connection& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. - */ - eProsima_user_DllExport Connection( - Connection&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. - */ - eProsima_user_DllExport Connection& operator =( - const Connection& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. - */ - eProsima_user_DllExport Connection& operator =( - Connection&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Connection object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Connection& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Connection object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Connection& x) const; - - /*! - * @brief This function sets a value in member mode - * @param _mode New value for member mode - */ - eProsima_user_DllExport void mode( - eprosima::fastdds::statistics::ConnectionMode _mode); - - /*! - * @brief This function returns the value of member mode - * @return Value of member mode - */ - eProsima_user_DllExport eprosima::fastdds::statistics::ConnectionMode mode() const; - - /*! - * @brief This function returns a reference to member mode - * @return Reference to member mode - */ - eProsima_user_DllExport eprosima::fastdds::statistics::ConnectionMode& mode(); - - - /*! - * @brief This function copies the value in member guid - * @param _guid New value to be copied in member guid - */ - eProsima_user_DllExport void guid( - const eprosima::fastdds::statistics::detail::GUID_s& _guid); - - /*! - * @brief This function moves the value in member guid - * @param _guid New value to be moved in member guid - */ - eProsima_user_DllExport void guid( - eprosima::fastdds::statistics::detail::GUID_s&& _guid); - - /*! - * @brief This function returns a constant reference to member guid - * @return Constant reference to member guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; - - /*! - * @brief This function returns a reference to member guid - * @return Reference to member guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); - - - /*! - * @brief This function copies the value in member announced_locators - * @param _announced_locators New value to be copied in member announced_locators - */ - eProsima_user_DllExport void announced_locators( - const std::vector& _announced_locators); - - /*! - * @brief This function moves the value in member announced_locators - * @param _announced_locators New value to be moved in member announced_locators - */ - eProsima_user_DllExport void announced_locators( - std::vector&& _announced_locators); - - /*! - * @brief This function returns a constant reference to member announced_locators - * @return Constant reference to member announced_locators - */ - eProsima_user_DllExport const std::vector& announced_locators() const; - - /*! - * @brief This function returns a reference to member announced_locators - * @return Reference to member announced_locators - */ - eProsima_user_DllExport std::vector& announced_locators(); - - - /*! - * @brief This function copies the value in member used_locators - * @param _used_locators New value to be copied in member used_locators - */ - eProsima_user_DllExport void used_locators( - const std::vector& _used_locators); - - /*! - * @brief This function moves the value in member used_locators - * @param _used_locators New value to be moved in member used_locators - */ - eProsima_user_DllExport void used_locators( - std::vector&& _used_locators); - - /*! - * @brief This function returns a constant reference to member used_locators - * @return Constant reference to member used_locators - */ - eProsima_user_DllExport const std::vector& used_locators() const; - - /*! - * @brief This function returns a reference to member used_locators - * @return Reference to member used_locators - */ - eProsima_user_DllExport std::vector& used_locators(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Connection& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::ConnectionMode m_mode; - eprosima::fastdds::statistics::detail::GUID_s m_guid; - std::vector m_announced_locators; - std::vector m_used_locators; - - }; - - - - /*! - * @brief This class represents the structure QosPolicyCount_s defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class QosPolicyCount_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport QosPolicyCount_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~QosPolicyCount_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. - */ - eProsima_user_DllExport QosPolicyCount_s( - const QosPolicyCount_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. - */ - eProsima_user_DllExport QosPolicyCount_s( - QosPolicyCount_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. - */ - eProsima_user_DllExport QosPolicyCount_s& operator =( - const QosPolicyCount_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. - */ - eProsima_user_DllExport QosPolicyCount_s& operator =( - QosPolicyCount_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::QosPolicyCount_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const QosPolicyCount_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::QosPolicyCount_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const QosPolicyCount_s& x) const; - - /*! - * @brief This function sets a value in member policy_id - * @param _policy_id New value for member policy_id - */ - eProsima_user_DllExport void policy_id( - uint32_t _policy_id); - - /*! - * @brief This function returns the value of member policy_id - * @return Value of member policy_id - */ - eProsima_user_DllExport uint32_t policy_id() const; - - /*! - * @brief This function returns a reference to member policy_id - * @return Reference to member policy_id - */ - eProsima_user_DllExport uint32_t& policy_id(); - - - /*! - * @brief This function sets a value in member count - * @param _count New value for member count - */ - eProsima_user_DllExport void count( - uint32_t _count); - - /*! - * @brief This function returns the value of member count - * @return Value of member count - */ - eProsima_user_DllExport uint32_t count() const; - - /*! - * @brief This function returns a reference to member count - * @return Reference to member count - */ - eProsima_user_DllExport uint32_t& count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::QosPolicyCount_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - uint32_t m_policy_id; - uint32_t m_count; - - }; - - - - /*! - * @brief This class represents the structure BaseStatus_s defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class BaseStatus_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport BaseStatus_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~BaseStatus_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. - */ - eProsima_user_DllExport BaseStatus_s( - const BaseStatus_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. - */ - eProsima_user_DllExport BaseStatus_s( - BaseStatus_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. - */ - eProsima_user_DllExport BaseStatus_s& operator =( - const BaseStatus_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. - */ - eProsima_user_DllExport BaseStatus_s& operator =( - BaseStatus_s&& x) noexcept; +namespace fastdds { +namespace statistics { +/*! + * @brief This class represents the enumeration ConnectionMode defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +enum ConnectionMode : uint32_t +{ + DATA_SHARING, + INTRAPROCESS, + TRANSPORT +}; + + + + +/*! + * @brief This class represents the structure Connection defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class Connection +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Connection(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Connection(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. + */ + eProsima_user_DllExport Connection( + const Connection& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. + */ + eProsima_user_DllExport Connection( + Connection&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. + */ + eProsima_user_DllExport Connection& operator =( + const Connection& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Connection that will be copied. + */ + eProsima_user_DllExport Connection& operator =( + Connection&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Connection object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Connection& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Connection object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Connection& x) const; + + /*! + * @brief This function sets a value in member mode + * @param _mode New value for member mode + */ + eProsima_user_DllExport void mode( + eprosima::fastdds::statistics::ConnectionMode _mode); + + /*! + * @brief This function returns the value of member mode + * @return Value of member mode + */ + eProsima_user_DllExport eprosima::fastdds::statistics::ConnectionMode mode() const; + + /*! + * @brief This function returns a reference to member mode + * @return Reference to member mode + */ + eProsima_user_DllExport eprosima::fastdds::statistics::ConnectionMode& mode(); + + + /*! + * @brief This function copies the value in member guid + * @param _guid New value to be copied in member guid + */ + eProsima_user_DllExport void guid( + const eprosima::fastdds::statistics::detail::GUID_s& _guid); + + /*! + * @brief This function moves the value in member guid + * @param _guid New value to be moved in member guid + */ + eProsima_user_DllExport void guid( + eprosima::fastdds::statistics::detail::GUID_s&& _guid); + + /*! + * @brief This function returns a constant reference to member guid + * @return Constant reference to member guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; + + /*! + * @brief This function returns a reference to member guid + * @return Reference to member guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); + + + /*! + * @brief This function copies the value in member announced_locators + * @param _announced_locators New value to be copied in member announced_locators + */ + eProsima_user_DllExport void announced_locators( + const std::vector& _announced_locators); + + /*! + * @brief This function moves the value in member announced_locators + * @param _announced_locators New value to be moved in member announced_locators + */ + eProsima_user_DllExport void announced_locators( + std::vector&& _announced_locators); + + /*! + * @brief This function returns a constant reference to member announced_locators + * @return Constant reference to member announced_locators + */ + eProsima_user_DllExport const std::vector& announced_locators() + const; + + /*! + * @brief This function returns a reference to member announced_locators + * @return Reference to member announced_locators + */ + eProsima_user_DllExport std::vector& announced_locators(); + + + /*! + * @brief This function copies the value in member used_locators + * @param _used_locators New value to be copied in member used_locators + */ + eProsima_user_DllExport void used_locators( + const std::vector& _used_locators); + + /*! + * @brief This function moves the value in member used_locators + * @param _used_locators New value to be moved in member used_locators + */ + eProsima_user_DllExport void used_locators( + std::vector&& _used_locators); + + /*! + * @brief This function returns a constant reference to member used_locators + * @return Constant reference to member used_locators + */ + eProsima_user_DllExport const std::vector& used_locators() const; + + /*! + * @brief This function returns a reference to member used_locators + * @return Reference to member used_locators + */ + eProsima_user_DllExport std::vector& used_locators(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Connection& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::ConnectionMode m_mode; + eprosima::fastdds::statistics::detail::GUID_s m_guid; + std::vector m_announced_locators; + std::vector m_used_locators; + +}; + + + +/*! + * @brief This class represents the structure QosPolicyCount_s defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class QosPolicyCount_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport QosPolicyCount_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~QosPolicyCount_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. + */ + eProsima_user_DllExport QosPolicyCount_s( + const QosPolicyCount_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. + */ + eProsima_user_DllExport QosPolicyCount_s( + QosPolicyCount_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. + */ + eProsima_user_DllExport QosPolicyCount_s& operator =( + const QosPolicyCount_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::QosPolicyCount_s that will be copied. + */ + eProsima_user_DllExport QosPolicyCount_s& operator =( + QosPolicyCount_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::QosPolicyCount_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const QosPolicyCount_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::QosPolicyCount_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const QosPolicyCount_s& x) const; + + /*! + * @brief This function sets a value in member policy_id + * @param _policy_id New value for member policy_id + */ + eProsima_user_DllExport void policy_id( + uint32_t _policy_id); + + /*! + * @brief This function returns the value of member policy_id + * @return Value of member policy_id + */ + eProsima_user_DllExport uint32_t policy_id() const; + + /*! + * @brief This function returns a reference to member policy_id + * @return Reference to member policy_id + */ + eProsima_user_DllExport uint32_t& policy_id(); + + + /*! + * @brief This function sets a value in member count + * @param _count New value for member count + */ + eProsima_user_DllExport void count( + uint32_t _count); + + /*! + * @brief This function returns the value of member count + * @return Value of member count + */ + eProsima_user_DllExport uint32_t count() const; + + /*! + * @brief This function returns a reference to member count + * @return Reference to member count + */ + eProsima_user_DllExport uint32_t& count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::QosPolicyCount_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + uint32_t m_policy_id; + uint32_t m_count; + +}; + - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::BaseStatus_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const BaseStatus_s& x) const; - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::BaseStatus_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const BaseStatus_s& x) const; +/*! + * @brief This class represents the structure BaseStatus_s defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class BaseStatus_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport BaseStatus_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~BaseStatus_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. + */ + eProsima_user_DllExport BaseStatus_s( + const BaseStatus_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. + */ + eProsima_user_DllExport BaseStatus_s( + BaseStatus_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. + */ + eProsima_user_DllExport BaseStatus_s& operator =( + const BaseStatus_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::BaseStatus_s that will be copied. + */ + eProsima_user_DllExport BaseStatus_s& operator =( + BaseStatus_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::BaseStatus_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const BaseStatus_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::BaseStatus_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const BaseStatus_s& x) const; + + /*! + * @brief This function sets a value in member total_count + * @param _total_count New value for member total_count + */ + eProsima_user_DllExport void total_count( + uint32_t _total_count); + + /*! + * @brief This function returns the value of member total_count + * @return Value of member total_count + */ + eProsima_user_DllExport uint32_t total_count() const; + + /*! + * @brief This function returns a reference to member total_count + * @return Reference to member total_count + */ + eProsima_user_DllExport uint32_t& total_count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::BaseStatus_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + uint32_t m_total_count; + +}; + + + +typedef std::vector QosPolicyCountSeq_s; + + + +/*! + * @brief This class represents the structure IncompatibleQoSStatus_s defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class IncompatibleQoSStatus_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport IncompatibleQoSStatus_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~IncompatibleQoSStatus_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. + */ + eProsima_user_DllExport IncompatibleQoSStatus_s( + const IncompatibleQoSStatus_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. + */ + eProsima_user_DllExport IncompatibleQoSStatus_s( + IncompatibleQoSStatus_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. + */ + eProsima_user_DllExport IncompatibleQoSStatus_s& operator =( + const IncompatibleQoSStatus_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. + */ + eProsima_user_DllExport IncompatibleQoSStatus_s& operator =( + IncompatibleQoSStatus_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::IncompatibleQoSStatus_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const IncompatibleQoSStatus_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::IncompatibleQoSStatus_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const IncompatibleQoSStatus_s& x) const; + + /*! + * @brief This function sets a value in member total_count + * @param _total_count New value for member total_count + */ + eProsima_user_DllExport void total_count( + uint32_t _total_count); + + /*! + * @brief This function returns the value of member total_count + * @return Value of member total_count + */ + eProsima_user_DllExport uint32_t total_count() const; + + /*! + * @brief This function returns a reference to member total_count + * @return Reference to member total_count + */ + eProsima_user_DllExport uint32_t& total_count(); + + + /*! + * @brief This function sets a value in member last_policy_id + * @param _last_policy_id New value for member last_policy_id + */ + eProsima_user_DllExport void last_policy_id( + uint32_t _last_policy_id); + + /*! + * @brief This function returns the value of member last_policy_id + * @return Value of member last_policy_id + */ + eProsima_user_DllExport uint32_t last_policy_id() const; + + /*! + * @brief This function returns a reference to member last_policy_id + * @return Reference to member last_policy_id + */ + eProsima_user_DllExport uint32_t& last_policy_id(); + + + /*! + * @brief This function copies the value in member policies + * @param _policies New value to be copied in member policies + */ + eProsima_user_DllExport void policies( + const eprosima::fastdds::statistics::QosPolicyCountSeq_s& _policies); + + /*! + * @brief This function moves the value in member policies + * @param _policies New value to be moved in member policies + */ + eProsima_user_DllExport void policies( + eprosima::fastdds::statistics::QosPolicyCountSeq_s&& _policies); + + /*! + * @brief This function returns a constant reference to member policies + * @return Constant reference to member policies + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::QosPolicyCountSeq_s& policies() const; + + /*! + * @brief This function returns a reference to member policies + * @return Reference to member policies + */ + eProsima_user_DllExport eprosima::fastdds::statistics::QosPolicyCountSeq_s& policies(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: - /*! - * @brief This function sets a value in member total_count - * @param _total_count New value for member total_count - */ - eProsima_user_DllExport void total_count( - uint32_t _total_count); - - /*! - * @brief This function returns the value of member total_count - * @return Value of member total_count - */ - eProsima_user_DllExport uint32_t total_count() const; - - /*! - * @brief This function returns a reference to member total_count - * @return Reference to member total_count - */ - eProsima_user_DllExport uint32_t& total_count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::BaseStatus_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - uint32_t m_total_count; - - }; - - - - typedef std::vector QosPolicyCountSeq_s; - - - - /*! - * @brief This class represents the structure IncompatibleQoSStatus_s defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class IncompatibleQoSStatus_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport IncompatibleQoSStatus_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~IncompatibleQoSStatus_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. - */ - eProsima_user_DllExport IncompatibleQoSStatus_s( - const IncompatibleQoSStatus_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. - */ - eProsima_user_DllExport IncompatibleQoSStatus_s( - IncompatibleQoSStatus_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. - */ - eProsima_user_DllExport IncompatibleQoSStatus_s& operator =( - const IncompatibleQoSStatus_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::IncompatibleQoSStatus_s that will be copied. - */ - eProsima_user_DllExport IncompatibleQoSStatus_s& operator =( - IncompatibleQoSStatus_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::IncompatibleQoSStatus_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const IncompatibleQoSStatus_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::IncompatibleQoSStatus_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const IncompatibleQoSStatus_s& x) const; - - /*! - * @brief This function sets a value in member total_count - * @param _total_count New value for member total_count - */ - eProsima_user_DllExport void total_count( - uint32_t _total_count); - - /*! - * @brief This function returns the value of member total_count - * @return Value of member total_count - */ - eProsima_user_DllExport uint32_t total_count() const; - - /*! - * @brief This function returns a reference to member total_count - * @return Reference to member total_count - */ - eProsima_user_DllExport uint32_t& total_count(); - - - /*! - * @brief This function sets a value in member last_policy_id - * @param _last_policy_id New value for member last_policy_id - */ - eProsima_user_DllExport void last_policy_id( - uint32_t _last_policy_id); - - /*! - * @brief This function returns the value of member last_policy_id - * @return Value of member last_policy_id - */ - eProsima_user_DllExport uint32_t last_policy_id() const; - - /*! - * @brief This function returns a reference to member last_policy_id - * @return Reference to member last_policy_id - */ - eProsima_user_DllExport uint32_t& last_policy_id(); - - - /*! - * @brief This function copies the value in member policies - * @param _policies New value to be copied in member policies - */ - eProsima_user_DllExport void policies( - const eprosima::fastdds::statistics::QosPolicyCountSeq_s& _policies); - - /*! - * @brief This function moves the value in member policies - * @param _policies New value to be moved in member policies - */ - eProsima_user_DllExport void policies( - eprosima::fastdds::statistics::QosPolicyCountSeq_s&& _policies); - - /*! - * @brief This function returns a constant reference to member policies - * @return Constant reference to member policies - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::QosPolicyCountSeq_s& policies() const; - - /*! - * @brief This function returns a reference to member policies - * @return Reference to member policies - */ - eProsima_user_DllExport eprosima::fastdds::statistics::QosPolicyCountSeq_s& policies(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - uint32_t m_total_count; - uint32_t m_last_policy_id; - eprosima::fastdds::statistics::QosPolicyCountSeq_s m_policies; - - }; - - - - /*! - * @brief This class represents the structure LivelinessChangedStatus_s defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class LivelinessChangedStatus_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport LivelinessChangedStatus_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~LivelinessChangedStatus_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. - */ - eProsima_user_DllExport LivelinessChangedStatus_s( - const LivelinessChangedStatus_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. - */ - eProsima_user_DllExport LivelinessChangedStatus_s( - LivelinessChangedStatus_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. - */ - eProsima_user_DllExport LivelinessChangedStatus_s& operator =( - const LivelinessChangedStatus_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. - */ - eProsima_user_DllExport LivelinessChangedStatus_s& operator =( - LivelinessChangedStatus_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::LivelinessChangedStatus_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const LivelinessChangedStatus_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::LivelinessChangedStatus_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const LivelinessChangedStatus_s& x) const; - - /*! - * @brief This function sets a value in member alive_count - * @param _alive_count New value for member alive_count - */ - eProsima_user_DllExport void alive_count( - uint32_t _alive_count); - - /*! - * @brief This function returns the value of member alive_count - * @return Value of member alive_count - */ - eProsima_user_DllExport uint32_t alive_count() const; - - /*! - * @brief This function returns a reference to member alive_count - * @return Reference to member alive_count - */ - eProsima_user_DllExport uint32_t& alive_count(); - - - /*! - * @brief This function sets a value in member not_alive_count - * @param _not_alive_count New value for member not_alive_count - */ - eProsima_user_DllExport void not_alive_count( - uint32_t _not_alive_count); - - /*! - * @brief This function returns the value of member not_alive_count - * @return Value of member not_alive_count - */ - eProsima_user_DllExport uint32_t not_alive_count() const; - - /*! - * @brief This function returns a reference to member not_alive_count - * @return Reference to member not_alive_count - */ - eProsima_user_DllExport uint32_t& not_alive_count(); - - - /*! - * @brief This function copies the value in member last_publication_handle - * @param _last_publication_handle New value to be copied in member last_publication_handle - */ - eProsima_user_DllExport void last_publication_handle( - const std::array& _last_publication_handle); - - /*! - * @brief This function moves the value in member last_publication_handle - * @param _last_publication_handle New value to be moved in member last_publication_handle - */ - eProsima_user_DllExport void last_publication_handle( - std::array&& _last_publication_handle); - - /*! - * @brief This function returns a constant reference to member last_publication_handle - * @return Constant reference to member last_publication_handle - */ - eProsima_user_DllExport const std::array& last_publication_handle() const; - - /*! - * @brief This function returns a reference to member last_publication_handle - * @return Reference to member last_publication_handle - */ - eProsima_user_DllExport std::array& last_publication_handle(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::LivelinessChangedStatus_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - uint32_t m_alive_count; - uint32_t m_not_alive_count; - std::array m_last_publication_handle; - - }; - - - - /*! - * @brief This class represents the structure DeadlineMissedStatus_s defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class DeadlineMissedStatus_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport DeadlineMissedStatus_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~DeadlineMissedStatus_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. - */ - eProsima_user_DllExport DeadlineMissedStatus_s( - const DeadlineMissedStatus_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. - */ - eProsima_user_DllExport DeadlineMissedStatus_s( - DeadlineMissedStatus_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. - */ - eProsima_user_DllExport DeadlineMissedStatus_s& operator =( - const DeadlineMissedStatus_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. - */ - eProsima_user_DllExport DeadlineMissedStatus_s& operator =( - DeadlineMissedStatus_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DeadlineMissedStatus_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const DeadlineMissedStatus_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DeadlineMissedStatus_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const DeadlineMissedStatus_s& x) const; - - /*! - * @brief This function sets a value in member total_count - * @param _total_count New value for member total_count - */ - eProsima_user_DllExport void total_count( - uint32_t _total_count); - - /*! - * @brief This function returns the value of member total_count - * @return Value of member total_count - */ - eProsima_user_DllExport uint32_t total_count() const; - - /*! - * @brief This function returns a reference to member total_count - * @return Reference to member total_count - */ - eProsima_user_DllExport uint32_t& total_count(); - - - /*! - * @brief This function copies the value in member last_instance_handle - * @param _last_instance_handle New value to be copied in member last_instance_handle - */ - eProsima_user_DllExport void last_instance_handle( - const std::array& _last_instance_handle); - - /*! - * @brief This function moves the value in member last_instance_handle - * @param _last_instance_handle New value to be moved in member last_instance_handle - */ - eProsima_user_DllExport void last_instance_handle( - std::array&& _last_instance_handle); - - /*! - * @brief This function returns a constant reference to member last_instance_handle - * @return Constant reference to member last_instance_handle - */ - eProsima_user_DllExport const std::array& last_instance_handle() const; - - /*! - * @brief This function returns a reference to member last_instance_handle - * @return Reference to member last_instance_handle - */ - eProsima_user_DllExport std::array& last_instance_handle(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::DeadlineMissedStatus_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - uint32_t m_total_count; - std::array m_last_instance_handle; - - }; - - typedef eprosima::fastdds::statistics::BaseStatus_s LivelinessLostStatus_s; - - typedef eprosima::fastdds::statistics::BaseStatus_s InconsistentTopicStatus_s; - - typedef eprosima::fastdds::statistics::BaseStatus_s SampleLostStatus_s; - - /*! - * @brief This class represents the enumeration StatusKind defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - enum StatusKind : uint32_t - { - PROXY, - CONNECTION_LIST, - INCOMPATIBLE_QOS, - INCONSISTENT_TOPIC, - LIVELINESS_LOST, - LIVELINESS_CHANGED, - DEADLINE_MISSED, - SAMPLE_LOST, - STATUSES_SIZE - }; - - - /*! - * @brief This class represents the union MonitorServiceData defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class MonitorServiceData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport MonitorServiceData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~MonitorServiceData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. - */ - eProsima_user_DllExport MonitorServiceData( - const MonitorServiceData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. - */ - eProsima_user_DllExport MonitorServiceData( - MonitorServiceData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. - */ - eProsima_user_DllExport MonitorServiceData& operator =( - const MonitorServiceData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. - */ - eProsima_user_DllExport MonitorServiceData& operator =( - MonitorServiceData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::MonitorServiceData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const MonitorServiceData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::MonitorServiceData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const MonitorServiceData& x) const; - - /*! - * @brief This function sets the discriminator value. - * @param __d New value for the discriminator. - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. - */ - eProsima_user_DllExport void _d( - eprosima::fastdds::statistics::StatusKind __d); - - /*! - * @brief This function returns the value of the discriminator. - * @return Value of the discriminator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind _d() const; - - /*! - * @brief This function returns a reference to the discriminator. - * @return Reference to the discriminator. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind& _d(); - - /*! - * @brief This function copies the value in member entity_proxy - * @param _entity_proxy New value to be copied in member entity_proxy - */ - eProsima_user_DllExport void entity_proxy( - const std::vector& _entity_proxy); - - /*! - * @brief This function moves the value in member entity_proxy - * @param _entity_proxy New value to be moved in member entity_proxy - */ - eProsima_user_DllExport void entity_proxy( - std::vector&& _entity_proxy); - - /*! - * @brief This function returns a constant reference to member entity_proxy - * @return Constant reference to member entity_proxy - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const std::vector& entity_proxy() const; - - /*! - * @brief This function returns a reference to member entity_proxy - * @return Reference to member entity_proxy - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport std::vector& entity_proxy(); - - - /*! - * @brief This function copies the value in member connection_list - * @param _connection_list New value to be copied in member connection_list - */ - eProsima_user_DllExport void connection_list( - const std::vector& _connection_list); - - /*! - * @brief This function moves the value in member connection_list - * @param _connection_list New value to be moved in member connection_list - */ - eProsima_user_DllExport void connection_list( - std::vector&& _connection_list); - - /*! - * @brief This function returns a constant reference to member connection_list - * @return Constant reference to member connection_list - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const std::vector& connection_list() const; - - /*! - * @brief This function returns a reference to member connection_list - * @return Reference to member connection_list - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport std::vector& connection_list(); - - - /*! - * @brief This function copies the value in member incompatible_qos_status - * @param _incompatible_qos_status New value to be copied in member incompatible_qos_status - */ - eProsima_user_DllExport void incompatible_qos_status( - const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& _incompatible_qos_status); - - /*! - * @brief This function moves the value in member incompatible_qos_status - * @param _incompatible_qos_status New value to be moved in member incompatible_qos_status - */ - eProsima_user_DllExport void incompatible_qos_status( - eprosima::fastdds::statistics::IncompatibleQoSStatus_s&& _incompatible_qos_status); - - /*! - * @brief This function returns a constant reference to member incompatible_qos_status - * @return Constant reference to member incompatible_qos_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& incompatible_qos_status() const; - - /*! - * @brief This function returns a reference to member incompatible_qos_status - * @return Reference to member incompatible_qos_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::IncompatibleQoSStatus_s& incompatible_qos_status(); - - - /*! - * @brief This function copies the value in member inconsistent_topic_status - * @param _inconsistent_topic_status New value to be copied in member inconsistent_topic_status - */ - eProsima_user_DllExport void inconsistent_topic_status( - const eprosima::fastdds::statistics::InconsistentTopicStatus_s& _inconsistent_topic_status); - - /*! - * @brief This function moves the value in member inconsistent_topic_status - * @param _inconsistent_topic_status New value to be moved in member inconsistent_topic_status - */ - eProsima_user_DllExport void inconsistent_topic_status( - eprosima::fastdds::statistics::InconsistentTopicStatus_s&& _inconsistent_topic_status); - - /*! - * @brief This function returns a constant reference to member inconsistent_topic_status - * @return Constant reference to member inconsistent_topic_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::InconsistentTopicStatus_s& inconsistent_topic_status() const; - - /*! - * @brief This function returns a reference to member inconsistent_topic_status - * @return Reference to member inconsistent_topic_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::InconsistentTopicStatus_s& inconsistent_topic_status(); - - - /*! - * @brief This function copies the value in member liveliness_lost_status - * @param _liveliness_lost_status New value to be copied in member liveliness_lost_status - */ - eProsima_user_DllExport void liveliness_lost_status( - const eprosima::fastdds::statistics::LivelinessLostStatus_s& _liveliness_lost_status); - - /*! - * @brief This function moves the value in member liveliness_lost_status - * @param _liveliness_lost_status New value to be moved in member liveliness_lost_status - */ - eProsima_user_DllExport void liveliness_lost_status( - eprosima::fastdds::statistics::LivelinessLostStatus_s&& _liveliness_lost_status); - - /*! - * @brief This function returns a constant reference to member liveliness_lost_status - * @return Constant reference to member liveliness_lost_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::LivelinessLostStatus_s& liveliness_lost_status() const; - - /*! - * @brief This function returns a reference to member liveliness_lost_status - * @return Reference to member liveliness_lost_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::LivelinessLostStatus_s& liveliness_lost_status(); - - - /*! - * @brief This function copies the value in member liveliness_changed_status - * @param _liveliness_changed_status New value to be copied in member liveliness_changed_status - */ - eProsima_user_DllExport void liveliness_changed_status( - const eprosima::fastdds::statistics::LivelinessChangedStatus_s& _liveliness_changed_status); - - /*! - * @brief This function moves the value in member liveliness_changed_status - * @param _liveliness_changed_status New value to be moved in member liveliness_changed_status - */ - eProsima_user_DllExport void liveliness_changed_status( - eprosima::fastdds::statistics::LivelinessChangedStatus_s&& _liveliness_changed_status); - - /*! - * @brief This function returns a constant reference to member liveliness_changed_status - * @return Constant reference to member liveliness_changed_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::LivelinessChangedStatus_s& liveliness_changed_status() const; - - /*! - * @brief This function returns a reference to member liveliness_changed_status - * @return Reference to member liveliness_changed_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::LivelinessChangedStatus_s& liveliness_changed_status(); - - - /*! - * @brief This function copies the value in member deadline_missed_status - * @param _deadline_missed_status New value to be copied in member deadline_missed_status - */ - eProsima_user_DllExport void deadline_missed_status( - const eprosima::fastdds::statistics::DeadlineMissedStatus_s& _deadline_missed_status); - - /*! - * @brief This function moves the value in member deadline_missed_status - * @param _deadline_missed_status New value to be moved in member deadline_missed_status - */ - eProsima_user_DllExport void deadline_missed_status( - eprosima::fastdds::statistics::DeadlineMissedStatus_s&& _deadline_missed_status); - - /*! - * @brief This function returns a constant reference to member deadline_missed_status - * @return Constant reference to member deadline_missed_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::DeadlineMissedStatus_s& deadline_missed_status() const; - - /*! - * @brief This function returns a reference to member deadline_missed_status - * @return Reference to member deadline_missed_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::DeadlineMissedStatus_s& deadline_missed_status(); - - - /*! - * @brief This function copies the value in member sample_lost_status - * @param _sample_lost_status New value to be copied in member sample_lost_status - */ - eProsima_user_DllExport void sample_lost_status( - const eprosima::fastdds::statistics::SampleLostStatus_s& _sample_lost_status); - - /*! - * @brief This function moves the value in member sample_lost_status - * @param _sample_lost_status New value to be moved in member sample_lost_status - */ - eProsima_user_DllExport void sample_lost_status( - eprosima::fastdds::statistics::SampleLostStatus_s&& _sample_lost_status); - - /*! - * @brief This function returns a constant reference to member sample_lost_status - * @return Constant reference to member sample_lost_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::SampleLostStatus_s& sample_lost_status() const; - - /*! - * @brief This function returns a reference to member sample_lost_status - * @return Reference to member sample_lost_status - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::SampleLostStatus_s& sample_lost_status(); - - - /*! - * @brief This function sets a value in member statuses_size - * @param _statuses_size New value for member statuses_size - */ - eProsima_user_DllExport void statuses_size( - uint8_t _statuses_size); - - /*! - * @brief This function returns the value of member statuses_size - * @return Value of member statuses_size - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport uint8_t statuses_size() const; - - /*! - * @brief This function returns a reference to member statuses_size - * @return Reference to member statuses_size - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport uint8_t& statuses_size(); - - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::MonitorServiceData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - - private: - - eprosima::fastdds::statistics::StatusKind m__d; - - std::vector m_entity_proxy; - std::vector m_connection_list; - eprosima::fastdds::statistics::IncompatibleQoSStatus_s m_incompatible_qos_status; - eprosima::fastdds::statistics::InconsistentTopicStatus_s m_inconsistent_topic_status; - eprosima::fastdds::statistics::LivelinessLostStatus_s m_liveliness_lost_status; - eprosima::fastdds::statistics::LivelinessChangedStatus_s m_liveliness_changed_status; - eprosima::fastdds::statistics::DeadlineMissedStatus_s m_deadline_missed_status; - eprosima::fastdds::statistics::SampleLostStatus_s m_sample_lost_status; - uint8_t m_statuses_size; - }; - - - - /*! - * @brief This class represents the structure MonitorServiceStatusData defined by the user in the IDL file. - * @ingroup monitorservice_types - */ - class MonitorServiceStatusData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport MonitorServiceStatusData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~MonitorServiceStatusData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. - */ - eProsima_user_DllExport MonitorServiceStatusData( - const MonitorServiceStatusData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. - */ - eProsima_user_DllExport MonitorServiceStatusData( - MonitorServiceStatusData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. - */ - eProsima_user_DllExport MonitorServiceStatusData& operator =( - const MonitorServiceStatusData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. - */ - eProsima_user_DllExport MonitorServiceStatusData& operator =( - MonitorServiceStatusData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::MonitorServiceStatusData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const MonitorServiceStatusData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::MonitorServiceStatusData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const MonitorServiceStatusData& x) const; - - /*! - * @brief This function copies the value in member local_entity - * @param _local_entity New value to be copied in member local_entity - */ - eProsima_user_DllExport void local_entity( - const eprosima::fastdds::statistics::detail::GUID_s& _local_entity); - - /*! - * @brief This function moves the value in member local_entity - * @param _local_entity New value to be moved in member local_entity - */ - eProsima_user_DllExport void local_entity( - eprosima::fastdds::statistics::detail::GUID_s&& _local_entity); - - /*! - * @brief This function returns a constant reference to member local_entity - * @return Constant reference to member local_entity - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_entity() const; - - /*! - * @brief This function returns a reference to member local_entity - * @return Reference to member local_entity - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_entity(); - - - /*! - * @brief This function sets a value in member status_kind - * @param _status_kind New value for member status_kind - */ - eProsima_user_DllExport void status_kind( - eprosima::fastdds::statistics::StatusKind _status_kind); - - /*! - * @brief This function returns the value of member status_kind - * @return Value of member status_kind - */ - eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind status_kind() const; - - /*! - * @brief This function returns a reference to member status_kind - * @return Reference to member status_kind - */ - eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind& status_kind(); - - - /*! - * @brief This function copies the value in member value - * @param _value New value to be copied in member value - */ - eProsima_user_DllExport void value( - const eprosima::fastdds::statistics::MonitorServiceData& _value); - - /*! - * @brief This function moves the value in member value - * @param _value New value to be moved in member value - */ - eProsima_user_DllExport void value( - eprosima::fastdds::statistics::MonitorServiceData&& _value); - - /*! - * @brief This function returns a constant reference to member value - * @return Constant reference to member value - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::MonitorServiceData& value() const; - - /*! - * @brief This function returns a reference to member value - * @return Reference to member value - */ - eProsima_user_DllExport eprosima::fastdds::statistics::MonitorServiceData& value(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::MonitorServiceStatusData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_local_entity; - eprosima::fastdds::statistics::StatusKind m_status_kind; - eprosima::fastdds::statistics::MonitorServiceData m_value; - - }; - - } // namespace statistics - } // namespace fastdds + uint32_t m_total_count; + uint32_t m_last_policy_id; + eprosima::fastdds::statistics::QosPolicyCountSeq_s m_policies; + +}; + + + +/*! + * @brief This class represents the structure LivelinessChangedStatus_s defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class LivelinessChangedStatus_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport LivelinessChangedStatus_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~LivelinessChangedStatus_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. + */ + eProsima_user_DllExport LivelinessChangedStatus_s( + const LivelinessChangedStatus_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. + */ + eProsima_user_DllExport LivelinessChangedStatus_s( + LivelinessChangedStatus_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. + */ + eProsima_user_DllExport LivelinessChangedStatus_s& operator =( + const LivelinessChangedStatus_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::LivelinessChangedStatus_s that will be copied. + */ + eProsima_user_DllExport LivelinessChangedStatus_s& operator =( + LivelinessChangedStatus_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::LivelinessChangedStatus_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const LivelinessChangedStatus_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::LivelinessChangedStatus_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const LivelinessChangedStatus_s& x) const; + + /*! + * @brief This function sets a value in member alive_count + * @param _alive_count New value for member alive_count + */ + eProsima_user_DllExport void alive_count( + uint32_t _alive_count); + + /*! + * @brief This function returns the value of member alive_count + * @return Value of member alive_count + */ + eProsima_user_DllExport uint32_t alive_count() const; + + /*! + * @brief This function returns a reference to member alive_count + * @return Reference to member alive_count + */ + eProsima_user_DllExport uint32_t& alive_count(); + + + /*! + * @brief This function sets a value in member not_alive_count + * @param _not_alive_count New value for member not_alive_count + */ + eProsima_user_DllExport void not_alive_count( + uint32_t _not_alive_count); + + /*! + * @brief This function returns the value of member not_alive_count + * @return Value of member not_alive_count + */ + eProsima_user_DllExport uint32_t not_alive_count() const; + + /*! + * @brief This function returns a reference to member not_alive_count + * @return Reference to member not_alive_count + */ + eProsima_user_DllExport uint32_t& not_alive_count(); + + + /*! + * @brief This function copies the value in member last_publication_handle + * @param _last_publication_handle New value to be copied in member last_publication_handle + */ + eProsima_user_DllExport void last_publication_handle( + const std::array& _last_publication_handle); + + /*! + * @brief This function moves the value in member last_publication_handle + * @param _last_publication_handle New value to be moved in member last_publication_handle + */ + eProsima_user_DllExport void last_publication_handle( + std::array&& _last_publication_handle); + + /*! + * @brief This function returns a constant reference to member last_publication_handle + * @return Constant reference to member last_publication_handle + */ + eProsima_user_DllExport const std::array& last_publication_handle() const; + + /*! + * @brief This function returns a reference to member last_publication_handle + * @return Reference to member last_publication_handle + */ + eProsima_user_DllExport std::array& last_publication_handle(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::LivelinessChangedStatus_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + uint32_t m_alive_count; + uint32_t m_not_alive_count; + std::array m_last_publication_handle; + +}; + + + +/*! + * @brief This class represents the structure DeadlineMissedStatus_s defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class DeadlineMissedStatus_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport DeadlineMissedStatus_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~DeadlineMissedStatus_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. + */ + eProsima_user_DllExport DeadlineMissedStatus_s( + const DeadlineMissedStatus_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. + */ + eProsima_user_DllExport DeadlineMissedStatus_s( + DeadlineMissedStatus_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. + */ + eProsima_user_DllExport DeadlineMissedStatus_s& operator =( + const DeadlineMissedStatus_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DeadlineMissedStatus_s that will be copied. + */ + eProsima_user_DllExport DeadlineMissedStatus_s& operator =( + DeadlineMissedStatus_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DeadlineMissedStatus_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const DeadlineMissedStatus_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DeadlineMissedStatus_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const DeadlineMissedStatus_s& x) const; + + /*! + * @brief This function sets a value in member total_count + * @param _total_count New value for member total_count + */ + eProsima_user_DllExport void total_count( + uint32_t _total_count); + + /*! + * @brief This function returns the value of member total_count + * @return Value of member total_count + */ + eProsima_user_DllExport uint32_t total_count() const; + + /*! + * @brief This function returns a reference to member total_count + * @return Reference to member total_count + */ + eProsima_user_DllExport uint32_t& total_count(); + + + /*! + * @brief This function copies the value in member last_instance_handle + * @param _last_instance_handle New value to be copied in member last_instance_handle + */ + eProsima_user_DllExport void last_instance_handle( + const std::array& _last_instance_handle); + + /*! + * @brief This function moves the value in member last_instance_handle + * @param _last_instance_handle New value to be moved in member last_instance_handle + */ + eProsima_user_DllExport void last_instance_handle( + std::array&& _last_instance_handle); + + /*! + * @brief This function returns a constant reference to member last_instance_handle + * @return Constant reference to member last_instance_handle + */ + eProsima_user_DllExport const std::array& last_instance_handle() const; + + /*! + * @brief This function returns a reference to member last_instance_handle + * @return Reference to member last_instance_handle + */ + eProsima_user_DllExport std::array& last_instance_handle(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::DeadlineMissedStatus_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + uint32_t m_total_count; + std::array m_last_instance_handle; + +}; + +typedef eprosima::fastdds::statistics::BaseStatus_s LivelinessLostStatus_s; + +typedef eprosima::fastdds::statistics::BaseStatus_s InconsistentTopicStatus_s; + +typedef eprosima::fastdds::statistics::BaseStatus_s SampleLostStatus_s; + +/*! + * @brief This class represents the enumeration StatusKind defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +enum StatusKind : uint32_t +{ + PROXY, + CONNECTION_LIST, + INCOMPATIBLE_QOS, + INCONSISTENT_TOPIC, + LIVELINESS_LOST, + LIVELINESS_CHANGED, + DEADLINE_MISSED, + SAMPLE_LOST, + STATUSES_SIZE +}; + + +/*! + * @brief This class represents the union MonitorServiceData defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class MonitorServiceData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport MonitorServiceData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~MonitorServiceData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. + */ + eProsima_user_DllExport MonitorServiceData( + const MonitorServiceData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. + */ + eProsima_user_DllExport MonitorServiceData( + MonitorServiceData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. + */ + eProsima_user_DllExport MonitorServiceData& operator =( + const MonitorServiceData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceData that will be copied. + */ + eProsima_user_DllExport MonitorServiceData& operator =( + MonitorServiceData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::MonitorServiceData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const MonitorServiceData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::MonitorServiceData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const MonitorServiceData& x) const; + + /*! + * @brief This function sets the discriminator value. + * @param __d New value for the discriminator. + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. + */ + eProsima_user_DllExport void _d( + eprosima::fastdds::statistics::StatusKind __d); + + /*! + * @brief This function returns the value of the discriminator. + * @return Value of the discriminator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind _d() const; + + /*! + * @brief This function returns a reference to the discriminator. + * @return Reference to the discriminator. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind& _d(); + + /*! + * @brief This function copies the value in member entity_proxy + * @param _entity_proxy New value to be copied in member entity_proxy + */ + eProsima_user_DllExport void entity_proxy( + const std::vector& _entity_proxy); + + /*! + * @brief This function moves the value in member entity_proxy + * @param _entity_proxy New value to be moved in member entity_proxy + */ + eProsima_user_DllExport void entity_proxy( + std::vector&& _entity_proxy); + + /*! + * @brief This function returns a constant reference to member entity_proxy + * @return Constant reference to member entity_proxy + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const std::vector& entity_proxy() const; + + /*! + * @brief This function returns a reference to member entity_proxy + * @return Reference to member entity_proxy + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport std::vector& entity_proxy(); + + + /*! + * @brief This function copies the value in member connection_list + * @param _connection_list New value to be copied in member connection_list + */ + eProsima_user_DllExport void connection_list( + const std::vector& _connection_list); + + /*! + * @brief This function moves the value in member connection_list + * @param _connection_list New value to be moved in member connection_list + */ + eProsima_user_DllExport void connection_list( + std::vector&& _connection_list); + + /*! + * @brief This function returns a constant reference to member connection_list + * @return Constant reference to member connection_list + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const std::vector& connection_list() const; + + /*! + * @brief This function returns a reference to member connection_list + * @return Reference to member connection_list + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport std::vector& connection_list(); + + + /*! + * @brief This function copies the value in member incompatible_qos_status + * @param _incompatible_qos_status New value to be copied in member incompatible_qos_status + */ + eProsima_user_DllExport void incompatible_qos_status( + const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& _incompatible_qos_status); + + /*! + * @brief This function moves the value in member incompatible_qos_status + * @param _incompatible_qos_status New value to be moved in member incompatible_qos_status + */ + eProsima_user_DllExport void incompatible_qos_status( + eprosima::fastdds::statistics::IncompatibleQoSStatus_s&& _incompatible_qos_status); + + /*! + * @brief This function returns a constant reference to member incompatible_qos_status + * @return Constant reference to member incompatible_qos_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::IncompatibleQoSStatus_s& incompatible_qos_status() + const; + + /*! + * @brief This function returns a reference to member incompatible_qos_status + * @return Reference to member incompatible_qos_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::IncompatibleQoSStatus_s& incompatible_qos_status(); + + + /*! + * @brief This function copies the value in member inconsistent_topic_status + * @param _inconsistent_topic_status New value to be copied in member inconsistent_topic_status + */ + eProsima_user_DllExport void inconsistent_topic_status( + const eprosima::fastdds::statistics::InconsistentTopicStatus_s& _inconsistent_topic_status); + + /*! + * @brief This function moves the value in member inconsistent_topic_status + * @param _inconsistent_topic_status New value to be moved in member inconsistent_topic_status + */ + eProsima_user_DllExport void inconsistent_topic_status( + eprosima::fastdds::statistics::InconsistentTopicStatus_s&& _inconsistent_topic_status); + + /*! + * @brief This function returns a constant reference to member inconsistent_topic_status + * @return Constant reference to member inconsistent_topic_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::InconsistentTopicStatus_s& inconsistent_topic_status() + const; + + /*! + * @brief This function returns a reference to member inconsistent_topic_status + * @return Reference to member inconsistent_topic_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::InconsistentTopicStatus_s& inconsistent_topic_status(); + + + /*! + * @brief This function copies the value in member liveliness_lost_status + * @param _liveliness_lost_status New value to be copied in member liveliness_lost_status + */ + eProsima_user_DllExport void liveliness_lost_status( + const eprosima::fastdds::statistics::LivelinessLostStatus_s& _liveliness_lost_status); + + /*! + * @brief This function moves the value in member liveliness_lost_status + * @param _liveliness_lost_status New value to be moved in member liveliness_lost_status + */ + eProsima_user_DllExport void liveliness_lost_status( + eprosima::fastdds::statistics::LivelinessLostStatus_s&& _liveliness_lost_status); + + /*! + * @brief This function returns a constant reference to member liveliness_lost_status + * @return Constant reference to member liveliness_lost_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::LivelinessLostStatus_s& liveliness_lost_status() const; + + /*! + * @brief This function returns a reference to member liveliness_lost_status + * @return Reference to member liveliness_lost_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::LivelinessLostStatus_s& liveliness_lost_status(); + + + /*! + * @brief This function copies the value in member liveliness_changed_status + * @param _liveliness_changed_status New value to be copied in member liveliness_changed_status + */ + eProsima_user_DllExport void liveliness_changed_status( + const eprosima::fastdds::statistics::LivelinessChangedStatus_s& _liveliness_changed_status); + + /*! + * @brief This function moves the value in member liveliness_changed_status + * @param _liveliness_changed_status New value to be moved in member liveliness_changed_status + */ + eProsima_user_DllExport void liveliness_changed_status( + eprosima::fastdds::statistics::LivelinessChangedStatus_s&& _liveliness_changed_status); + + /*! + * @brief This function returns a constant reference to member liveliness_changed_status + * @return Constant reference to member liveliness_changed_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::LivelinessChangedStatus_s& liveliness_changed_status() + const; + + /*! + * @brief This function returns a reference to member liveliness_changed_status + * @return Reference to member liveliness_changed_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::LivelinessChangedStatus_s& liveliness_changed_status(); + + + /*! + * @brief This function copies the value in member deadline_missed_status + * @param _deadline_missed_status New value to be copied in member deadline_missed_status + */ + eProsima_user_DllExport void deadline_missed_status( + const eprosima::fastdds::statistics::DeadlineMissedStatus_s& _deadline_missed_status); + + /*! + * @brief This function moves the value in member deadline_missed_status + * @param _deadline_missed_status New value to be moved in member deadline_missed_status + */ + eProsima_user_DllExport void deadline_missed_status( + eprosima::fastdds::statistics::DeadlineMissedStatus_s&& _deadline_missed_status); + + /*! + * @brief This function returns a constant reference to member deadline_missed_status + * @return Constant reference to member deadline_missed_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::DeadlineMissedStatus_s& deadline_missed_status() const; + + /*! + * @brief This function returns a reference to member deadline_missed_status + * @return Reference to member deadline_missed_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::DeadlineMissedStatus_s& deadline_missed_status(); + + + /*! + * @brief This function copies the value in member sample_lost_status + * @param _sample_lost_status New value to be copied in member sample_lost_status + */ + eProsima_user_DllExport void sample_lost_status( + const eprosima::fastdds::statistics::SampleLostStatus_s& _sample_lost_status); + + /*! + * @brief This function moves the value in member sample_lost_status + * @param _sample_lost_status New value to be moved in member sample_lost_status + */ + eProsima_user_DllExport void sample_lost_status( + eprosima::fastdds::statistics::SampleLostStatus_s&& _sample_lost_status); + + /*! + * @brief This function returns a constant reference to member sample_lost_status + * @return Constant reference to member sample_lost_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::SampleLostStatus_s& sample_lost_status() const; + + /*! + * @brief This function returns a reference to member sample_lost_status + * @return Reference to member sample_lost_status + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::SampleLostStatus_s& sample_lost_status(); + + + /*! + * @brief This function sets a value in member statuses_size + * @param _statuses_size New value for member statuses_size + */ + eProsima_user_DllExport void statuses_size( + uint8_t _statuses_size); + + /*! + * @brief This function returns the value of member statuses_size + * @return Value of member statuses_size + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport uint8_t statuses_size() const; + + /*! + * @brief This function returns a reference to member statuses_size + * @return Reference to member statuses_size + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport uint8_t& statuses_size(); + + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::MonitorServiceData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + +private: + + eprosima::fastdds::statistics::StatusKind m__d; + + std::vector m_entity_proxy; + std::vector m_connection_list; + eprosima::fastdds::statistics::IncompatibleQoSStatus_s m_incompatible_qos_status; + eprosima::fastdds::statistics::InconsistentTopicStatus_s m_inconsistent_topic_status; + eprosima::fastdds::statistics::LivelinessLostStatus_s m_liveliness_lost_status; + eprosima::fastdds::statistics::LivelinessChangedStatus_s m_liveliness_changed_status; + eprosima::fastdds::statistics::DeadlineMissedStatus_s m_deadline_missed_status; + eprosima::fastdds::statistics::SampleLostStatus_s m_sample_lost_status; + uint8_t m_statuses_size; +}; + + + +/*! + * @brief This class represents the structure MonitorServiceStatusData defined by the user in the IDL file. + * @ingroup monitorservice_types + */ +class MonitorServiceStatusData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport MonitorServiceStatusData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~MonitorServiceStatusData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. + */ + eProsima_user_DllExport MonitorServiceStatusData( + const MonitorServiceStatusData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. + */ + eProsima_user_DllExport MonitorServiceStatusData( + MonitorServiceStatusData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. + */ + eProsima_user_DllExport MonitorServiceStatusData& operator =( + const MonitorServiceStatusData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::MonitorServiceStatusData that will be copied. + */ + eProsima_user_DllExport MonitorServiceStatusData& operator =( + MonitorServiceStatusData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::MonitorServiceStatusData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const MonitorServiceStatusData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::MonitorServiceStatusData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const MonitorServiceStatusData& x) const; + + /*! + * @brief This function copies the value in member local_entity + * @param _local_entity New value to be copied in member local_entity + */ + eProsima_user_DllExport void local_entity( + const eprosima::fastdds::statistics::detail::GUID_s& _local_entity); + + /*! + * @brief This function moves the value in member local_entity + * @param _local_entity New value to be moved in member local_entity + */ + eProsima_user_DllExport void local_entity( + eprosima::fastdds::statistics::detail::GUID_s&& _local_entity); + + /*! + * @brief This function returns a constant reference to member local_entity + * @return Constant reference to member local_entity + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_entity() const; + + /*! + * @brief This function returns a reference to member local_entity + * @return Reference to member local_entity + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_entity(); + + + /*! + * @brief This function sets a value in member status_kind + * @param _status_kind New value for member status_kind + */ + eProsima_user_DllExport void status_kind( + eprosima::fastdds::statistics::StatusKind _status_kind); + + /*! + * @brief This function returns the value of member status_kind + * @return Value of member status_kind + */ + eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind status_kind() const; + + /*! + * @brief This function returns a reference to member status_kind + * @return Reference to member status_kind + */ + eProsima_user_DllExport eprosima::fastdds::statistics::StatusKind& status_kind(); + + + /*! + * @brief This function copies the value in member value + * @param _value New value to be copied in member value + */ + eProsima_user_DllExport void value( + const eprosima::fastdds::statistics::MonitorServiceData& _value); + + /*! + * @brief This function moves the value in member value + * @param _value New value to be moved in member value + */ + eProsima_user_DllExport void value( + eprosima::fastdds::statistics::MonitorServiceData&& _value); + + /*! + * @brief This function returns a constant reference to member value + * @return Constant reference to member value + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::MonitorServiceData& value() const; + + /*! + * @brief This function returns a reference to member value + * @return Reference to member value + */ + eProsima_user_DllExport eprosima::fastdds::statistics::MonitorServiceData& value(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::MonitorServiceStatusData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_local_entity; + eprosima::fastdds::statistics::StatusKind m_status_kind; + eprosima::fastdds::statistics::MonitorServiceData m_value; + +}; + +} // namespace statistics +} // namespace fastdds } // namespace eprosima #endif // _FAST_DDS_GENERATED_EPROSIMA_FASTDDS_STATISTICS_MONITORSERVICE_TYPES_H_ diff --git a/src/cpp/statistics/types/typesv1.h b/src/cpp/statistics/types/typesv1.h index ab918b661cc..ab41589a322 100644 --- a/src/cpp/statistics/types/typesv1.h +++ b/src/cpp/statistics/types/typesv1.h @@ -70,3020 +70,3002 @@ class Cdr; namespace eprosima { - namespace fastdds { - namespace statistics { - namespace detail { - - - /*! - * @brief This class represents the structure EntityId_s defined by the user in the IDL file. - * @ingroup types - */ - class EntityId_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityId_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityId_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s( - const EntityId_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s( - EntityId_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s& operator =( - const EntityId_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s& operator =( - EntityId_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityId_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityId_s& x) const; - - /*! - * @brief This function copies the value in member value - * @param _value New value to be copied in member value - */ - eProsima_user_DllExport void value( - const std::array& _value); - - /*! - * @brief This function moves the value in member value - * @param _value New value to be moved in member value - */ - eProsima_user_DllExport void value( - std::array&& _value); - - /*! - * @brief This function returns a constant reference to member value - * @return Constant reference to member value - */ - eProsima_user_DllExport const std::array& value() const; - - /*! - * @brief This function returns a reference to member value - * @return Reference to member value - */ - eProsima_user_DllExport std::array& value(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::EntityId_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - std::array m_value; - - }; - - - - /*! - * @brief This class represents the structure GuidPrefix_s defined by the user in the IDL file. - * @ingroup types - */ - class GuidPrefix_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport GuidPrefix_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~GuidPrefix_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s( - const GuidPrefix_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s( - GuidPrefix_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s& operator =( - const GuidPrefix_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s& operator =( - GuidPrefix_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const GuidPrefix_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const GuidPrefix_s& x) const; - - /*! - * @brief This function copies the value in member value - * @param _value New value to be copied in member value - */ - eProsima_user_DllExport void value( - const std::array& _value); - - /*! - * @brief This function moves the value in member value - * @param _value New value to be moved in member value - */ - eProsima_user_DllExport void value( - std::array&& _value); - - /*! - * @brief This function returns a constant reference to member value - * @return Constant reference to member value - */ - eProsima_user_DllExport const std::array& value() const; - - /*! - * @brief This function returns a reference to member value - * @return Reference to member value - */ - eProsima_user_DllExport std::array& value(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::GuidPrefix_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - std::array m_value; - - }; - - - - /*! - * @brief This class represents the structure GUID_s defined by the user in the IDL file. - * @ingroup types - */ - class GUID_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport GUID_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~GUID_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s( - const GUID_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s( - GUID_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s& operator =( - const GUID_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s& operator =( - GUID_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const GUID_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const GUID_s& x) const; - - /*! - * @brief This function copies the value in member guidPrefix - * @param _guidPrefix New value to be copied in member guidPrefix - */ - eProsima_user_DllExport void guidPrefix( - const eprosima::fastdds::statistics::detail::GuidPrefix_s& _guidPrefix); - - /*! - * @brief This function moves the value in member guidPrefix - * @param _guidPrefix New value to be moved in member guidPrefix - */ - eProsima_user_DllExport void guidPrefix( - eprosima::fastdds::statistics::detail::GuidPrefix_s&& _guidPrefix); - - /*! - * @brief This function returns a constant reference to member guidPrefix - * @return Constant reference to member guidPrefix - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix() const; - - /*! - * @brief This function returns a reference to member guidPrefix - * @return Reference to member guidPrefix - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix(); - - - /*! - * @brief This function copies the value in member entityId - * @param _entityId New value to be copied in member entityId - */ - eProsima_user_DllExport void entityId( - const eprosima::fastdds::statistics::detail::EntityId_s& _entityId); - - /*! - * @brief This function moves the value in member entityId - * @param _entityId New value to be moved in member entityId - */ - eProsima_user_DllExport void entityId( - eprosima::fastdds::statistics::detail::EntityId_s&& _entityId); - - /*! - * @brief This function returns a constant reference to member entityId - * @return Constant reference to member entityId - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::EntityId_s& entityId() const; - - /*! - * @brief This function returns a reference to member entityId - * @return Reference to member entityId - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::EntityId_s& entityId(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::GUID_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GuidPrefix_s m_guidPrefix; - eprosima::fastdds::statistics::detail::EntityId_s m_entityId; - - }; - - - - /*! - * @brief This class represents the structure SequenceNumber_s defined by the user in the IDL file. - * @ingroup types - */ - class SequenceNumber_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SequenceNumber_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SequenceNumber_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s( - const SequenceNumber_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s( - SequenceNumber_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s& operator =( - const SequenceNumber_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s& operator =( - SequenceNumber_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SequenceNumber_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SequenceNumber_s& x) const; - - /*! - * @brief This function sets a value in member high - * @param _high New value for member high - */ - eProsima_user_DllExport void high( - int32_t _high); - - /*! - * @brief This function returns the value of member high - * @return Value of member high - */ - eProsima_user_DllExport int32_t high() const; - - /*! - * @brief This function returns a reference to member high - * @return Reference to member high - */ - eProsima_user_DllExport int32_t& high(); - - - /*! - * @brief This function sets a value in member low - * @param _low New value for member low - */ - eProsima_user_DllExport void low( - uint32_t _low); - - /*! - * @brief This function returns the value of member low - * @return Value of member low - */ - eProsima_user_DllExport uint32_t low() const; - - /*! - * @brief This function returns a reference to member low - * @return Reference to member low - */ - eProsima_user_DllExport uint32_t& low(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::SequenceNumber_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - int32_t m_high; - uint32_t m_low; - - }; - - - - /*! - * @brief This class represents the structure SampleIdentity_s defined by the user in the IDL file. - * @ingroup types - */ - class SampleIdentity_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SampleIdentity_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SampleIdentity_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s( - const SampleIdentity_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s( - SampleIdentity_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s& operator =( - const SampleIdentity_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s& operator =( - SampleIdentity_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SampleIdentity_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SampleIdentity_s& x) const; - - /*! - * @brief This function copies the value in member writer_guid - * @param _writer_guid New value to be copied in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); - - /*! - * @brief This function moves the value in member writer_guid - * @param _writer_guid New value to be moved in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); - - /*! - * @brief This function returns a constant reference to member writer_guid - * @return Constant reference to member writer_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; - - /*! - * @brief This function returns a reference to member writer_guid - * @return Reference to member writer_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); - - - /*! - * @brief This function copies the value in member sequence_number - * @param _sequence_number New value to be copied in member sequence_number - */ - eProsima_user_DllExport void sequence_number( - const eprosima::fastdds::statistics::detail::SequenceNumber_s& _sequence_number); - - /*! - * @brief This function moves the value in member sequence_number - * @param _sequence_number New value to be moved in member sequence_number - */ - eProsima_user_DllExport void sequence_number( - eprosima::fastdds::statistics::detail::SequenceNumber_s&& _sequence_number); - - /*! - * @brief This function returns a constant reference to member sequence_number - * @return Constant reference to member sequence_number - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number() const; - - /*! - * @brief This function returns a reference to member sequence_number - * @return Reference to member sequence_number - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::SampleIdentity_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; - eprosima::fastdds::statistics::detail::SequenceNumber_s m_sequence_number; - - }; - - - - /*! - * @brief This class represents the structure Locator_s defined by the user in the IDL file. - * @ingroup types - */ - class Locator_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Locator_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Locator_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s( - const Locator_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s( - Locator_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s& operator =( - const Locator_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s& operator =( - Locator_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Locator_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Locator_s& x) const; - - /*! - * @brief This function sets a value in member kind - * @param _kind New value for member kind - */ - eProsima_user_DllExport void kind( - int32_t _kind); - - /*! - * @brief This function returns the value of member kind - * @return Value of member kind - */ - eProsima_user_DllExport int32_t kind() const; - - /*! - * @brief This function returns a reference to member kind - * @return Reference to member kind - */ - eProsima_user_DllExport int32_t& kind(); - - - /*! - * @brief This function sets a value in member port - * @param _port New value for member port - */ - eProsima_user_DllExport void port( - uint32_t _port); - - /*! - * @brief This function returns the value of member port - * @return Value of member port - */ - eProsima_user_DllExport uint32_t port() const; - - /*! - * @brief This function returns a reference to member port - * @return Reference to member port - */ - eProsima_user_DllExport uint32_t& port(); - - - /*! - * @brief This function copies the value in member address - * @param _address New value to be copied in member address - */ - eProsima_user_DllExport void address( - const std::array& _address); - - /*! - * @brief This function moves the value in member address - * @param _address New value to be moved in member address - */ - eProsima_user_DllExport void address( - std::array&& _address); - - /*! - * @brief This function returns a constant reference to member address - * @return Constant reference to member address - */ - eProsima_user_DllExport const std::array& address() const; - - /*! - * @brief This function returns a reference to member address - * @return Reference to member address - */ - eProsima_user_DllExport std::array& address(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::Locator_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - int32_t m_kind; - uint32_t m_port; - std::array m_address; - - }; - - } // namespace detail - - - /*! - * @brief This class represents the structure DiscoveryTime defined by the user in the IDL file. - * @ingroup types - */ - class DiscoveryTime - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport DiscoveryTime(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~DiscoveryTime(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime( - const DiscoveryTime& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime( - DiscoveryTime&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime& operator =( - const DiscoveryTime& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime& operator =( - DiscoveryTime&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. - */ - eProsima_user_DllExport bool operator ==( - const DiscoveryTime& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. - */ - eProsima_user_DllExport bool operator !=( - const DiscoveryTime& x) const; - - /*! - * @brief This function copies the value in member local_participant_guid - * @param _local_participant_guid New value to be copied in member local_participant_guid - */ - eProsima_user_DllExport void local_participant_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _local_participant_guid); - - /*! - * @brief This function moves the value in member local_participant_guid - * @param _local_participant_guid New value to be moved in member local_participant_guid - */ - eProsima_user_DllExport void local_participant_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _local_participant_guid); - - /*! - * @brief This function returns a constant reference to member local_participant_guid - * @return Constant reference to member local_participant_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid() const; - - /*! - * @brief This function returns a reference to member local_participant_guid - * @return Reference to member local_participant_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid(); - - - /*! - * @brief This function copies the value in member remote_entity_guid - * @param _remote_entity_guid New value to be copied in member remote_entity_guid - */ - eProsima_user_DllExport void remote_entity_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _remote_entity_guid); - - /*! - * @brief This function moves the value in member remote_entity_guid - * @param _remote_entity_guid New value to be moved in member remote_entity_guid - */ - eProsima_user_DllExport void remote_entity_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _remote_entity_guid); - - /*! - * @brief This function returns a constant reference to member remote_entity_guid - * @return Constant reference to member remote_entity_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid() const; - - /*! - * @brief This function returns a reference to member remote_entity_guid - * @return Reference to member remote_entity_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid(); - - - /*! - * @brief This function sets a value in member time - * @param _time New value for member time - */ - eProsima_user_DllExport void time( - uint64_t _time); - - /*! - * @brief This function returns the value of member time - * @return Value of member time - */ - eProsima_user_DllExport uint64_t time() const; - - /*! - * @brief This function returns a reference to member time - * @return Reference to member time - */ - eProsima_user_DllExport uint64_t& time(); - - - /*! - * @brief This function copies the value in member host - * @param _host New value to be copied in member host - */ - eProsima_user_DllExport void host( - const std::string& _host); - - /*! - * @brief This function moves the value in member host - * @param _host New value to be moved in member host - */ - eProsima_user_DllExport void host( - std::string&& _host); - - /*! - * @brief This function returns a constant reference to member host - * @return Constant reference to member host - */ - eProsima_user_DllExport const std::string& host() const; - - /*! - * @brief This function returns a reference to member host - * @return Reference to member host - */ - eProsima_user_DllExport std::string& host(); - - - /*! - * @brief This function copies the value in member user - * @param _user New value to be copied in member user - */ - eProsima_user_DllExport void user( - const std::string& _user); - - /*! - * @brief This function moves the value in member user - * @param _user New value to be moved in member user - */ - eProsima_user_DllExport void user( - std::string&& _user); - - /*! - * @brief This function returns a constant reference to member user - * @return Constant reference to member user - */ - eProsima_user_DllExport const std::string& user() const; - - /*! - * @brief This function returns a reference to member user - * @return Reference to member user - */ - eProsima_user_DllExport std::string& user(); - - - /*! - * @brief This function copies the value in member process - * @param _process New value to be copied in member process - */ - eProsima_user_DllExport void process( - const std::string& _process); - - /*! - * @brief This function moves the value in member process - * @param _process New value to be moved in member process - */ - eProsima_user_DllExport void process( - std::string&& _process); - - /*! - * @brief This function returns a constant reference to member process - * @return Constant reference to member process - */ - eProsima_user_DllExport const std::string& process() const; - - /*! - * @brief This function returns a reference to member process - * @return Reference to member process - */ - eProsima_user_DllExport std::string& process(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::DiscoveryTime& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_local_participant_guid; - eprosima::fastdds::statistics::detail::GUID_s m_remote_entity_guid; - uint64_t m_time; - std::string m_host; - std::string m_user; - std::string m_process; - - }; - - - - /*! - * @brief This class represents the structure EntityCount defined by the user in the IDL file. - * @ingroup types - */ - class EntityCount - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityCount(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityCount(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount( - const EntityCount& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount( - EntityCount&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount& operator =( - const EntityCount& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount& operator =( - EntityCount&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityCount object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityCount& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityCount object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityCount& x) const; - - /*! - * @brief This function copies the value in member guid - * @param _guid New value to be copied in member guid - */ - eProsima_user_DllExport void guid( - const eprosima::fastdds::statistics::detail::GUID_s& _guid); - - /*! - * @brief This function moves the value in member guid - * @param _guid New value to be moved in member guid - */ - eProsima_user_DllExport void guid( - eprosima::fastdds::statistics::detail::GUID_s&& _guid); - - /*! - * @brief This function returns a constant reference to member guid - * @return Constant reference to member guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; - - /*! - * @brief This function returns a reference to member guid - * @return Reference to member guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); - - - /*! - * @brief This function sets a value in member count - * @param _count New value for member count - */ - eProsima_user_DllExport void count( - uint64_t _count); - - /*! - * @brief This function returns the value of member count - * @return Value of member count - */ - eProsima_user_DllExport uint64_t count() const; - - /*! - * @brief This function returns a reference to member count - * @return Reference to member count - */ - eProsima_user_DllExport uint64_t& count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::EntityCount& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_guid; - uint64_t m_count; - - }; - - - - /*! - * @brief This class represents the structure SampleIdentityCount defined by the user in the IDL file. - * @ingroup types - */ - class SampleIdentityCount - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SampleIdentityCount(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SampleIdentityCount(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount( - const SampleIdentityCount& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount( - SampleIdentityCount&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount& operator =( - const SampleIdentityCount& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount& operator =( - SampleIdentityCount&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SampleIdentityCount& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SampleIdentityCount& x) const; - - /*! - * @brief This function copies the value in member sample_id - * @param _sample_id New value to be copied in member sample_id - */ - eProsima_user_DllExport void sample_id( - const eprosima::fastdds::statistics::detail::SampleIdentity_s& _sample_id); - - /*! - * @brief This function moves the value in member sample_id - * @param _sample_id New value to be moved in member sample_id - */ - eProsima_user_DllExport void sample_id( - eprosima::fastdds::statistics::detail::SampleIdentity_s&& _sample_id); - - /*! - * @brief This function returns a constant reference to member sample_id - * @return Constant reference to member sample_id - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id() const; - - /*! - * @brief This function returns a reference to member sample_id - * @return Reference to member sample_id - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id(); - - - /*! - * @brief This function sets a value in member count - * @param _count New value for member count - */ - eProsima_user_DllExport void count( - uint64_t _count); - - /*! - * @brief This function returns the value of member count - * @return Value of member count - */ - eProsima_user_DllExport uint64_t count() const; - - /*! - * @brief This function returns a reference to member count - * @return Reference to member count - */ - eProsima_user_DllExport uint64_t& count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::SampleIdentityCount& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::SampleIdentity_s m_sample_id; - uint64_t m_count; - - }; - - - - /*! - * @brief This class represents the structure Entity2LocatorTraffic defined by the user in the IDL file. - * @ingroup types - */ - class Entity2LocatorTraffic - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Entity2LocatorTraffic(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Entity2LocatorTraffic(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic( - const Entity2LocatorTraffic& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic( - Entity2LocatorTraffic&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic& operator =( - const Entity2LocatorTraffic& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic& operator =( - Entity2LocatorTraffic&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Entity2LocatorTraffic& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Entity2LocatorTraffic& x) const; - - /*! - * @brief This function copies the value in member src_guid - * @param _src_guid New value to be copied in member src_guid - */ - eProsima_user_DllExport void src_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _src_guid); - - /*! - * @brief This function moves the value in member src_guid - * @param _src_guid New value to be moved in member src_guid - */ - eProsima_user_DllExport void src_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _src_guid); - - /*! - * @brief This function returns a constant reference to member src_guid - * @return Constant reference to member src_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& src_guid() const; - - /*! - * @brief This function returns a reference to member src_guid - * @return Reference to member src_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& src_guid(); - - - /*! - * @brief This function copies the value in member dst_locator - * @param _dst_locator New value to be copied in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); - - /*! - * @brief This function moves the value in member dst_locator - * @param _dst_locator New value to be moved in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); - - /*! - * @brief This function returns a constant reference to member dst_locator - * @return Constant reference to member dst_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; - - /*! - * @brief This function returns a reference to member dst_locator - * @return Reference to member dst_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); - - - /*! - * @brief This function sets a value in member packet_count - * @param _packet_count New value for member packet_count - */ - eProsima_user_DllExport void packet_count( - uint64_t _packet_count); - - /*! - * @brief This function returns the value of member packet_count - * @return Value of member packet_count - */ - eProsima_user_DllExport uint64_t packet_count() const; - - /*! - * @brief This function returns a reference to member packet_count - * @return Reference to member packet_count - */ - eProsima_user_DllExport uint64_t& packet_count(); - - - /*! - * @brief This function sets a value in member byte_count - * @param _byte_count New value for member byte_count - */ - eProsima_user_DllExport void byte_count( - uint64_t _byte_count); - - /*! - * @brief This function returns the value of member byte_count - * @return Value of member byte_count - */ - eProsima_user_DllExport uint64_t byte_count() const; - - /*! - * @brief This function returns a reference to member byte_count - * @return Reference to member byte_count - */ - eProsima_user_DllExport uint64_t& byte_count(); - - - /*! - * @brief This function sets a value in member byte_magnitude_order - * @param _byte_magnitude_order New value for member byte_magnitude_order - */ - eProsima_user_DllExport void byte_magnitude_order( - int16_t _byte_magnitude_order); - - /*! - * @brief This function returns the value of member byte_magnitude_order - * @return Value of member byte_magnitude_order - */ - eProsima_user_DllExport int16_t byte_magnitude_order() const; - - /*! - * @brief This function returns a reference to member byte_magnitude_order - * @return Reference to member byte_magnitude_order - */ - eProsima_user_DllExport int16_t& byte_magnitude_order(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Entity2LocatorTraffic& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_src_guid; - eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; - uint64_t m_packet_count; - uint64_t m_byte_count; - int16_t m_byte_magnitude_order; - - }; - - - - /*! - * @brief This class represents the structure WriterReaderData defined by the user in the IDL file. - * @ingroup types - */ - class WriterReaderData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport WriterReaderData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~WriterReaderData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData( - const WriterReaderData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData( - WriterReaderData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData& operator =( - const WriterReaderData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData& operator =( - WriterReaderData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const WriterReaderData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const WriterReaderData& x) const; - - /*! - * @brief This function copies the value in member writer_guid - * @param _writer_guid New value to be copied in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); - - /*! - * @brief This function moves the value in member writer_guid - * @param _writer_guid New value to be moved in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); - - /*! - * @brief This function returns a constant reference to member writer_guid - * @return Constant reference to member writer_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; - - /*! - * @brief This function returns a reference to member writer_guid - * @return Reference to member writer_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); - - - /*! - * @brief This function copies the value in member reader_guid - * @param _reader_guid New value to be copied in member reader_guid - */ - eProsima_user_DllExport void reader_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _reader_guid); - - /*! - * @brief This function moves the value in member reader_guid - * @param _reader_guid New value to be moved in member reader_guid - */ - eProsima_user_DllExport void reader_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _reader_guid); - - /*! - * @brief This function returns a constant reference to member reader_guid - * @return Constant reference to member reader_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& reader_guid() const; - - /*! - * @brief This function returns a reference to member reader_guid - * @return Reference to member reader_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& reader_guid(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::WriterReaderData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; - eprosima::fastdds::statistics::detail::GUID_s m_reader_guid; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure Locator2LocatorData defined by the user in the IDL file. - * @ingroup types - */ - class Locator2LocatorData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Locator2LocatorData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Locator2LocatorData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData( - const Locator2LocatorData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData( - Locator2LocatorData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData& operator =( - const Locator2LocatorData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData& operator =( - Locator2LocatorData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Locator2LocatorData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Locator2LocatorData& x) const; - - /*! - * @brief This function copies the value in member src_locator - * @param _src_locator New value to be copied in member src_locator - */ - eProsima_user_DllExport void src_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _src_locator); - - /*! - * @brief This function moves the value in member src_locator - * @param _src_locator New value to be moved in member src_locator - */ - eProsima_user_DllExport void src_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _src_locator); - - /*! - * @brief This function returns a constant reference to member src_locator - * @return Constant reference to member src_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& src_locator() const; - - /*! - * @brief This function returns a reference to member src_locator - * @return Reference to member src_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& src_locator(); - - - /*! - * @brief This function copies the value in member dst_locator - * @param _dst_locator New value to be copied in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); - - /*! - * @brief This function moves the value in member dst_locator - * @param _dst_locator New value to be moved in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); - - /*! - * @brief This function returns a constant reference to member dst_locator - * @return Constant reference to member dst_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; - - /*! - * @brief This function returns a reference to member dst_locator - * @return Reference to member dst_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Locator2LocatorData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::Locator_s m_src_locator; - eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure EntityData defined by the user in the IDL file. - * @ingroup types - */ - class EntityData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData( - const EntityData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData( - EntityData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData& operator =( - const EntityData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData& operator =( - EntityData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityData& x) const; - - /*! - * @brief This function copies the value in member guid - * @param _guid New value to be copied in member guid - */ - eProsima_user_DllExport void guid( - const eprosima::fastdds::statistics::detail::GUID_s& _guid); - - /*! - * @brief This function moves the value in member guid - * @param _guid New value to be moved in member guid - */ - eProsima_user_DllExport void guid( - eprosima::fastdds::statistics::detail::GUID_s&& _guid); - - /*! - * @brief This function returns a constant reference to member guid - * @return Constant reference to member guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; - - /*! - * @brief This function returns a reference to member guid - * @return Reference to member guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::EntityData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_guid; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure PhysicalData defined by the user in the IDL file. - * @ingroup types - */ - class PhysicalData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport PhysicalData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~PhysicalData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData( - const PhysicalData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData( - PhysicalData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData& operator =( - const PhysicalData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData& operator =( - PhysicalData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::PhysicalData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const PhysicalData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::PhysicalData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const PhysicalData& x) const; - - /*! - * @brief This function copies the value in member participant_guid - * @param _participant_guid New value to be copied in member participant_guid - */ - eProsima_user_DllExport void participant_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _participant_guid); - - /*! - * @brief This function moves the value in member participant_guid - * @param _participant_guid New value to be moved in member participant_guid - */ - eProsima_user_DllExport void participant_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _participant_guid); - - /*! - * @brief This function returns a constant reference to member participant_guid - * @return Constant reference to member participant_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& participant_guid() const; - - /*! - * @brief This function returns a reference to member participant_guid - * @return Reference to member participant_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& participant_guid(); - - - /*! - * @brief This function copies the value in member host - * @param _host New value to be copied in member host - */ - eProsima_user_DllExport void host( - const std::string& _host); - - /*! - * @brief This function moves the value in member host - * @param _host New value to be moved in member host - */ - eProsima_user_DllExport void host( - std::string&& _host); - - /*! - * @brief This function returns a constant reference to member host - * @return Constant reference to member host - */ - eProsima_user_DllExport const std::string& host() const; - - /*! - * @brief This function returns a reference to member host - * @return Reference to member host - */ - eProsima_user_DllExport std::string& host(); - - - /*! - * @brief This function copies the value in member user - * @param _user New value to be copied in member user - */ - eProsima_user_DllExport void user( - const std::string& _user); - - /*! - * @brief This function moves the value in member user - * @param _user New value to be moved in member user - */ - eProsima_user_DllExport void user( - std::string&& _user); - - /*! - * @brief This function returns a constant reference to member user - * @return Constant reference to member user - */ - eProsima_user_DllExport const std::string& user() const; - - /*! - * @brief This function returns a reference to member user - * @return Reference to member user - */ - eProsima_user_DllExport std::string& user(); - - - /*! - * @brief This function copies the value in member process - * @param _process New value to be copied in member process - */ - eProsima_user_DllExport void process( - const std::string& _process); - - /*! - * @brief This function moves the value in member process - * @param _process New value to be moved in member process - */ - eProsima_user_DllExport void process( - std::string&& _process); - - /*! - * @brief This function returns a constant reference to member process - * @return Constant reference to member process - */ - eProsima_user_DllExport const std::string& process() const; - - /*! - * @brief This function returns a reference to member process - * @return Reference to member process - */ - eProsima_user_DllExport std::string& process(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::PhysicalData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_participant_guid; - std::string m_host; - std::string m_user; - std::string m_process; - - }; - - /*! - * @brief This class represents the bitmask EventKind defined by the user in the IDL file. - * @ingroup types - */ - enum EventKindBits : uint32_t - { - HISTORY2HISTORY_LATENCY = 0x01ull << 0, - NETWORK_LATENCY = 0x01ull << 1, - PUBLICATION_THROUGHPUT = 0x01ull << 2, - SUBSCRIPTION_THROUGHPUT = 0x01ull << 3, - RTPS_SENT = 0x01ull << 4, - RTPS_LOST = 0x01ull << 5, - RESENT_DATAS = 0x01ull << 6, - HEARTBEAT_COUNT = 0x01ull << 7, - ACKNACK_COUNT = 0x01ull << 8, - NACKFRAG_COUNT = 0x01ull << 9, - GAP_COUNT = 0x01ull << 10, - DATA_COUNT = 0x01ull << 11, - PDP_PACKETS = 0x01ull << 12, - EDP_PACKETS = 0x01ull << 13, - DISCOVERED_ENTITY = 0x01ull << 14, - SAMPLE_DATAS = 0x01ull << 15, - PHYSICAL_DATA = 0x01ull << 16 - }; - typedef uint32_t EventKind; - - - /*! - * @brief This class represents the union Data defined by the user in the IDL file. - * @ingroup types - */ - class Data - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Data(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Data(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data( - const Data& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data( - Data&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data& operator =( - const Data& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data& operator =( - Data&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Data object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Data& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Data object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Data& x) const; - - /*! - * @brief This function sets the discriminator value. - * @param __d New value for the discriminator. - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. - */ - eProsima_user_DllExport void _d( - eprosima::fastdds::statistics::EventKind __d); - - /*! - * @brief This function returns the value of the discriminator. - * @return Value of the discriminator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EventKind _d() const; - - /*! - * @brief This function returns a reference to the discriminator. - * @return Reference to the discriminator. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EventKind& _d(); - - /*! - * @brief This function copies the value in member writer_reader_data - * @param _writer_reader_data New value to be copied in member writer_reader_data - */ - eProsima_user_DllExport void writer_reader_data( - const eprosima::fastdds::statistics::WriterReaderData& _writer_reader_data); - - /*! - * @brief This function moves the value in member writer_reader_data - * @param _writer_reader_data New value to be moved in member writer_reader_data - */ - eProsima_user_DllExport void writer_reader_data( - eprosima::fastdds::statistics::WriterReaderData&& _writer_reader_data); - - /*! - * @brief This function returns a constant reference to member writer_reader_data - * @return Constant reference to member writer_reader_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::WriterReaderData& writer_reader_data() const; - - /*! - * @brief This function returns a reference to member writer_reader_data - * @return Reference to member writer_reader_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::WriterReaderData& writer_reader_data(); - - - /*! - * @brief This function copies the value in member locator2locator_data - * @param _locator2locator_data New value to be copied in member locator2locator_data - */ - eProsima_user_DllExport void locator2locator_data( - const eprosima::fastdds::statistics::Locator2LocatorData& _locator2locator_data); - - /*! - * @brief This function moves the value in member locator2locator_data - * @param _locator2locator_data New value to be moved in member locator2locator_data - */ - eProsima_user_DllExport void locator2locator_data( - eprosima::fastdds::statistics::Locator2LocatorData&& _locator2locator_data); - - /*! - * @brief This function returns a constant reference to member locator2locator_data - * @return Constant reference to member locator2locator_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data() const; - - /*! - * @brief This function returns a reference to member locator2locator_data - * @return Reference to member locator2locator_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data(); - - - /*! - * @brief This function copies the value in member entity_data - * @param _entity_data New value to be copied in member entity_data - */ - eProsima_user_DllExport void entity_data( - const eprosima::fastdds::statistics::EntityData& _entity_data); - - /*! - * @brief This function moves the value in member entity_data - * @param _entity_data New value to be moved in member entity_data - */ - eProsima_user_DllExport void entity_data( - eprosima::fastdds::statistics::EntityData&& _entity_data); - - /*! - * @brief This function returns a constant reference to member entity_data - * @return Constant reference to member entity_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::EntityData& entity_data() const; - - /*! - * @brief This function returns a reference to member entity_data - * @return Reference to member entity_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EntityData& entity_data(); - - - /*! - * @brief This function copies the value in member entity2locator_traffic - * @param _entity2locator_traffic New value to be copied in member entity2locator_traffic - */ - eProsima_user_DllExport void entity2locator_traffic( - const eprosima::fastdds::statistics::Entity2LocatorTraffic& _entity2locator_traffic); - - /*! - * @brief This function moves the value in member entity2locator_traffic - * @param _entity2locator_traffic New value to be moved in member entity2locator_traffic - */ - eProsima_user_DllExport void entity2locator_traffic( - eprosima::fastdds::statistics::Entity2LocatorTraffic&& _entity2locator_traffic); - - /*! - * @brief This function returns a constant reference to member entity2locator_traffic - * @return Constant reference to member entity2locator_traffic - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic() const; - - /*! - * @brief This function returns a reference to member entity2locator_traffic - * @return Reference to member entity2locator_traffic - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic(); - - - /*! - * @brief This function copies the value in member entity_count - * @param _entity_count New value to be copied in member entity_count - */ - eProsima_user_DllExport void entity_count( - const eprosima::fastdds::statistics::EntityCount& _entity_count); - - /*! - * @brief This function moves the value in member entity_count - * @param _entity_count New value to be moved in member entity_count - */ - eProsima_user_DllExport void entity_count( - eprosima::fastdds::statistics::EntityCount&& _entity_count); - - /*! - * @brief This function returns a constant reference to member entity_count - * @return Constant reference to member entity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::EntityCount& entity_count() const; - - /*! - * @brief This function returns a reference to member entity_count - * @return Reference to member entity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EntityCount& entity_count(); - - - /*! - * @brief This function copies the value in member discovery_time - * @param _discovery_time New value to be copied in member discovery_time - */ - eProsima_user_DllExport void discovery_time( - const eprosima::fastdds::statistics::DiscoveryTime& _discovery_time); - - /*! - * @brief This function moves the value in member discovery_time - * @param _discovery_time New value to be moved in member discovery_time - */ - eProsima_user_DllExport void discovery_time( - eprosima::fastdds::statistics::DiscoveryTime&& _discovery_time); - - /*! - * @brief This function returns a constant reference to member discovery_time - * @return Constant reference to member discovery_time - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::DiscoveryTime& discovery_time() const; - - /*! - * @brief This function returns a reference to member discovery_time - * @return Reference to member discovery_time - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::DiscoveryTime& discovery_time(); - - - /*! - * @brief This function copies the value in member sample_identity_count - * @param _sample_identity_count New value to be copied in member sample_identity_count - */ - eProsima_user_DllExport void sample_identity_count( - const eprosima::fastdds::statistics::SampleIdentityCount& _sample_identity_count); - - /*! - * @brief This function moves the value in member sample_identity_count - * @param _sample_identity_count New value to be moved in member sample_identity_count - */ - eProsima_user_DllExport void sample_identity_count( - eprosima::fastdds::statistics::SampleIdentityCount&& _sample_identity_count); - - /*! - * @brief This function returns a constant reference to member sample_identity_count - * @return Constant reference to member sample_identity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count() const; - - /*! - * @brief This function returns a reference to member sample_identity_count - * @return Reference to member sample_identity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count(); - - - /*! - * @brief This function copies the value in member physical_data - * @param _physical_data New value to be copied in member physical_data - */ - eProsima_user_DllExport void physical_data( - const eprosima::fastdds::statistics::PhysicalData& _physical_data); - - /*! - * @brief This function moves the value in member physical_data - * @param _physical_data New value to be moved in member physical_data - */ - eProsima_user_DllExport void physical_data( - eprosima::fastdds::statistics::PhysicalData&& _physical_data); - - /*! - * @brief This function returns a constant reference to member physical_data - * @return Constant reference to member physical_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::PhysicalData& physical_data() const; - - /*! - * @brief This function returns a reference to member physical_data - * @return Reference to member physical_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::PhysicalData& physical_data(); - - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Data& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - - private: - - eprosima::fastdds::statistics::EventKind m__d; - - eprosima::fastdds::statistics::WriterReaderData m_writer_reader_data; - eprosima::fastdds::statistics::Locator2LocatorData m_locator2locator_data; - eprosima::fastdds::statistics::EntityData m_entity_data; - eprosima::fastdds::statistics::Entity2LocatorTraffic m_entity2locator_traffic; - eprosima::fastdds::statistics::EntityCount m_entity_count; - eprosima::fastdds::statistics::DiscoveryTime m_discovery_time; - eprosima::fastdds::statistics::SampleIdentityCount m_sample_identity_count; - eprosima::fastdds::statistics::PhysicalData m_physical_data; - }; - - } // namespace statistics - } // namespace fastdds +namespace fastdds { +namespace statistics { +namespace detail { + + +/*! + * @brief This class represents the structure EntityId_s defined by the user in the IDL file. + * @ingroup types + */ +class EntityId_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityId_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityId_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s( + const EntityId_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s( + EntityId_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s& operator =( + const EntityId_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s& operator =( + EntityId_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityId_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityId_s& x) const; + + /*! + * @brief This function copies the value in member value + * @param _value New value to be copied in member value + */ + eProsima_user_DllExport void value( + const std::array& _value); + + /*! + * @brief This function moves the value in member value + * @param _value New value to be moved in member value + */ + eProsima_user_DllExport void value( + std::array&& _value); + + /*! + * @brief This function returns a constant reference to member value + * @return Constant reference to member value + */ + eProsima_user_DllExport const std::array& value() const; + + /*! + * @brief This function returns a reference to member value + * @return Reference to member value + */ + eProsima_user_DllExport std::array& value(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::EntityId_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + std::array m_value; + +}; + + + +/*! + * @brief This class represents the structure GuidPrefix_s defined by the user in the IDL file. + * @ingroup types + */ +class GuidPrefix_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport GuidPrefix_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~GuidPrefix_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s( + const GuidPrefix_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s( + GuidPrefix_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s& operator =( + const GuidPrefix_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s& operator =( + GuidPrefix_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const GuidPrefix_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const GuidPrefix_s& x) const; + + /*! + * @brief This function copies the value in member value + * @param _value New value to be copied in member value + */ + eProsima_user_DllExport void value( + const std::array& _value); + + /*! + * @brief This function moves the value in member value + * @param _value New value to be moved in member value + */ + eProsima_user_DllExport void value( + std::array&& _value); + + /*! + * @brief This function returns a constant reference to member value + * @return Constant reference to member value + */ + eProsima_user_DllExport const std::array& value() const; + + /*! + * @brief This function returns a reference to member value + * @return Reference to member value + */ + eProsima_user_DllExport std::array& value(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::GuidPrefix_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + std::array m_value; + +}; + + + +/*! + * @brief This class represents the structure GUID_s defined by the user in the IDL file. + * @ingroup types + */ +class GUID_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport GUID_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~GUID_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s( + const GUID_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s( + GUID_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s& operator =( + const GUID_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s& operator =( + GUID_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const GUID_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const GUID_s& x) const; + + /*! + * @brief This function copies the value in member guidPrefix + * @param _guidPrefix New value to be copied in member guidPrefix + */ + eProsima_user_DllExport void guidPrefix( + const eprosima::fastdds::statistics::detail::GuidPrefix_s& _guidPrefix); + + /*! + * @brief This function moves the value in member guidPrefix + * @param _guidPrefix New value to be moved in member guidPrefix + */ + eProsima_user_DllExport void guidPrefix( + eprosima::fastdds::statistics::detail::GuidPrefix_s&& _guidPrefix); + + /*! + * @brief This function returns a constant reference to member guidPrefix + * @return Constant reference to member guidPrefix + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix() const; + + /*! + * @brief This function returns a reference to member guidPrefix + * @return Reference to member guidPrefix + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix(); + + + /*! + * @brief This function copies the value in member entityId + * @param _entityId New value to be copied in member entityId + */ + eProsima_user_DllExport void entityId( + const eprosima::fastdds::statistics::detail::EntityId_s& _entityId); + + /*! + * @brief This function moves the value in member entityId + * @param _entityId New value to be moved in member entityId + */ + eProsima_user_DllExport void entityId( + eprosima::fastdds::statistics::detail::EntityId_s&& _entityId); + + /*! + * @brief This function returns a constant reference to member entityId + * @return Constant reference to member entityId + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::EntityId_s& entityId() const; + + /*! + * @brief This function returns a reference to member entityId + * @return Reference to member entityId + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::EntityId_s& entityId(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::GUID_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GuidPrefix_s m_guidPrefix; + eprosima::fastdds::statistics::detail::EntityId_s m_entityId; + +}; + + + +/*! + * @brief This class represents the structure SequenceNumber_s defined by the user in the IDL file. + * @ingroup types + */ +class SequenceNumber_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SequenceNumber_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SequenceNumber_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s( + const SequenceNumber_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s( + SequenceNumber_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s& operator =( + const SequenceNumber_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s& operator =( + SequenceNumber_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SequenceNumber_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SequenceNumber_s& x) const; + + /*! + * @brief This function sets a value in member high + * @param _high New value for member high + */ + eProsima_user_DllExport void high( + int32_t _high); + + /*! + * @brief This function returns the value of member high + * @return Value of member high + */ + eProsima_user_DllExport int32_t high() const; + + /*! + * @brief This function returns a reference to member high + * @return Reference to member high + */ + eProsima_user_DllExport int32_t& high(); + + + /*! + * @brief This function sets a value in member low + * @param _low New value for member low + */ + eProsima_user_DllExport void low( + uint32_t _low); + + /*! + * @brief This function returns the value of member low + * @return Value of member low + */ + eProsima_user_DllExport uint32_t low() const; + + /*! + * @brief This function returns a reference to member low + * @return Reference to member low + */ + eProsima_user_DllExport uint32_t& low(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::SequenceNumber_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + int32_t m_high; + uint32_t m_low; + +}; + + + +/*! + * @brief This class represents the structure SampleIdentity_s defined by the user in the IDL file. + * @ingroup types + */ +class SampleIdentity_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SampleIdentity_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SampleIdentity_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s( + const SampleIdentity_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s( + SampleIdentity_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s& operator =( + const SampleIdentity_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s& operator =( + SampleIdentity_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SampleIdentity_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SampleIdentity_s& x) const; + + /*! + * @brief This function copies the value in member writer_guid + * @param _writer_guid New value to be copied in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); + + /*! + * @brief This function moves the value in member writer_guid + * @param _writer_guid New value to be moved in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); + + /*! + * @brief This function returns a constant reference to member writer_guid + * @return Constant reference to member writer_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; + + /*! + * @brief This function returns a reference to member writer_guid + * @return Reference to member writer_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); + + + /*! + * @brief This function copies the value in member sequence_number + * @param _sequence_number New value to be copied in member sequence_number + */ + eProsima_user_DllExport void sequence_number( + const eprosima::fastdds::statistics::detail::SequenceNumber_s& _sequence_number); + + /*! + * @brief This function moves the value in member sequence_number + * @param _sequence_number New value to be moved in member sequence_number + */ + eProsima_user_DllExport void sequence_number( + eprosima::fastdds::statistics::detail::SequenceNumber_s&& _sequence_number); + + /*! + * @brief This function returns a constant reference to member sequence_number + * @return Constant reference to member sequence_number + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number() const; + + /*! + * @brief This function returns a reference to member sequence_number + * @return Reference to member sequence_number + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::SampleIdentity_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; + eprosima::fastdds::statistics::detail::SequenceNumber_s m_sequence_number; + +}; + + + +/*! + * @brief This class represents the structure Locator_s defined by the user in the IDL file. + * @ingroup types + */ +class Locator_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Locator_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Locator_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s( + const Locator_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s( + Locator_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s& operator =( + const Locator_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s& operator =( + Locator_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Locator_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Locator_s& x) const; + + /*! + * @brief This function sets a value in member kind + * @param _kind New value for member kind + */ + eProsima_user_DllExport void kind( + int32_t _kind); + + /*! + * @brief This function returns the value of member kind + * @return Value of member kind + */ + eProsima_user_DllExport int32_t kind() const; + + /*! + * @brief This function returns a reference to member kind + * @return Reference to member kind + */ + eProsima_user_DllExport int32_t& kind(); + + + /*! + * @brief This function sets a value in member port + * @param _port New value for member port + */ + eProsima_user_DllExport void port( + uint32_t _port); + + /*! + * @brief This function returns the value of member port + * @return Value of member port + */ + eProsima_user_DllExport uint32_t port() const; + + /*! + * @brief This function returns a reference to member port + * @return Reference to member port + */ + eProsima_user_DllExport uint32_t& port(); + + + /*! + * @brief This function copies the value in member address + * @param _address New value to be copied in member address + */ + eProsima_user_DllExport void address( + const std::array& _address); + + /*! + * @brief This function moves the value in member address + * @param _address New value to be moved in member address + */ + eProsima_user_DllExport void address( + std::array&& _address); + + /*! + * @brief This function returns a constant reference to member address + * @return Constant reference to member address + */ + eProsima_user_DllExport const std::array& address() const; + + /*! + * @brief This function returns a reference to member address + * @return Reference to member address + */ + eProsima_user_DllExport std::array& address(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::Locator_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + int32_t m_kind; + uint32_t m_port; + std::array m_address; + +}; + +} // namespace detail + + +/*! + * @brief This class represents the structure DiscoveryTime defined by the user in the IDL file. + * @ingroup types + */ +class DiscoveryTime +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport DiscoveryTime(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~DiscoveryTime(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime( + const DiscoveryTime& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime( + DiscoveryTime&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime& operator =( + const DiscoveryTime& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime& operator =( + DiscoveryTime&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. + */ + eProsima_user_DllExport bool operator ==( + const DiscoveryTime& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. + */ + eProsima_user_DllExport bool operator !=( + const DiscoveryTime& x) const; + + /*! + * @brief This function copies the value in member local_participant_guid + * @param _local_participant_guid New value to be copied in member local_participant_guid + */ + eProsima_user_DllExport void local_participant_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _local_participant_guid); + + /*! + * @brief This function moves the value in member local_participant_guid + * @param _local_participant_guid New value to be moved in member local_participant_guid + */ + eProsima_user_DllExport void local_participant_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _local_participant_guid); + + /*! + * @brief This function returns a constant reference to member local_participant_guid + * @return Constant reference to member local_participant_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid() const; + + /*! + * @brief This function returns a reference to member local_participant_guid + * @return Reference to member local_participant_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid(); + + + /*! + * @brief This function copies the value in member remote_entity_guid + * @param _remote_entity_guid New value to be copied in member remote_entity_guid + */ + eProsima_user_DllExport void remote_entity_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _remote_entity_guid); + + /*! + * @brief This function moves the value in member remote_entity_guid + * @param _remote_entity_guid New value to be moved in member remote_entity_guid + */ + eProsima_user_DllExport void remote_entity_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _remote_entity_guid); + + /*! + * @brief This function returns a constant reference to member remote_entity_guid + * @return Constant reference to member remote_entity_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid() const; + + /*! + * @brief This function returns a reference to member remote_entity_guid + * @return Reference to member remote_entity_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid(); + + + /*! + * @brief This function sets a value in member time + * @param _time New value for member time + */ + eProsima_user_DllExport void time( + uint64_t _time); + + /*! + * @brief This function returns the value of member time + * @return Value of member time + */ + eProsima_user_DllExport uint64_t time() const; + + /*! + * @brief This function returns a reference to member time + * @return Reference to member time + */ + eProsima_user_DllExport uint64_t& time(); + + + /*! + * @brief This function copies the value in member host + * @param _host New value to be copied in member host + */ + eProsima_user_DllExport void host( + const std::string& _host); + + /*! + * @brief This function moves the value in member host + * @param _host New value to be moved in member host + */ + eProsima_user_DllExport void host( + std::string&& _host); + + /*! + * @brief This function returns a constant reference to member host + * @return Constant reference to member host + */ + eProsima_user_DllExport const std::string& host() const; + + /*! + * @brief This function returns a reference to member host + * @return Reference to member host + */ + eProsima_user_DllExport std::string& host(); + + + /*! + * @brief This function copies the value in member user + * @param _user New value to be copied in member user + */ + eProsima_user_DllExport void user( + const std::string& _user); + + /*! + * @brief This function moves the value in member user + * @param _user New value to be moved in member user + */ + eProsima_user_DllExport void user( + std::string&& _user); + + /*! + * @brief This function returns a constant reference to member user + * @return Constant reference to member user + */ + eProsima_user_DllExport const std::string& user() const; + + /*! + * @brief This function returns a reference to member user + * @return Reference to member user + */ + eProsima_user_DllExport std::string& user(); + + + /*! + * @brief This function copies the value in member process + * @param _process New value to be copied in member process + */ + eProsima_user_DllExport void process( + const std::string& _process); + + /*! + * @brief This function moves the value in member process + * @param _process New value to be moved in member process + */ + eProsima_user_DllExport void process( + std::string&& _process); + + /*! + * @brief This function returns a constant reference to member process + * @return Constant reference to member process + */ + eProsima_user_DllExport const std::string& process() const; + + /*! + * @brief This function returns a reference to member process + * @return Reference to member process + */ + eProsima_user_DllExport std::string& process(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::DiscoveryTime& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_local_participant_guid; + eprosima::fastdds::statistics::detail::GUID_s m_remote_entity_guid; + uint64_t m_time; + std::string m_host; + std::string m_user; + std::string m_process; + +}; + + + +/*! + * @brief This class represents the structure EntityCount defined by the user in the IDL file. + * @ingroup types + */ +class EntityCount +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityCount(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityCount(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount( + const EntityCount& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount( + EntityCount&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount& operator =( + const EntityCount& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount& operator =( + EntityCount&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityCount object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityCount& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityCount object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityCount& x) const; + + /*! + * @brief This function copies the value in member guid + * @param _guid New value to be copied in member guid + */ + eProsima_user_DllExport void guid( + const eprosima::fastdds::statistics::detail::GUID_s& _guid); + + /*! + * @brief This function moves the value in member guid + * @param _guid New value to be moved in member guid + */ + eProsima_user_DllExport void guid( + eprosima::fastdds::statistics::detail::GUID_s&& _guid); + + /*! + * @brief This function returns a constant reference to member guid + * @return Constant reference to member guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; + + /*! + * @brief This function returns a reference to member guid + * @return Reference to member guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); + + + /*! + * @brief This function sets a value in member count + * @param _count New value for member count + */ + eProsima_user_DllExport void count( + uint64_t _count); + + /*! + * @brief This function returns the value of member count + * @return Value of member count + */ + eProsima_user_DllExport uint64_t count() const; + + /*! + * @brief This function returns a reference to member count + * @return Reference to member count + */ + eProsima_user_DllExport uint64_t& count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::EntityCount& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_guid; + uint64_t m_count; + +}; + + + +/*! + * @brief This class represents the structure SampleIdentityCount defined by the user in the IDL file. + * @ingroup types + */ +class SampleIdentityCount +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SampleIdentityCount(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SampleIdentityCount(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount( + const SampleIdentityCount& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount( + SampleIdentityCount&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount& operator =( + const SampleIdentityCount& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount& operator =( + SampleIdentityCount&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SampleIdentityCount& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SampleIdentityCount& x) const; + + /*! + * @brief This function copies the value in member sample_id + * @param _sample_id New value to be copied in member sample_id + */ + eProsima_user_DllExport void sample_id( + const eprosima::fastdds::statistics::detail::SampleIdentity_s& _sample_id); + + /*! + * @brief This function moves the value in member sample_id + * @param _sample_id New value to be moved in member sample_id + */ + eProsima_user_DllExport void sample_id( + eprosima::fastdds::statistics::detail::SampleIdentity_s&& _sample_id); + + /*! + * @brief This function returns a constant reference to member sample_id + * @return Constant reference to member sample_id + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id() const; + + /*! + * @brief This function returns a reference to member sample_id + * @return Reference to member sample_id + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id(); + + + /*! + * @brief This function sets a value in member count + * @param _count New value for member count + */ + eProsima_user_DllExport void count( + uint64_t _count); + + /*! + * @brief This function returns the value of member count + * @return Value of member count + */ + eProsima_user_DllExport uint64_t count() const; + + /*! + * @brief This function returns a reference to member count + * @return Reference to member count + */ + eProsima_user_DllExport uint64_t& count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::SampleIdentityCount& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::SampleIdentity_s m_sample_id; + uint64_t m_count; + +}; + + + +/*! + * @brief This class represents the structure Entity2LocatorTraffic defined by the user in the IDL file. + * @ingroup types + */ +class Entity2LocatorTraffic +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Entity2LocatorTraffic(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Entity2LocatorTraffic(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic( + const Entity2LocatorTraffic& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic( + Entity2LocatorTraffic&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic& operator =( + const Entity2LocatorTraffic& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic& operator =( + Entity2LocatorTraffic&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Entity2LocatorTraffic& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Entity2LocatorTraffic& x) const; + + /*! + * @brief This function copies the value in member src_guid + * @param _src_guid New value to be copied in member src_guid + */ + eProsima_user_DllExport void src_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _src_guid); + + /*! + * @brief This function moves the value in member src_guid + * @param _src_guid New value to be moved in member src_guid + */ + eProsima_user_DllExport void src_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _src_guid); + + /*! + * @brief This function returns a constant reference to member src_guid + * @return Constant reference to member src_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& src_guid() const; + + /*! + * @brief This function returns a reference to member src_guid + * @return Reference to member src_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& src_guid(); + + + /*! + * @brief This function copies the value in member dst_locator + * @param _dst_locator New value to be copied in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); + + /*! + * @brief This function moves the value in member dst_locator + * @param _dst_locator New value to be moved in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); + + /*! + * @brief This function returns a constant reference to member dst_locator + * @return Constant reference to member dst_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; + + /*! + * @brief This function returns a reference to member dst_locator + * @return Reference to member dst_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); + + + /*! + * @brief This function sets a value in member packet_count + * @param _packet_count New value for member packet_count + */ + eProsima_user_DllExport void packet_count( + uint64_t _packet_count); + + /*! + * @brief This function returns the value of member packet_count + * @return Value of member packet_count + */ + eProsima_user_DllExport uint64_t packet_count() const; + + /*! + * @brief This function returns a reference to member packet_count + * @return Reference to member packet_count + */ + eProsima_user_DllExport uint64_t& packet_count(); + + + /*! + * @brief This function sets a value in member byte_count + * @param _byte_count New value for member byte_count + */ + eProsima_user_DllExport void byte_count( + uint64_t _byte_count); + + /*! + * @brief This function returns the value of member byte_count + * @return Value of member byte_count + */ + eProsima_user_DllExport uint64_t byte_count() const; + + /*! + * @brief This function returns a reference to member byte_count + * @return Reference to member byte_count + */ + eProsima_user_DllExport uint64_t& byte_count(); + + + /*! + * @brief This function sets a value in member byte_magnitude_order + * @param _byte_magnitude_order New value for member byte_magnitude_order + */ + eProsima_user_DllExport void byte_magnitude_order( + int16_t _byte_magnitude_order); + + /*! + * @brief This function returns the value of member byte_magnitude_order + * @return Value of member byte_magnitude_order + */ + eProsima_user_DllExport int16_t byte_magnitude_order() const; + + /*! + * @brief This function returns a reference to member byte_magnitude_order + * @return Reference to member byte_magnitude_order + */ + eProsima_user_DllExport int16_t& byte_magnitude_order(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Entity2LocatorTraffic& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_src_guid; + eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; + uint64_t m_packet_count; + uint64_t m_byte_count; + int16_t m_byte_magnitude_order; + +}; + + + +/*! + * @brief This class represents the structure WriterReaderData defined by the user in the IDL file. + * @ingroup types + */ +class WriterReaderData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport WriterReaderData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~WriterReaderData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData( + const WriterReaderData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData( + WriterReaderData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData& operator =( + const WriterReaderData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData& operator =( + WriterReaderData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const WriterReaderData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const WriterReaderData& x) const; + + /*! + * @brief This function copies the value in member writer_guid + * @param _writer_guid New value to be copied in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); + + /*! + * @brief This function moves the value in member writer_guid + * @param _writer_guid New value to be moved in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); + + /*! + * @brief This function returns a constant reference to member writer_guid + * @return Constant reference to member writer_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; + + /*! + * @brief This function returns a reference to member writer_guid + * @return Reference to member writer_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); + + + /*! + * @brief This function copies the value in member reader_guid + * @param _reader_guid New value to be copied in member reader_guid + */ + eProsima_user_DllExport void reader_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _reader_guid); + + /*! + * @brief This function moves the value in member reader_guid + * @param _reader_guid New value to be moved in member reader_guid + */ + eProsima_user_DllExport void reader_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _reader_guid); + + /*! + * @brief This function returns a constant reference to member reader_guid + * @return Constant reference to member reader_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& reader_guid() const; + + /*! + * @brief This function returns a reference to member reader_guid + * @return Reference to member reader_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& reader_guid(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::WriterReaderData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; + eprosima::fastdds::statistics::detail::GUID_s m_reader_guid; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure Locator2LocatorData defined by the user in the IDL file. + * @ingroup types + */ +class Locator2LocatorData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Locator2LocatorData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Locator2LocatorData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData( + const Locator2LocatorData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData( + Locator2LocatorData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData& operator =( + const Locator2LocatorData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData& operator =( + Locator2LocatorData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Locator2LocatorData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Locator2LocatorData& x) const; + + /*! + * @brief This function copies the value in member src_locator + * @param _src_locator New value to be copied in member src_locator + */ + eProsima_user_DllExport void src_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _src_locator); + + /*! + * @brief This function moves the value in member src_locator + * @param _src_locator New value to be moved in member src_locator + */ + eProsima_user_DllExport void src_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _src_locator); + + /*! + * @brief This function returns a constant reference to member src_locator + * @return Constant reference to member src_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& src_locator() const; + + /*! + * @brief This function returns a reference to member src_locator + * @return Reference to member src_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& src_locator(); + + + /*! + * @brief This function copies the value in member dst_locator + * @param _dst_locator New value to be copied in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); + + /*! + * @brief This function moves the value in member dst_locator + * @param _dst_locator New value to be moved in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); + + /*! + * @brief This function returns a constant reference to member dst_locator + * @return Constant reference to member dst_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; + + /*! + * @brief This function returns a reference to member dst_locator + * @return Reference to member dst_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Locator2LocatorData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::Locator_s m_src_locator; + eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure EntityData defined by the user in the IDL file. + * @ingroup types + */ +class EntityData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData( + const EntityData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData( + EntityData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData& operator =( + const EntityData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData& operator =( + EntityData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityData& x) const; + + /*! + * @brief This function copies the value in member guid + * @param _guid New value to be copied in member guid + */ + eProsima_user_DllExport void guid( + const eprosima::fastdds::statistics::detail::GUID_s& _guid); + + /*! + * @brief This function moves the value in member guid + * @param _guid New value to be moved in member guid + */ + eProsima_user_DllExport void guid( + eprosima::fastdds::statistics::detail::GUID_s&& _guid); + + /*! + * @brief This function returns a constant reference to member guid + * @return Constant reference to member guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; + + /*! + * @brief This function returns a reference to member guid + * @return Reference to member guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::EntityData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_guid; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure PhysicalData defined by the user in the IDL file. + * @ingroup types + */ +class PhysicalData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport PhysicalData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~PhysicalData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData( + const PhysicalData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData( + PhysicalData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData& operator =( + const PhysicalData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData& operator =( + PhysicalData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::PhysicalData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const PhysicalData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::PhysicalData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const PhysicalData& x) const; + + /*! + * @brief This function copies the value in member participant_guid + * @param _participant_guid New value to be copied in member participant_guid + */ + eProsima_user_DllExport void participant_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _participant_guid); + + /*! + * @brief This function moves the value in member participant_guid + * @param _participant_guid New value to be moved in member participant_guid + */ + eProsima_user_DllExport void participant_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _participant_guid); + + /*! + * @brief This function returns a constant reference to member participant_guid + * @return Constant reference to member participant_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& participant_guid() const; + + /*! + * @brief This function returns a reference to member participant_guid + * @return Reference to member participant_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& participant_guid(); + + + /*! + * @brief This function copies the value in member host + * @param _host New value to be copied in member host + */ + eProsima_user_DllExport void host( + const std::string& _host); + + /*! + * @brief This function moves the value in member host + * @param _host New value to be moved in member host + */ + eProsima_user_DllExport void host( + std::string&& _host); + + /*! + * @brief This function returns a constant reference to member host + * @return Constant reference to member host + */ + eProsima_user_DllExport const std::string& host() const; + + /*! + * @brief This function returns a reference to member host + * @return Reference to member host + */ + eProsima_user_DllExport std::string& host(); + + + /*! + * @brief This function copies the value in member user + * @param _user New value to be copied in member user + */ + eProsima_user_DllExport void user( + const std::string& _user); + + /*! + * @brief This function moves the value in member user + * @param _user New value to be moved in member user + */ + eProsima_user_DllExport void user( + std::string&& _user); + + /*! + * @brief This function returns a constant reference to member user + * @return Constant reference to member user + */ + eProsima_user_DllExport const std::string& user() const; + + /*! + * @brief This function returns a reference to member user + * @return Reference to member user + */ + eProsima_user_DllExport std::string& user(); + + + /*! + * @brief This function copies the value in member process + * @param _process New value to be copied in member process + */ + eProsima_user_DllExport void process( + const std::string& _process); + + /*! + * @brief This function moves the value in member process + * @param _process New value to be moved in member process + */ + eProsima_user_DllExport void process( + std::string&& _process); + + /*! + * @brief This function returns a constant reference to member process + * @return Constant reference to member process + */ + eProsima_user_DllExport const std::string& process() const; + + /*! + * @brief This function returns a reference to member process + * @return Reference to member process + */ + eProsima_user_DllExport std::string& process(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::PhysicalData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_participant_guid; + std::string m_host; + std::string m_user; + std::string m_process; + +}; + +/*! + * @brief This class represents the bitmask EventKind defined by the user in the IDL file. + * @ingroup types + */ +enum EventKindBits : uint32_t +{ + HISTORY2HISTORY_LATENCY = 0x01ull << 0, + NETWORK_LATENCY = 0x01ull << 1, + PUBLICATION_THROUGHPUT = 0x01ull << 2, + SUBSCRIPTION_THROUGHPUT = 0x01ull << 3, + RTPS_SENT = 0x01ull << 4, + RTPS_LOST = 0x01ull << 5, + RESENT_DATAS = 0x01ull << 6, + HEARTBEAT_COUNT = 0x01ull << 7, + ACKNACK_COUNT = 0x01ull << 8, + NACKFRAG_COUNT = 0x01ull << 9, + GAP_COUNT = 0x01ull << 10, + DATA_COUNT = 0x01ull << 11, + PDP_PACKETS = 0x01ull << 12, + EDP_PACKETS = 0x01ull << 13, + DISCOVERED_ENTITY = 0x01ull << 14, + SAMPLE_DATAS = 0x01ull << 15, + PHYSICAL_DATA = 0x01ull << 16 +}; +typedef uint32_t EventKind; + + +/*! + * @brief This class represents the union Data defined by the user in the IDL file. + * @ingroup types + */ +class Data +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Data(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Data(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data( + const Data& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data( + Data&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data& operator =( + const Data& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data& operator =( + Data&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Data object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Data& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Data object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Data& x) const; + + /*! + * @brief This function sets the discriminator value. + * @param __d New value for the discriminator. + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. + */ + eProsima_user_DllExport void _d( + eprosima::fastdds::statistics::EventKind __d); + + /*! + * @brief This function returns the value of the discriminator. + * @return Value of the discriminator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EventKind _d() const; + + /*! + * @brief This function returns a reference to the discriminator. + * @return Reference to the discriminator. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EventKind& _d(); + + /*! + * @brief This function copies the value in member writer_reader_data + * @param _writer_reader_data New value to be copied in member writer_reader_data + */ + eProsima_user_DllExport void writer_reader_data( + const eprosima::fastdds::statistics::WriterReaderData& _writer_reader_data); + + /*! + * @brief This function moves the value in member writer_reader_data + * @param _writer_reader_data New value to be moved in member writer_reader_data + */ + eProsima_user_DllExport void writer_reader_data( + eprosima::fastdds::statistics::WriterReaderData&& _writer_reader_data); + + /*! + * @brief This function returns a constant reference to member writer_reader_data + * @return Constant reference to member writer_reader_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::WriterReaderData& writer_reader_data() const; + + /*! + * @brief This function returns a reference to member writer_reader_data + * @return Reference to member writer_reader_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::WriterReaderData& writer_reader_data(); + + + /*! + * @brief This function copies the value in member locator2locator_data + * @param _locator2locator_data New value to be copied in member locator2locator_data + */ + eProsima_user_DllExport void locator2locator_data( + const eprosima::fastdds::statistics::Locator2LocatorData& _locator2locator_data); + + /*! + * @brief This function moves the value in member locator2locator_data + * @param _locator2locator_data New value to be moved in member locator2locator_data + */ + eProsima_user_DllExport void locator2locator_data( + eprosima::fastdds::statistics::Locator2LocatorData&& _locator2locator_data); + + /*! + * @brief This function returns a constant reference to member locator2locator_data + * @return Constant reference to member locator2locator_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data() const; + + /*! + * @brief This function returns a reference to member locator2locator_data + * @return Reference to member locator2locator_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data(); + + + /*! + * @brief This function copies the value in member entity_data + * @param _entity_data New value to be copied in member entity_data + */ + eProsima_user_DllExport void entity_data( + const eprosima::fastdds::statistics::EntityData& _entity_data); + + /*! + * @brief This function moves the value in member entity_data + * @param _entity_data New value to be moved in member entity_data + */ + eProsima_user_DllExport void entity_data( + eprosima::fastdds::statistics::EntityData&& _entity_data); + + /*! + * @brief This function returns a constant reference to member entity_data + * @return Constant reference to member entity_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::EntityData& entity_data() const; + + /*! + * @brief This function returns a reference to member entity_data + * @return Reference to member entity_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EntityData& entity_data(); + + + /*! + * @brief This function copies the value in member entity2locator_traffic + * @param _entity2locator_traffic New value to be copied in member entity2locator_traffic + */ + eProsima_user_DllExport void entity2locator_traffic( + const eprosima::fastdds::statistics::Entity2LocatorTraffic& _entity2locator_traffic); + + /*! + * @brief This function moves the value in member entity2locator_traffic + * @param _entity2locator_traffic New value to be moved in member entity2locator_traffic + */ + eProsima_user_DllExport void entity2locator_traffic( + eprosima::fastdds::statistics::Entity2LocatorTraffic&& _entity2locator_traffic); + + /*! + * @brief This function returns a constant reference to member entity2locator_traffic + * @return Constant reference to member entity2locator_traffic + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic() const; + + /*! + * @brief This function returns a reference to member entity2locator_traffic + * @return Reference to member entity2locator_traffic + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic(); + + + /*! + * @brief This function copies the value in member entity_count + * @param _entity_count New value to be copied in member entity_count + */ + eProsima_user_DllExport void entity_count( + const eprosima::fastdds::statistics::EntityCount& _entity_count); + + /*! + * @brief This function moves the value in member entity_count + * @param _entity_count New value to be moved in member entity_count + */ + eProsima_user_DllExport void entity_count( + eprosima::fastdds::statistics::EntityCount&& _entity_count); + + /*! + * @brief This function returns a constant reference to member entity_count + * @return Constant reference to member entity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::EntityCount& entity_count() const; + + /*! + * @brief This function returns a reference to member entity_count + * @return Reference to member entity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EntityCount& entity_count(); + + + /*! + * @brief This function copies the value in member discovery_time + * @param _discovery_time New value to be copied in member discovery_time + */ + eProsima_user_DllExport void discovery_time( + const eprosima::fastdds::statistics::DiscoveryTime& _discovery_time); + + /*! + * @brief This function moves the value in member discovery_time + * @param _discovery_time New value to be moved in member discovery_time + */ + eProsima_user_DllExport void discovery_time( + eprosima::fastdds::statistics::DiscoveryTime&& _discovery_time); + + /*! + * @brief This function returns a constant reference to member discovery_time + * @return Constant reference to member discovery_time + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::DiscoveryTime& discovery_time() const; + + /*! + * @brief This function returns a reference to member discovery_time + * @return Reference to member discovery_time + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::DiscoveryTime& discovery_time(); + + + /*! + * @brief This function copies the value in member sample_identity_count + * @param _sample_identity_count New value to be copied in member sample_identity_count + */ + eProsima_user_DllExport void sample_identity_count( + const eprosima::fastdds::statistics::SampleIdentityCount& _sample_identity_count); + + /*! + * @brief This function moves the value in member sample_identity_count + * @param _sample_identity_count New value to be moved in member sample_identity_count + */ + eProsima_user_DllExport void sample_identity_count( + eprosima::fastdds::statistics::SampleIdentityCount&& _sample_identity_count); + + /*! + * @brief This function returns a constant reference to member sample_identity_count + * @return Constant reference to member sample_identity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count() const; + + /*! + * @brief This function returns a reference to member sample_identity_count + * @return Reference to member sample_identity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count(); + + + /*! + * @brief This function copies the value in member physical_data + * @param _physical_data New value to be copied in member physical_data + */ + eProsima_user_DllExport void physical_data( + const eprosima::fastdds::statistics::PhysicalData& _physical_data); + + /*! + * @brief This function moves the value in member physical_data + * @param _physical_data New value to be moved in member physical_data + */ + eProsima_user_DllExport void physical_data( + eprosima::fastdds::statistics::PhysicalData&& _physical_data); + + /*! + * @brief This function returns a constant reference to member physical_data + * @return Constant reference to member physical_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::PhysicalData& physical_data() const; + + /*! + * @brief This function returns a reference to member physical_data + * @return Reference to member physical_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::PhysicalData& physical_data(); + + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Data& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + +private: + + eprosima::fastdds::statistics::EventKind m__d; + + eprosima::fastdds::statistics::WriterReaderData m_writer_reader_data; + eprosima::fastdds::statistics::Locator2LocatorData m_locator2locator_data; + eprosima::fastdds::statistics::EntityData m_entity_data; + eprosima::fastdds::statistics::Entity2LocatorTraffic m_entity2locator_traffic; + eprosima::fastdds::statistics::EntityCount m_entity_count; + eprosima::fastdds::statistics::DiscoveryTime m_discovery_time; + eprosima::fastdds::statistics::SampleIdentityCount m_sample_identity_count; + eprosima::fastdds::statistics::PhysicalData m_physical_data; +}; + +} // namespace statistics +} // namespace fastdds } // namespace eprosima #endif // _FAST_DDS_GENERATED_EPROSIMA_FASTDDS_STATISTICS_TYPES_H_ diff --git a/test/blackbox/types/Data1mbv1.h b/test/blackbox/types/Data1mbv1.h index 5a77cb979c9..2f6a28856dd 100644 --- a/test/blackbox/types/Data1mbv1.h +++ b/test/blackbox/types/Data1mbv1.h @@ -160,11 +160,11 @@ class Data1mb /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -198,18 +198,17 @@ class Data1mb /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_data; diff --git a/test/blackbox/types/Data64kbv1.h b/test/blackbox/types/Data64kbv1.h index 9cf7a4da316..42a739b7af9 100644 --- a/test/blackbox/types/Data64kbv1.h +++ b/test/blackbox/types/Data64kbv1.h @@ -160,11 +160,11 @@ class Data64kb /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -198,18 +198,17 @@ class Data64kb /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_data; diff --git a/test/blackbox/types/FixedSizedv1.h b/test/blackbox/types/FixedSizedv1.h index de9d2243dfb..fa36159ae7c 100644 --- a/test/blackbox/types/FixedSizedv1.h +++ b/test/blackbox/types/FixedSizedv1.h @@ -152,11 +152,11 @@ class FixedSized /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -190,18 +190,17 @@ class FixedSized /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_index; diff --git a/test/blackbox/types/HelloWorldv1.h b/test/blackbox/types/HelloWorldv1.h index 02acffcfe76..85939a78e7e 100644 --- a/test/blackbox/types/HelloWorldv1.h +++ b/test/blackbox/types/HelloWorldv1.h @@ -179,11 +179,11 @@ class HelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -217,18 +217,17 @@ class HelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_index; diff --git a/test/blackbox/types/KeyedData1mbv1.h b/test/blackbox/types/KeyedData1mbv1.h index 90bf91d7c08..84efc422ae3 100644 --- a/test/blackbox/types/KeyedData1mbv1.h +++ b/test/blackbox/types/KeyedData1mbv1.h @@ -181,11 +181,11 @@ class KeyedData1mb /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -219,18 +219,17 @@ class KeyedData1mb /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_key; diff --git a/test/blackbox/types/KeyedHelloWorldv1.h b/test/blackbox/types/KeyedHelloWorldv1.h index 6686fd46a40..c4de8fbe0ed 100644 --- a/test/blackbox/types/KeyedHelloWorldv1.h +++ b/test/blackbox/types/KeyedHelloWorldv1.h @@ -199,11 +199,11 @@ class KeyedHelloWorld /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -237,18 +237,17 @@ class KeyedHelloWorld /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_key; diff --git a/test/blackbox/types/StringTestv1.h b/test/blackbox/types/StringTestv1.h index 9eb81c076ce..0a036a76bc4 100644 --- a/test/blackbox/types/StringTestv1.h +++ b/test/blackbox/types/StringTestv1.h @@ -159,11 +159,11 @@ class StringTest /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -197,18 +197,17 @@ class StringTest /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: eprosima::fastcdr::fixed_string<10000> m_message; diff --git a/test/blackbox/types/TestIncludeRegression3361v1.h b/test/blackbox/types/TestIncludeRegression3361v1.h index 70682efcee4..1a0e30a4d81 100644 --- a/test/blackbox/types/TestIncludeRegression3361v1.h +++ b/test/blackbox/types/TestIncludeRegression3361v1.h @@ -69,7 +69,7 @@ class Cdr; namespace TestModule { - typedef std::string MACHINEID; +typedef std::string MACHINEID; } // namespace TestModule diff --git a/test/blackbox/types/TestRegression3361v1.h b/test/blackbox/types/TestRegression3361v1.h index 5d04317654d..427b759be8f 100644 --- a/test/blackbox/types/TestRegression3361v1.h +++ b/test/blackbox/types/TestRegression3361v1.h @@ -160,11 +160,11 @@ class TestRegression3361 /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -198,18 +198,17 @@ class TestRegression3361 /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: TestModule::MACHINEID m_uuid; diff --git a/test/blackbox/types/statistics/typesv1.h b/test/blackbox/types/statistics/typesv1.h index 69a2cefde8c..ceb29ad5e10 100644 --- a/test/blackbox/types/statistics/typesv1.h +++ b/test/blackbox/types/statistics/typesv1.h @@ -69,3020 +69,3002 @@ class Cdr; namespace eprosima { - namespace fastdds { - namespace statistics { - namespace detail { - - - /*! - * @brief This class represents the structure EntityId_s defined by the user in the IDL file. - * @ingroup types - */ - class EntityId_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityId_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityId_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s( - const EntityId_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s( - EntityId_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s& operator =( - const EntityId_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. - */ - eProsima_user_DllExport EntityId_s& operator =( - EntityId_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityId_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityId_s& x) const; - - /*! - * @brief This function copies the value in member value - * @param _value New value to be copied in member value - */ - eProsima_user_DllExport void value( - const std::array& _value); - - /*! - * @brief This function moves the value in member value - * @param _value New value to be moved in member value - */ - eProsima_user_DllExport void value( - std::array&& _value); - - /*! - * @brief This function returns a constant reference to member value - * @return Constant reference to member value - */ - eProsima_user_DllExport const std::array& value() const; - - /*! - * @brief This function returns a reference to member value - * @return Reference to member value - */ - eProsima_user_DllExport std::array& value(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::EntityId_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - std::array m_value; - - }; - - - - /*! - * @brief This class represents the structure GuidPrefix_s defined by the user in the IDL file. - * @ingroup types - */ - class GuidPrefix_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport GuidPrefix_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~GuidPrefix_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s( - const GuidPrefix_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s( - GuidPrefix_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s& operator =( - const GuidPrefix_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. - */ - eProsima_user_DllExport GuidPrefix_s& operator =( - GuidPrefix_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const GuidPrefix_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const GuidPrefix_s& x) const; - - /*! - * @brief This function copies the value in member value - * @param _value New value to be copied in member value - */ - eProsima_user_DllExport void value( - const std::array& _value); - - /*! - * @brief This function moves the value in member value - * @param _value New value to be moved in member value - */ - eProsima_user_DllExport void value( - std::array&& _value); - - /*! - * @brief This function returns a constant reference to member value - * @return Constant reference to member value - */ - eProsima_user_DllExport const std::array& value() const; - - /*! - * @brief This function returns a reference to member value - * @return Reference to member value - */ - eProsima_user_DllExport std::array& value(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::GuidPrefix_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - std::array m_value; - - }; - - - - /*! - * @brief This class represents the structure GUID_s defined by the user in the IDL file. - * @ingroup types - */ - class GUID_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport GUID_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~GUID_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s( - const GUID_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s( - GUID_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s& operator =( - const GUID_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. - */ - eProsima_user_DllExport GUID_s& operator =( - GUID_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const GUID_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const GUID_s& x) const; - - /*! - * @brief This function copies the value in member guidPrefix - * @param _guidPrefix New value to be copied in member guidPrefix - */ - eProsima_user_DllExport void guidPrefix( - const eprosima::fastdds::statistics::detail::GuidPrefix_s& _guidPrefix); - - /*! - * @brief This function moves the value in member guidPrefix - * @param _guidPrefix New value to be moved in member guidPrefix - */ - eProsima_user_DllExport void guidPrefix( - eprosima::fastdds::statistics::detail::GuidPrefix_s&& _guidPrefix); - - /*! - * @brief This function returns a constant reference to member guidPrefix - * @return Constant reference to member guidPrefix - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix() const; - - /*! - * @brief This function returns a reference to member guidPrefix - * @return Reference to member guidPrefix - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix(); - - - /*! - * @brief This function copies the value in member entityId - * @param _entityId New value to be copied in member entityId - */ - eProsima_user_DllExport void entityId( - const eprosima::fastdds::statistics::detail::EntityId_s& _entityId); - - /*! - * @brief This function moves the value in member entityId - * @param _entityId New value to be moved in member entityId - */ - eProsima_user_DllExport void entityId( - eprosima::fastdds::statistics::detail::EntityId_s&& _entityId); - - /*! - * @brief This function returns a constant reference to member entityId - * @return Constant reference to member entityId - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::EntityId_s& entityId() const; - - /*! - * @brief This function returns a reference to member entityId - * @return Reference to member entityId - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::EntityId_s& entityId(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::GUID_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GuidPrefix_s m_guidPrefix; - eprosima::fastdds::statistics::detail::EntityId_s m_entityId; - - }; - - - - /*! - * @brief This class represents the structure SequenceNumber_s defined by the user in the IDL file. - * @ingroup types - */ - class SequenceNumber_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SequenceNumber_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SequenceNumber_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s( - const SequenceNumber_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s( - SequenceNumber_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s& operator =( - const SequenceNumber_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. - */ - eProsima_user_DllExport SequenceNumber_s& operator =( - SequenceNumber_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SequenceNumber_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SequenceNumber_s& x) const; - - /*! - * @brief This function sets a value in member high - * @param _high New value for member high - */ - eProsima_user_DllExport void high( - int32_t _high); - - /*! - * @brief This function returns the value of member high - * @return Value of member high - */ - eProsima_user_DllExport int32_t high() const; - - /*! - * @brief This function returns a reference to member high - * @return Reference to member high - */ - eProsima_user_DllExport int32_t& high(); - - - /*! - * @brief This function sets a value in member low - * @param _low New value for member low - */ - eProsima_user_DllExport void low( - uint32_t _low); - - /*! - * @brief This function returns the value of member low - * @return Value of member low - */ - eProsima_user_DllExport uint32_t low() const; - - /*! - * @brief This function returns a reference to member low - * @return Reference to member low - */ - eProsima_user_DllExport uint32_t& low(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::SequenceNumber_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - int32_t m_high; - uint32_t m_low; - - }; - - - - /*! - * @brief This class represents the structure SampleIdentity_s defined by the user in the IDL file. - * @ingroup types - */ - class SampleIdentity_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SampleIdentity_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SampleIdentity_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s( - const SampleIdentity_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s( - SampleIdentity_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s& operator =( - const SampleIdentity_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. - */ - eProsima_user_DllExport SampleIdentity_s& operator =( - SampleIdentity_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SampleIdentity_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SampleIdentity_s& x) const; - - /*! - * @brief This function copies the value in member writer_guid - * @param _writer_guid New value to be copied in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); - - /*! - * @brief This function moves the value in member writer_guid - * @param _writer_guid New value to be moved in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); - - /*! - * @brief This function returns a constant reference to member writer_guid - * @return Constant reference to member writer_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; - - /*! - * @brief This function returns a reference to member writer_guid - * @return Reference to member writer_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); - - - /*! - * @brief This function copies the value in member sequence_number - * @param _sequence_number New value to be copied in member sequence_number - */ - eProsima_user_DllExport void sequence_number( - const eprosima::fastdds::statistics::detail::SequenceNumber_s& _sequence_number); - - /*! - * @brief This function moves the value in member sequence_number - * @param _sequence_number New value to be moved in member sequence_number - */ - eProsima_user_DllExport void sequence_number( - eprosima::fastdds::statistics::detail::SequenceNumber_s&& _sequence_number); - - /*! - * @brief This function returns a constant reference to member sequence_number - * @return Constant reference to member sequence_number - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number() const; - - /*! - * @brief This function returns a reference to member sequence_number - * @return Reference to member sequence_number - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::SampleIdentity_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; - eprosima::fastdds::statistics::detail::SequenceNumber_s m_sequence_number; - - }; - - - - /*! - * @brief This class represents the structure Locator_s defined by the user in the IDL file. - * @ingroup types - */ - class Locator_s - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Locator_s(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Locator_s(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s( - const Locator_s& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s( - Locator_s&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s& operator =( - const Locator_s& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. - */ - eProsima_user_DllExport Locator_s& operator =( - Locator_s&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Locator_s& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Locator_s& x) const; - - /*! - * @brief This function sets a value in member kind - * @param _kind New value for member kind - */ - eProsima_user_DllExport void kind( - int32_t _kind); - - /*! - * @brief This function returns the value of member kind - * @return Value of member kind - */ - eProsima_user_DllExport int32_t kind() const; - - /*! - * @brief This function returns a reference to member kind - * @return Reference to member kind - */ - eProsima_user_DllExport int32_t& kind(); - - - /*! - * @brief This function sets a value in member port - * @param _port New value for member port - */ - eProsima_user_DllExport void port( - uint32_t _port); - - /*! - * @brief This function returns the value of member port - * @return Value of member port - */ - eProsima_user_DllExport uint32_t port() const; - - /*! - * @brief This function returns a reference to member port - * @return Reference to member port - */ - eProsima_user_DllExport uint32_t& port(); - - - /*! - * @brief This function copies the value in member address - * @param _address New value to be copied in member address - */ - eProsima_user_DllExport void address( - const std::array& _address); - - /*! - * @brief This function moves the value in member address - * @param _address New value to be moved in member address - */ - eProsima_user_DllExport void address( - std::array&& _address); - - /*! - * @brief This function returns a constant reference to member address - * @return Constant reference to member address - */ - eProsima_user_DllExport const std::array& address() const; - - /*! - * @brief This function returns a reference to member address - * @return Reference to member address - */ - eProsima_user_DllExport std::array& address(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::detail::Locator_s& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - int32_t m_kind; - uint32_t m_port; - std::array m_address; - - }; - - } // namespace detail - - - /*! - * @brief This class represents the structure DiscoveryTime defined by the user in the IDL file. - * @ingroup types - */ - class DiscoveryTime - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport DiscoveryTime(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~DiscoveryTime(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime( - const DiscoveryTime& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime( - DiscoveryTime&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime& operator =( - const DiscoveryTime& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. - */ - eProsima_user_DllExport DiscoveryTime& operator =( - DiscoveryTime&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. - */ - eProsima_user_DllExport bool operator ==( - const DiscoveryTime& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. - */ - eProsima_user_DllExport bool operator !=( - const DiscoveryTime& x) const; - - /*! - * @brief This function copies the value in member local_participant_guid - * @param _local_participant_guid New value to be copied in member local_participant_guid - */ - eProsima_user_DllExport void local_participant_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _local_participant_guid); - - /*! - * @brief This function moves the value in member local_participant_guid - * @param _local_participant_guid New value to be moved in member local_participant_guid - */ - eProsima_user_DllExport void local_participant_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _local_participant_guid); - - /*! - * @brief This function returns a constant reference to member local_participant_guid - * @return Constant reference to member local_participant_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid() const; - - /*! - * @brief This function returns a reference to member local_participant_guid - * @return Reference to member local_participant_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid(); - - - /*! - * @brief This function copies the value in member remote_entity_guid - * @param _remote_entity_guid New value to be copied in member remote_entity_guid - */ - eProsima_user_DllExport void remote_entity_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _remote_entity_guid); - - /*! - * @brief This function moves the value in member remote_entity_guid - * @param _remote_entity_guid New value to be moved in member remote_entity_guid - */ - eProsima_user_DllExport void remote_entity_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _remote_entity_guid); - - /*! - * @brief This function returns a constant reference to member remote_entity_guid - * @return Constant reference to member remote_entity_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid() const; - - /*! - * @brief This function returns a reference to member remote_entity_guid - * @return Reference to member remote_entity_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid(); - - - /*! - * @brief This function sets a value in member time - * @param _time New value for member time - */ - eProsima_user_DllExport void time( - uint64_t _time); - - /*! - * @brief This function returns the value of member time - * @return Value of member time - */ - eProsima_user_DllExport uint64_t time() const; - - /*! - * @brief This function returns a reference to member time - * @return Reference to member time - */ - eProsima_user_DllExport uint64_t& time(); - - - /*! - * @brief This function copies the value in member host - * @param _host New value to be copied in member host - */ - eProsima_user_DllExport void host( - const std::string& _host); - - /*! - * @brief This function moves the value in member host - * @param _host New value to be moved in member host - */ - eProsima_user_DllExport void host( - std::string&& _host); - - /*! - * @brief This function returns a constant reference to member host - * @return Constant reference to member host - */ - eProsima_user_DllExport const std::string& host() const; - - /*! - * @brief This function returns a reference to member host - * @return Reference to member host - */ - eProsima_user_DllExport std::string& host(); - - - /*! - * @brief This function copies the value in member user - * @param _user New value to be copied in member user - */ - eProsima_user_DllExport void user( - const std::string& _user); - - /*! - * @brief This function moves the value in member user - * @param _user New value to be moved in member user - */ - eProsima_user_DllExport void user( - std::string&& _user); - - /*! - * @brief This function returns a constant reference to member user - * @return Constant reference to member user - */ - eProsima_user_DllExport const std::string& user() const; - - /*! - * @brief This function returns a reference to member user - * @return Reference to member user - */ - eProsima_user_DllExport std::string& user(); - - - /*! - * @brief This function copies the value in member process - * @param _process New value to be copied in member process - */ - eProsima_user_DllExport void process( - const std::string& _process); - - /*! - * @brief This function moves the value in member process - * @param _process New value to be moved in member process - */ - eProsima_user_DllExport void process( - std::string&& _process); - - /*! - * @brief This function returns a constant reference to member process - * @return Constant reference to member process - */ - eProsima_user_DllExport const std::string& process() const; - - /*! - * @brief This function returns a reference to member process - * @return Reference to member process - */ - eProsima_user_DllExport std::string& process(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::DiscoveryTime& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_local_participant_guid; - eprosima::fastdds::statistics::detail::GUID_s m_remote_entity_guid; - uint64_t m_time; - std::string m_host; - std::string m_user; - std::string m_process; - - }; - - - - /*! - * @brief This class represents the structure EntityCount defined by the user in the IDL file. - * @ingroup types - */ - class EntityCount - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityCount(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityCount(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount( - const EntityCount& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount( - EntityCount&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount& operator =( - const EntityCount& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. - */ - eProsima_user_DllExport EntityCount& operator =( - EntityCount&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityCount object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityCount& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityCount object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityCount& x) const; - - /*! - * @brief This function copies the value in member guid - * @param _guid New value to be copied in member guid - */ - eProsima_user_DllExport void guid( - const eprosima::fastdds::statistics::detail::GUID_s& _guid); - - /*! - * @brief This function moves the value in member guid - * @param _guid New value to be moved in member guid - */ - eProsima_user_DllExport void guid( - eprosima::fastdds::statistics::detail::GUID_s&& _guid); - - /*! - * @brief This function returns a constant reference to member guid - * @return Constant reference to member guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; - - /*! - * @brief This function returns a reference to member guid - * @return Reference to member guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); - - - /*! - * @brief This function sets a value in member count - * @param _count New value for member count - */ - eProsima_user_DllExport void count( - uint64_t _count); - - /*! - * @brief This function returns the value of member count - * @return Value of member count - */ - eProsima_user_DllExport uint64_t count() const; - - /*! - * @brief This function returns a reference to member count - * @return Reference to member count - */ - eProsima_user_DllExport uint64_t& count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::EntityCount& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_guid; - uint64_t m_count; - - }; - - - - /*! - * @brief This class represents the structure SampleIdentityCount defined by the user in the IDL file. - * @ingroup types - */ - class SampleIdentityCount - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport SampleIdentityCount(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~SampleIdentityCount(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount( - const SampleIdentityCount& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount( - SampleIdentityCount&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount& operator =( - const SampleIdentityCount& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. - */ - eProsima_user_DllExport SampleIdentityCount& operator =( - SampleIdentityCount&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. - */ - eProsima_user_DllExport bool operator ==( - const SampleIdentityCount& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. - */ - eProsima_user_DllExport bool operator !=( - const SampleIdentityCount& x) const; - - /*! - * @brief This function copies the value in member sample_id - * @param _sample_id New value to be copied in member sample_id - */ - eProsima_user_DllExport void sample_id( - const eprosima::fastdds::statistics::detail::SampleIdentity_s& _sample_id); - - /*! - * @brief This function moves the value in member sample_id - * @param _sample_id New value to be moved in member sample_id - */ - eProsima_user_DllExport void sample_id( - eprosima::fastdds::statistics::detail::SampleIdentity_s&& _sample_id); - - /*! - * @brief This function returns a constant reference to member sample_id - * @return Constant reference to member sample_id - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id() const; - - /*! - * @brief This function returns a reference to member sample_id - * @return Reference to member sample_id - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id(); - - - /*! - * @brief This function sets a value in member count - * @param _count New value for member count - */ - eProsima_user_DllExport void count( - uint64_t _count); - - /*! - * @brief This function returns the value of member count - * @return Value of member count - */ - eProsima_user_DllExport uint64_t count() const; - - /*! - * @brief This function returns a reference to member count - * @return Reference to member count - */ - eProsima_user_DllExport uint64_t& count(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::SampleIdentityCount& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::SampleIdentity_s m_sample_id; - uint64_t m_count; - - }; - - - - /*! - * @brief This class represents the structure Entity2LocatorTraffic defined by the user in the IDL file. - * @ingroup types - */ - class Entity2LocatorTraffic - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Entity2LocatorTraffic(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Entity2LocatorTraffic(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic( - const Entity2LocatorTraffic& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic( - Entity2LocatorTraffic&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic& operator =( - const Entity2LocatorTraffic& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. - */ - eProsima_user_DllExport Entity2LocatorTraffic& operator =( - Entity2LocatorTraffic&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Entity2LocatorTraffic& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Entity2LocatorTraffic& x) const; - - /*! - * @brief This function copies the value in member src_guid - * @param _src_guid New value to be copied in member src_guid - */ - eProsima_user_DllExport void src_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _src_guid); - - /*! - * @brief This function moves the value in member src_guid - * @param _src_guid New value to be moved in member src_guid - */ - eProsima_user_DllExport void src_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _src_guid); - - /*! - * @brief This function returns a constant reference to member src_guid - * @return Constant reference to member src_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& src_guid() const; - - /*! - * @brief This function returns a reference to member src_guid - * @return Reference to member src_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& src_guid(); - - - /*! - * @brief This function copies the value in member dst_locator - * @param _dst_locator New value to be copied in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); - - /*! - * @brief This function moves the value in member dst_locator - * @param _dst_locator New value to be moved in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); - - /*! - * @brief This function returns a constant reference to member dst_locator - * @return Constant reference to member dst_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; - - /*! - * @brief This function returns a reference to member dst_locator - * @return Reference to member dst_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); - - - /*! - * @brief This function sets a value in member packet_count - * @param _packet_count New value for member packet_count - */ - eProsima_user_DllExport void packet_count( - uint64_t _packet_count); - - /*! - * @brief This function returns the value of member packet_count - * @return Value of member packet_count - */ - eProsima_user_DllExport uint64_t packet_count() const; - - /*! - * @brief This function returns a reference to member packet_count - * @return Reference to member packet_count - */ - eProsima_user_DllExport uint64_t& packet_count(); - - - /*! - * @brief This function sets a value in member byte_count - * @param _byte_count New value for member byte_count - */ - eProsima_user_DllExport void byte_count( - uint64_t _byte_count); - - /*! - * @brief This function returns the value of member byte_count - * @return Value of member byte_count - */ - eProsima_user_DllExport uint64_t byte_count() const; - - /*! - * @brief This function returns a reference to member byte_count - * @return Reference to member byte_count - */ - eProsima_user_DllExport uint64_t& byte_count(); - - - /*! - * @brief This function sets a value in member byte_magnitude_order - * @param _byte_magnitude_order New value for member byte_magnitude_order - */ - eProsima_user_DllExport void byte_magnitude_order( - int16_t _byte_magnitude_order); - - /*! - * @brief This function returns the value of member byte_magnitude_order - * @return Value of member byte_magnitude_order - */ - eProsima_user_DllExport int16_t byte_magnitude_order() const; - - /*! - * @brief This function returns a reference to member byte_magnitude_order - * @return Reference to member byte_magnitude_order - */ - eProsima_user_DllExport int16_t& byte_magnitude_order(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Entity2LocatorTraffic& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_src_guid; - eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; - uint64_t m_packet_count; - uint64_t m_byte_count; - int16_t m_byte_magnitude_order; - - }; - - - - /*! - * @brief This class represents the structure WriterReaderData defined by the user in the IDL file. - * @ingroup types - */ - class WriterReaderData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport WriterReaderData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~WriterReaderData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData( - const WriterReaderData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData( - WriterReaderData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData& operator =( - const WriterReaderData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. - */ - eProsima_user_DllExport WriterReaderData& operator =( - WriterReaderData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const WriterReaderData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const WriterReaderData& x) const; - - /*! - * @brief This function copies the value in member writer_guid - * @param _writer_guid New value to be copied in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); - - /*! - * @brief This function moves the value in member writer_guid - * @param _writer_guid New value to be moved in member writer_guid - */ - eProsima_user_DllExport void writer_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); - - /*! - * @brief This function returns a constant reference to member writer_guid - * @return Constant reference to member writer_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; - - /*! - * @brief This function returns a reference to member writer_guid - * @return Reference to member writer_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); - - - /*! - * @brief This function copies the value in member reader_guid - * @param _reader_guid New value to be copied in member reader_guid - */ - eProsima_user_DllExport void reader_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _reader_guid); - - /*! - * @brief This function moves the value in member reader_guid - * @param _reader_guid New value to be moved in member reader_guid - */ - eProsima_user_DllExport void reader_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _reader_guid); - - /*! - * @brief This function returns a constant reference to member reader_guid - * @return Constant reference to member reader_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& reader_guid() const; - - /*! - * @brief This function returns a reference to member reader_guid - * @return Reference to member reader_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& reader_guid(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::WriterReaderData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; - eprosima::fastdds::statistics::detail::GUID_s m_reader_guid; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure Locator2LocatorData defined by the user in the IDL file. - * @ingroup types - */ - class Locator2LocatorData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Locator2LocatorData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Locator2LocatorData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData( - const Locator2LocatorData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData( - Locator2LocatorData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData& operator =( - const Locator2LocatorData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. - */ - eProsima_user_DllExport Locator2LocatorData& operator =( - Locator2LocatorData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Locator2LocatorData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Locator2LocatorData& x) const; - - /*! - * @brief This function copies the value in member src_locator - * @param _src_locator New value to be copied in member src_locator - */ - eProsima_user_DllExport void src_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _src_locator); - - /*! - * @brief This function moves the value in member src_locator - * @param _src_locator New value to be moved in member src_locator - */ - eProsima_user_DllExport void src_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _src_locator); - - /*! - * @brief This function returns a constant reference to member src_locator - * @return Constant reference to member src_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& src_locator() const; - - /*! - * @brief This function returns a reference to member src_locator - * @return Reference to member src_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& src_locator(); - - - /*! - * @brief This function copies the value in member dst_locator - * @param _dst_locator New value to be copied in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); - - /*! - * @brief This function moves the value in member dst_locator - * @param _dst_locator New value to be moved in member dst_locator - */ - eProsima_user_DllExport void dst_locator( - eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); - - /*! - * @brief This function returns a constant reference to member dst_locator - * @return Constant reference to member dst_locator - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; - - /*! - * @brief This function returns a reference to member dst_locator - * @return Reference to member dst_locator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Locator2LocatorData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::Locator_s m_src_locator; - eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure EntityData defined by the user in the IDL file. - * @ingroup types - */ - class EntityData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport EntityData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~EntityData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData( - const EntityData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData( - EntityData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData& operator =( - const EntityData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. - */ - eProsima_user_DllExport EntityData& operator =( - EntityData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const EntityData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::EntityData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const EntityData& x) const; - - /*! - * @brief This function copies the value in member guid - * @param _guid New value to be copied in member guid - */ - eProsima_user_DllExport void guid( - const eprosima::fastdds::statistics::detail::GUID_s& _guid); - - /*! - * @brief This function moves the value in member guid - * @param _guid New value to be moved in member guid - */ - eProsima_user_DllExport void guid( - eprosima::fastdds::statistics::detail::GUID_s&& _guid); - - /*! - * @brief This function returns a constant reference to member guid - * @return Constant reference to member guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; - - /*! - * @brief This function returns a reference to member guid - * @return Reference to member guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); - - - /*! - * @brief This function sets a value in member data - * @param _data New value for member data - */ - eProsima_user_DllExport void data( - float _data); - - /*! - * @brief This function returns the value of member data - * @return Value of member data - */ - eProsima_user_DllExport float data() const; - - /*! - * @brief This function returns a reference to member data - * @return Reference to member data - */ - eProsima_user_DllExport float& data(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::EntityData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_guid; - float m_data; - - }; - - - - /*! - * @brief This class represents the structure PhysicalData defined by the user in the IDL file. - * @ingroup types - */ - class PhysicalData - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport PhysicalData(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~PhysicalData(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData( - const PhysicalData& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData( - PhysicalData&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData& operator =( - const PhysicalData& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. - */ - eProsima_user_DllExport PhysicalData& operator =( - PhysicalData&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::PhysicalData object to compare. - */ - eProsima_user_DllExport bool operator ==( - const PhysicalData& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::PhysicalData object to compare. - */ - eProsima_user_DllExport bool operator !=( - const PhysicalData& x) const; - - /*! - * @brief This function copies the value in member participant_guid - * @param _participant_guid New value to be copied in member participant_guid - */ - eProsima_user_DllExport void participant_guid( - const eprosima::fastdds::statistics::detail::GUID_s& _participant_guid); - - /*! - * @brief This function moves the value in member participant_guid - * @param _participant_guid New value to be moved in member participant_guid - */ - eProsima_user_DllExport void participant_guid( - eprosima::fastdds::statistics::detail::GUID_s&& _participant_guid); - - /*! - * @brief This function returns a constant reference to member participant_guid - * @return Constant reference to member participant_guid - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& participant_guid() const; - - /*! - * @brief This function returns a reference to member participant_guid - * @return Reference to member participant_guid - */ - eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& participant_guid(); - - - /*! - * @brief This function copies the value in member host - * @param _host New value to be copied in member host - */ - eProsima_user_DllExport void host( - const std::string& _host); - - /*! - * @brief This function moves the value in member host - * @param _host New value to be moved in member host - */ - eProsima_user_DllExport void host( - std::string&& _host); - - /*! - * @brief This function returns a constant reference to member host - * @return Constant reference to member host - */ - eProsima_user_DllExport const std::string& host() const; - - /*! - * @brief This function returns a reference to member host - * @return Reference to member host - */ - eProsima_user_DllExport std::string& host(); - - - /*! - * @brief This function copies the value in member user - * @param _user New value to be copied in member user - */ - eProsima_user_DllExport void user( - const std::string& _user); - - /*! - * @brief This function moves the value in member user - * @param _user New value to be moved in member user - */ - eProsima_user_DllExport void user( - std::string&& _user); - - /*! - * @brief This function returns a constant reference to member user - * @return Constant reference to member user - */ - eProsima_user_DllExport const std::string& user() const; - - /*! - * @brief This function returns a reference to member user - * @return Reference to member user - */ - eProsima_user_DllExport std::string& user(); - - - /*! - * @brief This function copies the value in member process - * @param _process New value to be copied in member process - */ - eProsima_user_DllExport void process( - const std::string& _process); - - /*! - * @brief This function moves the value in member process - * @param _process New value to be moved in member process - */ - eProsima_user_DllExport void process( - std::string&& _process); - - /*! - * @brief This function returns a constant reference to member process - * @return Constant reference to member process - */ - eProsima_user_DllExport const std::string& process() const; - - /*! - * @brief This function returns a reference to member process - * @return Reference to member process - */ - eProsima_user_DllExport std::string& process(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::PhysicalData& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - eprosima::fastdds::statistics::detail::GUID_s m_participant_guid; - std::string m_host; - std::string m_user; - std::string m_process; - - }; - - /*! - * @brief This class represents the bitmask EventKind defined by the user in the IDL file. - * @ingroup types - */ - enum EventKindBits : uint32_t - { - HISTORY2HISTORY_LATENCY = 0x01ull << 0, - NETWORK_LATENCY = 0x01ull << 1, - PUBLICATION_THROUGHPUT = 0x01ull << 2, - SUBSCRIPTION_THROUGHPUT = 0x01ull << 3, - RTPS_SENT = 0x01ull << 4, - RTPS_LOST = 0x01ull << 5, - RESENT_DATAS = 0x01ull << 6, - HEARTBEAT_COUNT = 0x01ull << 7, - ACKNACK_COUNT = 0x01ull << 8, - NACKFRAG_COUNT = 0x01ull << 9, - GAP_COUNT = 0x01ull << 10, - DATA_COUNT = 0x01ull << 11, - PDP_PACKETS = 0x01ull << 12, - EDP_PACKETS = 0x01ull << 13, - DISCOVERED_ENTITY = 0x01ull << 14, - SAMPLE_DATAS = 0x01ull << 15, - PHYSICAL_DATA = 0x01ull << 16 - }; - typedef uint32_t EventKind; - - - /*! - * @brief This class represents the union Data defined by the user in the IDL file. - * @ingroup types - */ - class Data - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport Data(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~Data(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data( - const Data& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data( - Data&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data& operator =( - const Data& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. - */ - eProsima_user_DllExport Data& operator =( - Data&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Data object to compare. - */ - eProsima_user_DllExport bool operator ==( - const Data& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::fastdds::statistics::Data object to compare. - */ - eProsima_user_DllExport bool operator !=( - const Data& x) const; - - /*! - * @brief This function sets the discriminator value. - * @param __d New value for the discriminator. - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. - */ - eProsima_user_DllExport void _d( - eprosima::fastdds::statistics::EventKind __d); - - /*! - * @brief This function returns the value of the discriminator. - * @return Value of the discriminator - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EventKind _d() const; - - /*! - * @brief This function returns a reference to the discriminator. - * @return Reference to the discriminator. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EventKind& _d(); - - /*! - * @brief This function copies the value in member writer_reader_data - * @param _writer_reader_data New value to be copied in member writer_reader_data - */ - eProsima_user_DllExport void writer_reader_data( - const eprosima::fastdds::statistics::WriterReaderData& _writer_reader_data); - - /*! - * @brief This function moves the value in member writer_reader_data - * @param _writer_reader_data New value to be moved in member writer_reader_data - */ - eProsima_user_DllExport void writer_reader_data( - eprosima::fastdds::statistics::WriterReaderData&& _writer_reader_data); - - /*! - * @brief This function returns a constant reference to member writer_reader_data - * @return Constant reference to member writer_reader_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::WriterReaderData& writer_reader_data() const; - - /*! - * @brief This function returns a reference to member writer_reader_data - * @return Reference to member writer_reader_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::WriterReaderData& writer_reader_data(); - - - /*! - * @brief This function copies the value in member locator2locator_data - * @param _locator2locator_data New value to be copied in member locator2locator_data - */ - eProsima_user_DllExport void locator2locator_data( - const eprosima::fastdds::statistics::Locator2LocatorData& _locator2locator_data); - - /*! - * @brief This function moves the value in member locator2locator_data - * @param _locator2locator_data New value to be moved in member locator2locator_data - */ - eProsima_user_DllExport void locator2locator_data( - eprosima::fastdds::statistics::Locator2LocatorData&& _locator2locator_data); - - /*! - * @brief This function returns a constant reference to member locator2locator_data - * @return Constant reference to member locator2locator_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data() const; - - /*! - * @brief This function returns a reference to member locator2locator_data - * @return Reference to member locator2locator_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data(); - - - /*! - * @brief This function copies the value in member entity_data - * @param _entity_data New value to be copied in member entity_data - */ - eProsima_user_DllExport void entity_data( - const eprosima::fastdds::statistics::EntityData& _entity_data); - - /*! - * @brief This function moves the value in member entity_data - * @param _entity_data New value to be moved in member entity_data - */ - eProsima_user_DllExport void entity_data( - eprosima::fastdds::statistics::EntityData&& _entity_data); - - /*! - * @brief This function returns a constant reference to member entity_data - * @return Constant reference to member entity_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::EntityData& entity_data() const; - - /*! - * @brief This function returns a reference to member entity_data - * @return Reference to member entity_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EntityData& entity_data(); - - - /*! - * @brief This function copies the value in member entity2locator_traffic - * @param _entity2locator_traffic New value to be copied in member entity2locator_traffic - */ - eProsima_user_DllExport void entity2locator_traffic( - const eprosima::fastdds::statistics::Entity2LocatorTraffic& _entity2locator_traffic); - - /*! - * @brief This function moves the value in member entity2locator_traffic - * @param _entity2locator_traffic New value to be moved in member entity2locator_traffic - */ - eProsima_user_DllExport void entity2locator_traffic( - eprosima::fastdds::statistics::Entity2LocatorTraffic&& _entity2locator_traffic); - - /*! - * @brief This function returns a constant reference to member entity2locator_traffic - * @return Constant reference to member entity2locator_traffic - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic() const; - - /*! - * @brief This function returns a reference to member entity2locator_traffic - * @return Reference to member entity2locator_traffic - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic(); - - - /*! - * @brief This function copies the value in member entity_count - * @param _entity_count New value to be copied in member entity_count - */ - eProsima_user_DllExport void entity_count( - const eprosima::fastdds::statistics::EntityCount& _entity_count); - - /*! - * @brief This function moves the value in member entity_count - * @param _entity_count New value to be moved in member entity_count - */ - eProsima_user_DllExport void entity_count( - eprosima::fastdds::statistics::EntityCount&& _entity_count); - - /*! - * @brief This function returns a constant reference to member entity_count - * @return Constant reference to member entity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::EntityCount& entity_count() const; - - /*! - * @brief This function returns a reference to member entity_count - * @return Reference to member entity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::EntityCount& entity_count(); - - - /*! - * @brief This function copies the value in member discovery_time - * @param _discovery_time New value to be copied in member discovery_time - */ - eProsima_user_DllExport void discovery_time( - const eprosima::fastdds::statistics::DiscoveryTime& _discovery_time); - - /*! - * @brief This function moves the value in member discovery_time - * @param _discovery_time New value to be moved in member discovery_time - */ - eProsima_user_DllExport void discovery_time( - eprosima::fastdds::statistics::DiscoveryTime&& _discovery_time); - - /*! - * @brief This function returns a constant reference to member discovery_time - * @return Constant reference to member discovery_time - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::DiscoveryTime& discovery_time() const; - - /*! - * @brief This function returns a reference to member discovery_time - * @return Reference to member discovery_time - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::DiscoveryTime& discovery_time(); - - - /*! - * @brief This function copies the value in member sample_identity_count - * @param _sample_identity_count New value to be copied in member sample_identity_count - */ - eProsima_user_DllExport void sample_identity_count( - const eprosima::fastdds::statistics::SampleIdentityCount& _sample_identity_count); - - /*! - * @brief This function moves the value in member sample_identity_count - * @param _sample_identity_count New value to be moved in member sample_identity_count - */ - eProsima_user_DllExport void sample_identity_count( - eprosima::fastdds::statistics::SampleIdentityCount&& _sample_identity_count); - - /*! - * @brief This function returns a constant reference to member sample_identity_count - * @return Constant reference to member sample_identity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count() const; - - /*! - * @brief This function returns a reference to member sample_identity_count - * @return Reference to member sample_identity_count - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count(); - - - /*! - * @brief This function copies the value in member physical_data - * @param _physical_data New value to be copied in member physical_data - */ - eProsima_user_DllExport void physical_data( - const eprosima::fastdds::statistics::PhysicalData& _physical_data); - - /*! - * @brief This function moves the value in member physical_data - * @param _physical_data New value to be moved in member physical_data - */ - eProsima_user_DllExport void physical_data( - eprosima::fastdds::statistics::PhysicalData&& _physical_data); - - /*! - * @brief This function returns a constant reference to member physical_data - * @return Constant reference to member physical_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport const eprosima::fastdds::statistics::PhysicalData& physical_data() const; - - /*! - * @brief This function returns a reference to member physical_data - * @return Reference to member physical_data - * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. - */ - eProsima_user_DllExport eprosima::fastdds::statistics::PhysicalData& physical_data(); - - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const eprosima::fastdds::statistics::Data& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - - private: - - eprosima::fastdds::statistics::EventKind m__d; - - eprosima::fastdds::statistics::WriterReaderData m_writer_reader_data; - eprosima::fastdds::statistics::Locator2LocatorData m_locator2locator_data; - eprosima::fastdds::statistics::EntityData m_entity_data; - eprosima::fastdds::statistics::Entity2LocatorTraffic m_entity2locator_traffic; - eprosima::fastdds::statistics::EntityCount m_entity_count; - eprosima::fastdds::statistics::DiscoveryTime m_discovery_time; - eprosima::fastdds::statistics::SampleIdentityCount m_sample_identity_count; - eprosima::fastdds::statistics::PhysicalData m_physical_data; - }; - - } // namespace statistics - } // namespace fastdds +namespace fastdds { +namespace statistics { +namespace detail { + + +/*! + * @brief This class represents the structure EntityId_s defined by the user in the IDL file. + * @ingroup types + */ +class EntityId_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityId_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityId_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s( + const EntityId_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s( + EntityId_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s& operator =( + const EntityId_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::EntityId_s that will be copied. + */ + eProsima_user_DllExport EntityId_s& operator =( + EntityId_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityId_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::EntityId_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityId_s& x) const; + + /*! + * @brief This function copies the value in member value + * @param _value New value to be copied in member value + */ + eProsima_user_DllExport void value( + const std::array& _value); + + /*! + * @brief This function moves the value in member value + * @param _value New value to be moved in member value + */ + eProsima_user_DllExport void value( + std::array&& _value); + + /*! + * @brief This function returns a constant reference to member value + * @return Constant reference to member value + */ + eProsima_user_DllExport const std::array& value() const; + + /*! + * @brief This function returns a reference to member value + * @return Reference to member value + */ + eProsima_user_DllExport std::array& value(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::EntityId_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + std::array m_value; + +}; + + + +/*! + * @brief This class represents the structure GuidPrefix_s defined by the user in the IDL file. + * @ingroup types + */ +class GuidPrefix_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport GuidPrefix_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~GuidPrefix_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s( + const GuidPrefix_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s( + GuidPrefix_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s& operator =( + const GuidPrefix_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GuidPrefix_s that will be copied. + */ + eProsima_user_DllExport GuidPrefix_s& operator =( + GuidPrefix_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const GuidPrefix_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GuidPrefix_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const GuidPrefix_s& x) const; + + /*! + * @brief This function copies the value in member value + * @param _value New value to be copied in member value + */ + eProsima_user_DllExport void value( + const std::array& _value); + + /*! + * @brief This function moves the value in member value + * @param _value New value to be moved in member value + */ + eProsima_user_DllExport void value( + std::array&& _value); + + /*! + * @brief This function returns a constant reference to member value + * @return Constant reference to member value + */ + eProsima_user_DllExport const std::array& value() const; + + /*! + * @brief This function returns a reference to member value + * @return Reference to member value + */ + eProsima_user_DllExport std::array& value(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::GuidPrefix_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + std::array m_value; + +}; + + + +/*! + * @brief This class represents the structure GUID_s defined by the user in the IDL file. + * @ingroup types + */ +class GUID_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport GUID_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~GUID_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s( + const GUID_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s( + GUID_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s& operator =( + const GUID_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::GUID_s that will be copied. + */ + eProsima_user_DllExport GUID_s& operator =( + GUID_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const GUID_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::GUID_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const GUID_s& x) const; + + /*! + * @brief This function copies the value in member guidPrefix + * @param _guidPrefix New value to be copied in member guidPrefix + */ + eProsima_user_DllExport void guidPrefix( + const eprosima::fastdds::statistics::detail::GuidPrefix_s& _guidPrefix); + + /*! + * @brief This function moves the value in member guidPrefix + * @param _guidPrefix New value to be moved in member guidPrefix + */ + eProsima_user_DllExport void guidPrefix( + eprosima::fastdds::statistics::detail::GuidPrefix_s&& _guidPrefix); + + /*! + * @brief This function returns a constant reference to member guidPrefix + * @return Constant reference to member guidPrefix + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix() const; + + /*! + * @brief This function returns a reference to member guidPrefix + * @return Reference to member guidPrefix + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GuidPrefix_s& guidPrefix(); + + + /*! + * @brief This function copies the value in member entityId + * @param _entityId New value to be copied in member entityId + */ + eProsima_user_DllExport void entityId( + const eprosima::fastdds::statistics::detail::EntityId_s& _entityId); + + /*! + * @brief This function moves the value in member entityId + * @param _entityId New value to be moved in member entityId + */ + eProsima_user_DllExport void entityId( + eprosima::fastdds::statistics::detail::EntityId_s&& _entityId); + + /*! + * @brief This function returns a constant reference to member entityId + * @return Constant reference to member entityId + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::EntityId_s& entityId() const; + + /*! + * @brief This function returns a reference to member entityId + * @return Reference to member entityId + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::EntityId_s& entityId(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::GUID_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GuidPrefix_s m_guidPrefix; + eprosima::fastdds::statistics::detail::EntityId_s m_entityId; + +}; + + + +/*! + * @brief This class represents the structure SequenceNumber_s defined by the user in the IDL file. + * @ingroup types + */ +class SequenceNumber_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SequenceNumber_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SequenceNumber_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s( + const SequenceNumber_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s( + SequenceNumber_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s& operator =( + const SequenceNumber_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SequenceNumber_s that will be copied. + */ + eProsima_user_DllExport SequenceNumber_s& operator =( + SequenceNumber_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SequenceNumber_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SequenceNumber_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SequenceNumber_s& x) const; + + /*! + * @brief This function sets a value in member high + * @param _high New value for member high + */ + eProsima_user_DllExport void high( + int32_t _high); + + /*! + * @brief This function returns the value of member high + * @return Value of member high + */ + eProsima_user_DllExport int32_t high() const; + + /*! + * @brief This function returns a reference to member high + * @return Reference to member high + */ + eProsima_user_DllExport int32_t& high(); + + + /*! + * @brief This function sets a value in member low + * @param _low New value for member low + */ + eProsima_user_DllExport void low( + uint32_t _low); + + /*! + * @brief This function returns the value of member low + * @return Value of member low + */ + eProsima_user_DllExport uint32_t low() const; + + /*! + * @brief This function returns a reference to member low + * @return Reference to member low + */ + eProsima_user_DllExport uint32_t& low(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::SequenceNumber_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + int32_t m_high; + uint32_t m_low; + +}; + + + +/*! + * @brief This class represents the structure SampleIdentity_s defined by the user in the IDL file. + * @ingroup types + */ +class SampleIdentity_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SampleIdentity_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SampleIdentity_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s( + const SampleIdentity_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s( + SampleIdentity_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s& operator =( + const SampleIdentity_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::SampleIdentity_s that will be copied. + */ + eProsima_user_DllExport SampleIdentity_s& operator =( + SampleIdentity_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SampleIdentity_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::SampleIdentity_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SampleIdentity_s& x) const; + + /*! + * @brief This function copies the value in member writer_guid + * @param _writer_guid New value to be copied in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); + + /*! + * @brief This function moves the value in member writer_guid + * @param _writer_guid New value to be moved in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); + + /*! + * @brief This function returns a constant reference to member writer_guid + * @return Constant reference to member writer_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; + + /*! + * @brief This function returns a reference to member writer_guid + * @return Reference to member writer_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); + + + /*! + * @brief This function copies the value in member sequence_number + * @param _sequence_number New value to be copied in member sequence_number + */ + eProsima_user_DllExport void sequence_number( + const eprosima::fastdds::statistics::detail::SequenceNumber_s& _sequence_number); + + /*! + * @brief This function moves the value in member sequence_number + * @param _sequence_number New value to be moved in member sequence_number + */ + eProsima_user_DllExport void sequence_number( + eprosima::fastdds::statistics::detail::SequenceNumber_s&& _sequence_number); + + /*! + * @brief This function returns a constant reference to member sequence_number + * @return Constant reference to member sequence_number + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number() const; + + /*! + * @brief This function returns a reference to member sequence_number + * @return Reference to member sequence_number + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::SequenceNumber_s& sequence_number(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::SampleIdentity_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; + eprosima::fastdds::statistics::detail::SequenceNumber_s m_sequence_number; + +}; + + + +/*! + * @brief This class represents the structure Locator_s defined by the user in the IDL file. + * @ingroup types + */ +class Locator_s +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Locator_s(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Locator_s(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s( + const Locator_s& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s( + Locator_s&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s& operator =( + const Locator_s& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::detail::Locator_s that will be copied. + */ + eProsima_user_DllExport Locator_s& operator =( + Locator_s&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Locator_s& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::detail::Locator_s object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Locator_s& x) const; + + /*! + * @brief This function sets a value in member kind + * @param _kind New value for member kind + */ + eProsima_user_DllExport void kind( + int32_t _kind); + + /*! + * @brief This function returns the value of member kind + * @return Value of member kind + */ + eProsima_user_DllExport int32_t kind() const; + + /*! + * @brief This function returns a reference to member kind + * @return Reference to member kind + */ + eProsima_user_DllExport int32_t& kind(); + + + /*! + * @brief This function sets a value in member port + * @param _port New value for member port + */ + eProsima_user_DllExport void port( + uint32_t _port); + + /*! + * @brief This function returns the value of member port + * @return Value of member port + */ + eProsima_user_DllExport uint32_t port() const; + + /*! + * @brief This function returns a reference to member port + * @return Reference to member port + */ + eProsima_user_DllExport uint32_t& port(); + + + /*! + * @brief This function copies the value in member address + * @param _address New value to be copied in member address + */ + eProsima_user_DllExport void address( + const std::array& _address); + + /*! + * @brief This function moves the value in member address + * @param _address New value to be moved in member address + */ + eProsima_user_DllExport void address( + std::array&& _address); + + /*! + * @brief This function returns a constant reference to member address + * @return Constant reference to member address + */ + eProsima_user_DllExport const std::array& address() const; + + /*! + * @brief This function returns a reference to member address + * @return Reference to member address + */ + eProsima_user_DllExport std::array& address(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::detail::Locator_s& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + int32_t m_kind; + uint32_t m_port; + std::array m_address; + +}; + +} // namespace detail + + +/*! + * @brief This class represents the structure DiscoveryTime defined by the user in the IDL file. + * @ingroup types + */ +class DiscoveryTime +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport DiscoveryTime(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~DiscoveryTime(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime( + const DiscoveryTime& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime( + DiscoveryTime&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime& operator =( + const DiscoveryTime& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::DiscoveryTime that will be copied. + */ + eProsima_user_DllExport DiscoveryTime& operator =( + DiscoveryTime&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. + */ + eProsima_user_DllExport bool operator ==( + const DiscoveryTime& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::DiscoveryTime object to compare. + */ + eProsima_user_DllExport bool operator !=( + const DiscoveryTime& x) const; + + /*! + * @brief This function copies the value in member local_participant_guid + * @param _local_participant_guid New value to be copied in member local_participant_guid + */ + eProsima_user_DllExport void local_participant_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _local_participant_guid); + + /*! + * @brief This function moves the value in member local_participant_guid + * @param _local_participant_guid New value to be moved in member local_participant_guid + */ + eProsima_user_DllExport void local_participant_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _local_participant_guid); + + /*! + * @brief This function returns a constant reference to member local_participant_guid + * @return Constant reference to member local_participant_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid() const; + + /*! + * @brief This function returns a reference to member local_participant_guid + * @return Reference to member local_participant_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& local_participant_guid(); + + + /*! + * @brief This function copies the value in member remote_entity_guid + * @param _remote_entity_guid New value to be copied in member remote_entity_guid + */ + eProsima_user_DllExport void remote_entity_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _remote_entity_guid); + + /*! + * @brief This function moves the value in member remote_entity_guid + * @param _remote_entity_guid New value to be moved in member remote_entity_guid + */ + eProsima_user_DllExport void remote_entity_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _remote_entity_guid); + + /*! + * @brief This function returns a constant reference to member remote_entity_guid + * @return Constant reference to member remote_entity_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid() const; + + /*! + * @brief This function returns a reference to member remote_entity_guid + * @return Reference to member remote_entity_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& remote_entity_guid(); + + + /*! + * @brief This function sets a value in member time + * @param _time New value for member time + */ + eProsima_user_DllExport void time( + uint64_t _time); + + /*! + * @brief This function returns the value of member time + * @return Value of member time + */ + eProsima_user_DllExport uint64_t time() const; + + /*! + * @brief This function returns a reference to member time + * @return Reference to member time + */ + eProsima_user_DllExport uint64_t& time(); + + + /*! + * @brief This function copies the value in member host + * @param _host New value to be copied in member host + */ + eProsima_user_DllExport void host( + const std::string& _host); + + /*! + * @brief This function moves the value in member host + * @param _host New value to be moved in member host + */ + eProsima_user_DllExport void host( + std::string&& _host); + + /*! + * @brief This function returns a constant reference to member host + * @return Constant reference to member host + */ + eProsima_user_DllExport const std::string& host() const; + + /*! + * @brief This function returns a reference to member host + * @return Reference to member host + */ + eProsima_user_DllExport std::string& host(); + + + /*! + * @brief This function copies the value in member user + * @param _user New value to be copied in member user + */ + eProsima_user_DllExport void user( + const std::string& _user); + + /*! + * @brief This function moves the value in member user + * @param _user New value to be moved in member user + */ + eProsima_user_DllExport void user( + std::string&& _user); + + /*! + * @brief This function returns a constant reference to member user + * @return Constant reference to member user + */ + eProsima_user_DllExport const std::string& user() const; + + /*! + * @brief This function returns a reference to member user + * @return Reference to member user + */ + eProsima_user_DllExport std::string& user(); + + + /*! + * @brief This function copies the value in member process + * @param _process New value to be copied in member process + */ + eProsima_user_DllExport void process( + const std::string& _process); + + /*! + * @brief This function moves the value in member process + * @param _process New value to be moved in member process + */ + eProsima_user_DllExport void process( + std::string&& _process); + + /*! + * @brief This function returns a constant reference to member process + * @return Constant reference to member process + */ + eProsima_user_DllExport const std::string& process() const; + + /*! + * @brief This function returns a reference to member process + * @return Reference to member process + */ + eProsima_user_DllExport std::string& process(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::DiscoveryTime& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_local_participant_guid; + eprosima::fastdds::statistics::detail::GUID_s m_remote_entity_guid; + uint64_t m_time; + std::string m_host; + std::string m_user; + std::string m_process; + +}; + + + +/*! + * @brief This class represents the structure EntityCount defined by the user in the IDL file. + * @ingroup types + */ +class EntityCount +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityCount(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityCount(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount( + const EntityCount& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount( + EntityCount&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount& operator =( + const EntityCount& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityCount that will be copied. + */ + eProsima_user_DllExport EntityCount& operator =( + EntityCount&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityCount object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityCount& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityCount object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityCount& x) const; + + /*! + * @brief This function copies the value in member guid + * @param _guid New value to be copied in member guid + */ + eProsima_user_DllExport void guid( + const eprosima::fastdds::statistics::detail::GUID_s& _guid); + + /*! + * @brief This function moves the value in member guid + * @param _guid New value to be moved in member guid + */ + eProsima_user_DllExport void guid( + eprosima::fastdds::statistics::detail::GUID_s&& _guid); + + /*! + * @brief This function returns a constant reference to member guid + * @return Constant reference to member guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; + + /*! + * @brief This function returns a reference to member guid + * @return Reference to member guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); + + + /*! + * @brief This function sets a value in member count + * @param _count New value for member count + */ + eProsima_user_DllExport void count( + uint64_t _count); + + /*! + * @brief This function returns the value of member count + * @return Value of member count + */ + eProsima_user_DllExport uint64_t count() const; + + /*! + * @brief This function returns a reference to member count + * @return Reference to member count + */ + eProsima_user_DllExport uint64_t& count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::EntityCount& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_guid; + uint64_t m_count; + +}; + + + +/*! + * @brief This class represents the structure SampleIdentityCount defined by the user in the IDL file. + * @ingroup types + */ +class SampleIdentityCount +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport SampleIdentityCount(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~SampleIdentityCount(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount( + const SampleIdentityCount& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount( + SampleIdentityCount&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount& operator =( + const SampleIdentityCount& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::SampleIdentityCount that will be copied. + */ + eProsima_user_DllExport SampleIdentityCount& operator =( + SampleIdentityCount&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. + */ + eProsima_user_DllExport bool operator ==( + const SampleIdentityCount& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::SampleIdentityCount object to compare. + */ + eProsima_user_DllExport bool operator !=( + const SampleIdentityCount& x) const; + + /*! + * @brief This function copies the value in member sample_id + * @param _sample_id New value to be copied in member sample_id + */ + eProsima_user_DllExport void sample_id( + const eprosima::fastdds::statistics::detail::SampleIdentity_s& _sample_id); + + /*! + * @brief This function moves the value in member sample_id + * @param _sample_id New value to be moved in member sample_id + */ + eProsima_user_DllExport void sample_id( + eprosima::fastdds::statistics::detail::SampleIdentity_s&& _sample_id); + + /*! + * @brief This function returns a constant reference to member sample_id + * @return Constant reference to member sample_id + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id() const; + + /*! + * @brief This function returns a reference to member sample_id + * @return Reference to member sample_id + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::SampleIdentity_s& sample_id(); + + + /*! + * @brief This function sets a value in member count + * @param _count New value for member count + */ + eProsima_user_DllExport void count( + uint64_t _count); + + /*! + * @brief This function returns the value of member count + * @return Value of member count + */ + eProsima_user_DllExport uint64_t count() const; + + /*! + * @brief This function returns a reference to member count + * @return Reference to member count + */ + eProsima_user_DllExport uint64_t& count(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::SampleIdentityCount& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::SampleIdentity_s m_sample_id; + uint64_t m_count; + +}; + + + +/*! + * @brief This class represents the structure Entity2LocatorTraffic defined by the user in the IDL file. + * @ingroup types + */ +class Entity2LocatorTraffic +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Entity2LocatorTraffic(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Entity2LocatorTraffic(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic( + const Entity2LocatorTraffic& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic( + Entity2LocatorTraffic&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic& operator =( + const Entity2LocatorTraffic& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Entity2LocatorTraffic that will be copied. + */ + eProsima_user_DllExport Entity2LocatorTraffic& operator =( + Entity2LocatorTraffic&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Entity2LocatorTraffic& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Entity2LocatorTraffic object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Entity2LocatorTraffic& x) const; + + /*! + * @brief This function copies the value in member src_guid + * @param _src_guid New value to be copied in member src_guid + */ + eProsima_user_DllExport void src_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _src_guid); + + /*! + * @brief This function moves the value in member src_guid + * @param _src_guid New value to be moved in member src_guid + */ + eProsima_user_DllExport void src_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _src_guid); + + /*! + * @brief This function returns a constant reference to member src_guid + * @return Constant reference to member src_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& src_guid() const; + + /*! + * @brief This function returns a reference to member src_guid + * @return Reference to member src_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& src_guid(); + + + /*! + * @brief This function copies the value in member dst_locator + * @param _dst_locator New value to be copied in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); + + /*! + * @brief This function moves the value in member dst_locator + * @param _dst_locator New value to be moved in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); + + /*! + * @brief This function returns a constant reference to member dst_locator + * @return Constant reference to member dst_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; + + /*! + * @brief This function returns a reference to member dst_locator + * @return Reference to member dst_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); + + + /*! + * @brief This function sets a value in member packet_count + * @param _packet_count New value for member packet_count + */ + eProsima_user_DllExport void packet_count( + uint64_t _packet_count); + + /*! + * @brief This function returns the value of member packet_count + * @return Value of member packet_count + */ + eProsima_user_DllExport uint64_t packet_count() const; + + /*! + * @brief This function returns a reference to member packet_count + * @return Reference to member packet_count + */ + eProsima_user_DllExport uint64_t& packet_count(); + + + /*! + * @brief This function sets a value in member byte_count + * @param _byte_count New value for member byte_count + */ + eProsima_user_DllExport void byte_count( + uint64_t _byte_count); + + /*! + * @brief This function returns the value of member byte_count + * @return Value of member byte_count + */ + eProsima_user_DllExport uint64_t byte_count() const; + + /*! + * @brief This function returns a reference to member byte_count + * @return Reference to member byte_count + */ + eProsima_user_DllExport uint64_t& byte_count(); + + + /*! + * @brief This function sets a value in member byte_magnitude_order + * @param _byte_magnitude_order New value for member byte_magnitude_order + */ + eProsima_user_DllExport void byte_magnitude_order( + int16_t _byte_magnitude_order); + + /*! + * @brief This function returns the value of member byte_magnitude_order + * @return Value of member byte_magnitude_order + */ + eProsima_user_DllExport int16_t byte_magnitude_order() const; + + /*! + * @brief This function returns a reference to member byte_magnitude_order + * @return Reference to member byte_magnitude_order + */ + eProsima_user_DllExport int16_t& byte_magnitude_order(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Entity2LocatorTraffic& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_src_guid; + eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; + uint64_t m_packet_count; + uint64_t m_byte_count; + int16_t m_byte_magnitude_order; + +}; + + + +/*! + * @brief This class represents the structure WriterReaderData defined by the user in the IDL file. + * @ingroup types + */ +class WriterReaderData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport WriterReaderData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~WriterReaderData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData( + const WriterReaderData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData( + WriterReaderData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData& operator =( + const WriterReaderData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::WriterReaderData that will be copied. + */ + eProsima_user_DllExport WriterReaderData& operator =( + WriterReaderData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const WriterReaderData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::WriterReaderData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const WriterReaderData& x) const; + + /*! + * @brief This function copies the value in member writer_guid + * @param _writer_guid New value to be copied in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _writer_guid); + + /*! + * @brief This function moves the value in member writer_guid + * @param _writer_guid New value to be moved in member writer_guid + */ + eProsima_user_DllExport void writer_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _writer_guid); + + /*! + * @brief This function returns a constant reference to member writer_guid + * @return Constant reference to member writer_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& writer_guid() const; + + /*! + * @brief This function returns a reference to member writer_guid + * @return Reference to member writer_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& writer_guid(); + + + /*! + * @brief This function copies the value in member reader_guid + * @param _reader_guid New value to be copied in member reader_guid + */ + eProsima_user_DllExport void reader_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _reader_guid); + + /*! + * @brief This function moves the value in member reader_guid + * @param _reader_guid New value to be moved in member reader_guid + */ + eProsima_user_DllExport void reader_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _reader_guid); + + /*! + * @brief This function returns a constant reference to member reader_guid + * @return Constant reference to member reader_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& reader_guid() const; + + /*! + * @brief This function returns a reference to member reader_guid + * @return Reference to member reader_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& reader_guid(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::WriterReaderData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_writer_guid; + eprosima::fastdds::statistics::detail::GUID_s m_reader_guid; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure Locator2LocatorData defined by the user in the IDL file. + * @ingroup types + */ +class Locator2LocatorData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Locator2LocatorData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Locator2LocatorData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData( + const Locator2LocatorData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData( + Locator2LocatorData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData& operator =( + const Locator2LocatorData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Locator2LocatorData that will be copied. + */ + eProsima_user_DllExport Locator2LocatorData& operator =( + Locator2LocatorData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Locator2LocatorData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Locator2LocatorData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Locator2LocatorData& x) const; + + /*! + * @brief This function copies the value in member src_locator + * @param _src_locator New value to be copied in member src_locator + */ + eProsima_user_DllExport void src_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _src_locator); + + /*! + * @brief This function moves the value in member src_locator + * @param _src_locator New value to be moved in member src_locator + */ + eProsima_user_DllExport void src_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _src_locator); + + /*! + * @brief This function returns a constant reference to member src_locator + * @return Constant reference to member src_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& src_locator() const; + + /*! + * @brief This function returns a reference to member src_locator + * @return Reference to member src_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& src_locator(); + + + /*! + * @brief This function copies the value in member dst_locator + * @param _dst_locator New value to be copied in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + const eprosima::fastdds::statistics::detail::Locator_s& _dst_locator); + + /*! + * @brief This function moves the value in member dst_locator + * @param _dst_locator New value to be moved in member dst_locator + */ + eProsima_user_DllExport void dst_locator( + eprosima::fastdds::statistics::detail::Locator_s&& _dst_locator); + + /*! + * @brief This function returns a constant reference to member dst_locator + * @return Constant reference to member dst_locator + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::Locator_s& dst_locator() const; + + /*! + * @brief This function returns a reference to member dst_locator + * @return Reference to member dst_locator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::Locator_s& dst_locator(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Locator2LocatorData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::Locator_s m_src_locator; + eprosima::fastdds::statistics::detail::Locator_s m_dst_locator; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure EntityData defined by the user in the IDL file. + * @ingroup types + */ +class EntityData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport EntityData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~EntityData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData( + const EntityData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData( + EntityData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData& operator =( + const EntityData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::EntityData that will be copied. + */ + eProsima_user_DllExport EntityData& operator =( + EntityData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const EntityData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::EntityData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const EntityData& x) const; + + /*! + * @brief This function copies the value in member guid + * @param _guid New value to be copied in member guid + */ + eProsima_user_DllExport void guid( + const eprosima::fastdds::statistics::detail::GUID_s& _guid); + + /*! + * @brief This function moves the value in member guid + * @param _guid New value to be moved in member guid + */ + eProsima_user_DllExport void guid( + eprosima::fastdds::statistics::detail::GUID_s&& _guid); + + /*! + * @brief This function returns a constant reference to member guid + * @return Constant reference to member guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& guid() const; + + /*! + * @brief This function returns a reference to member guid + * @return Reference to member guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& guid(); + + + /*! + * @brief This function sets a value in member data + * @param _data New value for member data + */ + eProsima_user_DllExport void data( + float _data); + + /*! + * @brief This function returns the value of member data + * @return Value of member data + */ + eProsima_user_DllExport float data() const; + + /*! + * @brief This function returns a reference to member data + * @return Reference to member data + */ + eProsima_user_DllExport float& data(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::EntityData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_guid; + float m_data; + +}; + + + +/*! + * @brief This class represents the structure PhysicalData defined by the user in the IDL file. + * @ingroup types + */ +class PhysicalData +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport PhysicalData(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~PhysicalData(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData( + const PhysicalData& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData( + PhysicalData&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData& operator =( + const PhysicalData& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::PhysicalData that will be copied. + */ + eProsima_user_DllExport PhysicalData& operator =( + PhysicalData&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::PhysicalData object to compare. + */ + eProsima_user_DllExport bool operator ==( + const PhysicalData& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::PhysicalData object to compare. + */ + eProsima_user_DllExport bool operator !=( + const PhysicalData& x) const; + + /*! + * @brief This function copies the value in member participant_guid + * @param _participant_guid New value to be copied in member participant_guid + */ + eProsima_user_DllExport void participant_guid( + const eprosima::fastdds::statistics::detail::GUID_s& _participant_guid); + + /*! + * @brief This function moves the value in member participant_guid + * @param _participant_guid New value to be moved in member participant_guid + */ + eProsima_user_DllExport void participant_guid( + eprosima::fastdds::statistics::detail::GUID_s&& _participant_guid); + + /*! + * @brief This function returns a constant reference to member participant_guid + * @return Constant reference to member participant_guid + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::detail::GUID_s& participant_guid() const; + + /*! + * @brief This function returns a reference to member participant_guid + * @return Reference to member participant_guid + */ + eProsima_user_DllExport eprosima::fastdds::statistics::detail::GUID_s& participant_guid(); + + + /*! + * @brief This function copies the value in member host + * @param _host New value to be copied in member host + */ + eProsima_user_DllExport void host( + const std::string& _host); + + /*! + * @brief This function moves the value in member host + * @param _host New value to be moved in member host + */ + eProsima_user_DllExport void host( + std::string&& _host); + + /*! + * @brief This function returns a constant reference to member host + * @return Constant reference to member host + */ + eProsima_user_DllExport const std::string& host() const; + + /*! + * @brief This function returns a reference to member host + * @return Reference to member host + */ + eProsima_user_DllExport std::string& host(); + + + /*! + * @brief This function copies the value in member user + * @param _user New value to be copied in member user + */ + eProsima_user_DllExport void user( + const std::string& _user); + + /*! + * @brief This function moves the value in member user + * @param _user New value to be moved in member user + */ + eProsima_user_DllExport void user( + std::string&& _user); + + /*! + * @brief This function returns a constant reference to member user + * @return Constant reference to member user + */ + eProsima_user_DllExport const std::string& user() const; + + /*! + * @brief This function returns a reference to member user + * @return Reference to member user + */ + eProsima_user_DllExport std::string& user(); + + + /*! + * @brief This function copies the value in member process + * @param _process New value to be copied in member process + */ + eProsima_user_DllExport void process( + const std::string& _process); + + /*! + * @brief This function moves the value in member process + * @param _process New value to be moved in member process + */ + eProsima_user_DllExport void process( + std::string&& _process); + + /*! + * @brief This function returns a constant reference to member process + * @return Constant reference to member process + */ + eProsima_user_DllExport const std::string& process() const; + + /*! + * @brief This function returns a reference to member process + * @return Reference to member process + */ + eProsima_user_DllExport std::string& process(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::PhysicalData& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + eprosima::fastdds::statistics::detail::GUID_s m_participant_guid; + std::string m_host; + std::string m_user; + std::string m_process; + +}; + +/*! + * @brief This class represents the bitmask EventKind defined by the user in the IDL file. + * @ingroup types + */ +enum EventKindBits : uint32_t +{ + HISTORY2HISTORY_LATENCY = 0x01ull << 0, + NETWORK_LATENCY = 0x01ull << 1, + PUBLICATION_THROUGHPUT = 0x01ull << 2, + SUBSCRIPTION_THROUGHPUT = 0x01ull << 3, + RTPS_SENT = 0x01ull << 4, + RTPS_LOST = 0x01ull << 5, + RESENT_DATAS = 0x01ull << 6, + HEARTBEAT_COUNT = 0x01ull << 7, + ACKNACK_COUNT = 0x01ull << 8, + NACKFRAG_COUNT = 0x01ull << 9, + GAP_COUNT = 0x01ull << 10, + DATA_COUNT = 0x01ull << 11, + PDP_PACKETS = 0x01ull << 12, + EDP_PACKETS = 0x01ull << 13, + DISCOVERED_ENTITY = 0x01ull << 14, + SAMPLE_DATAS = 0x01ull << 15, + PHYSICAL_DATA = 0x01ull << 16 +}; +typedef uint32_t EventKind; + + +/*! + * @brief This class represents the union Data defined by the user in the IDL file. + * @ingroup types + */ +class Data +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport Data(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~Data(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data( + const Data& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data( + Data&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data& operator =( + const Data& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::fastdds::statistics::Data that will be copied. + */ + eProsima_user_DllExport Data& operator =( + Data&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Data object to compare. + */ + eProsima_user_DllExport bool operator ==( + const Data& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::fastdds::statistics::Data object to compare. + */ + eProsima_user_DllExport bool operator !=( + const Data& x) const; + + /*! + * @brief This function sets the discriminator value. + * @param __d New value for the discriminator. + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the new value doesn't correspond to the selected union member. + */ + eProsima_user_DllExport void _d( + eprosima::fastdds::statistics::EventKind __d); + + /*! + * @brief This function returns the value of the discriminator. + * @return Value of the discriminator + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EventKind _d() const; + + /*! + * @brief This function returns a reference to the discriminator. + * @return Reference to the discriminator. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EventKind& _d(); + + /*! + * @brief This function copies the value in member writer_reader_data + * @param _writer_reader_data New value to be copied in member writer_reader_data + */ + eProsima_user_DllExport void writer_reader_data( + const eprosima::fastdds::statistics::WriterReaderData& _writer_reader_data); + + /*! + * @brief This function moves the value in member writer_reader_data + * @param _writer_reader_data New value to be moved in member writer_reader_data + */ + eProsima_user_DllExport void writer_reader_data( + eprosima::fastdds::statistics::WriterReaderData&& _writer_reader_data); + + /*! + * @brief This function returns a constant reference to member writer_reader_data + * @return Constant reference to member writer_reader_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::WriterReaderData& writer_reader_data() const; + + /*! + * @brief This function returns a reference to member writer_reader_data + * @return Reference to member writer_reader_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::WriterReaderData& writer_reader_data(); + + + /*! + * @brief This function copies the value in member locator2locator_data + * @param _locator2locator_data New value to be copied in member locator2locator_data + */ + eProsima_user_DllExport void locator2locator_data( + const eprosima::fastdds::statistics::Locator2LocatorData& _locator2locator_data); + + /*! + * @brief This function moves the value in member locator2locator_data + * @param _locator2locator_data New value to be moved in member locator2locator_data + */ + eProsima_user_DllExport void locator2locator_data( + eprosima::fastdds::statistics::Locator2LocatorData&& _locator2locator_data); + + /*! + * @brief This function returns a constant reference to member locator2locator_data + * @return Constant reference to member locator2locator_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data() const; + + /*! + * @brief This function returns a reference to member locator2locator_data + * @return Reference to member locator2locator_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::Locator2LocatorData& locator2locator_data(); + + + /*! + * @brief This function copies the value in member entity_data + * @param _entity_data New value to be copied in member entity_data + */ + eProsima_user_DllExport void entity_data( + const eprosima::fastdds::statistics::EntityData& _entity_data); + + /*! + * @brief This function moves the value in member entity_data + * @param _entity_data New value to be moved in member entity_data + */ + eProsima_user_DllExport void entity_data( + eprosima::fastdds::statistics::EntityData&& _entity_data); + + /*! + * @brief This function returns a constant reference to member entity_data + * @return Constant reference to member entity_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::EntityData& entity_data() const; + + /*! + * @brief This function returns a reference to member entity_data + * @return Reference to member entity_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EntityData& entity_data(); + + + /*! + * @brief This function copies the value in member entity2locator_traffic + * @param _entity2locator_traffic New value to be copied in member entity2locator_traffic + */ + eProsima_user_DllExport void entity2locator_traffic( + const eprosima::fastdds::statistics::Entity2LocatorTraffic& _entity2locator_traffic); + + /*! + * @brief This function moves the value in member entity2locator_traffic + * @param _entity2locator_traffic New value to be moved in member entity2locator_traffic + */ + eProsima_user_DllExport void entity2locator_traffic( + eprosima::fastdds::statistics::Entity2LocatorTraffic&& _entity2locator_traffic); + + /*! + * @brief This function returns a constant reference to member entity2locator_traffic + * @return Constant reference to member entity2locator_traffic + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic() const; + + /*! + * @brief This function returns a reference to member entity2locator_traffic + * @return Reference to member entity2locator_traffic + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::Entity2LocatorTraffic& entity2locator_traffic(); + + + /*! + * @brief This function copies the value in member entity_count + * @param _entity_count New value to be copied in member entity_count + */ + eProsima_user_DllExport void entity_count( + const eprosima::fastdds::statistics::EntityCount& _entity_count); + + /*! + * @brief This function moves the value in member entity_count + * @param _entity_count New value to be moved in member entity_count + */ + eProsima_user_DllExport void entity_count( + eprosima::fastdds::statistics::EntityCount&& _entity_count); + + /*! + * @brief This function returns a constant reference to member entity_count + * @return Constant reference to member entity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::EntityCount& entity_count() const; + + /*! + * @brief This function returns a reference to member entity_count + * @return Reference to member entity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::EntityCount& entity_count(); + + + /*! + * @brief This function copies the value in member discovery_time + * @param _discovery_time New value to be copied in member discovery_time + */ + eProsima_user_DllExport void discovery_time( + const eprosima::fastdds::statistics::DiscoveryTime& _discovery_time); + + /*! + * @brief This function moves the value in member discovery_time + * @param _discovery_time New value to be moved in member discovery_time + */ + eProsima_user_DllExport void discovery_time( + eprosima::fastdds::statistics::DiscoveryTime&& _discovery_time); + + /*! + * @brief This function returns a constant reference to member discovery_time + * @return Constant reference to member discovery_time + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::DiscoveryTime& discovery_time() const; + + /*! + * @brief This function returns a reference to member discovery_time + * @return Reference to member discovery_time + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::DiscoveryTime& discovery_time(); + + + /*! + * @brief This function copies the value in member sample_identity_count + * @param _sample_identity_count New value to be copied in member sample_identity_count + */ + eProsima_user_DllExport void sample_identity_count( + const eprosima::fastdds::statistics::SampleIdentityCount& _sample_identity_count); + + /*! + * @brief This function moves the value in member sample_identity_count + * @param _sample_identity_count New value to be moved in member sample_identity_count + */ + eProsima_user_DllExport void sample_identity_count( + eprosima::fastdds::statistics::SampleIdentityCount&& _sample_identity_count); + + /*! + * @brief This function returns a constant reference to member sample_identity_count + * @return Constant reference to member sample_identity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count() const; + + /*! + * @brief This function returns a reference to member sample_identity_count + * @return Reference to member sample_identity_count + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::SampleIdentityCount& sample_identity_count(); + + + /*! + * @brief This function copies the value in member physical_data + * @param _physical_data New value to be copied in member physical_data + */ + eProsima_user_DllExport void physical_data( + const eprosima::fastdds::statistics::PhysicalData& _physical_data); + + /*! + * @brief This function moves the value in member physical_data + * @param _physical_data New value to be moved in member physical_data + */ + eProsima_user_DllExport void physical_data( + eprosima::fastdds::statistics::PhysicalData&& _physical_data); + + /*! + * @brief This function returns a constant reference to member physical_data + * @return Constant reference to member physical_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport const eprosima::fastdds::statistics::PhysicalData& physical_data() const; + + /*! + * @brief This function returns a reference to member physical_data + * @return Reference to member physical_data + * @exception eprosima::fastcdr::BadParamException This exception is thrown if the requested union member is not the current selection. + */ + eProsima_user_DllExport eprosima::fastdds::statistics::PhysicalData& physical_data(); + + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::fastdds::statistics::Data& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + +private: + + eprosima::fastdds::statistics::EventKind m__d; + + eprosima::fastdds::statistics::WriterReaderData m_writer_reader_data; + eprosima::fastdds::statistics::Locator2LocatorData m_locator2locator_data; + eprosima::fastdds::statistics::EntityData m_entity_data; + eprosima::fastdds::statistics::Entity2LocatorTraffic m_entity2locator_traffic; + eprosima::fastdds::statistics::EntityCount m_entity_count; + eprosima::fastdds::statistics::DiscoveryTime m_discovery_time; + eprosima::fastdds::statistics::SampleIdentityCount m_sample_identity_count; + eprosima::fastdds::statistics::PhysicalData m_physical_data; +}; + +} // namespace statistics +} // namespace fastdds } // namespace eprosima #endif // _FAST_DDS_GENERATED_EPROSIMA_FASTDDS_STATISTICS_TYPES_H_ diff --git a/test/profiling/allocations/AllocTestTypev1.h b/test/profiling/allocations/AllocTestTypev1.h index 620bd730bec..d517429948e 100644 --- a/test/profiling/allocations/AllocTestTypev1.h +++ b/test/profiling/allocations/AllocTestTypev1.h @@ -152,11 +152,11 @@ class AllocTestType /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -190,18 +190,17 @@ class AllocTestType /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_index; diff --git a/test/unittest/dds/topic/DDSSQLFilter/data_types/ContentFilterTestTypev1.h b/test/unittest/dds/topic/DDSSQLFilter/data_types/ContentFilterTestTypev1.h index ffe0e88a887..70a4fab9c71 100644 --- a/test/unittest/dds/topic/DDSSQLFilter/data_types/ContentFilterTestTypev1.h +++ b/test/unittest/dds/topic/DDSSQLFilter/data_types/ContentFilterTestTypev1.h @@ -462,11 +462,11 @@ class StructType /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -500,18 +500,17 @@ class StructType /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: char m_char_field; @@ -2231,11 +2230,11 @@ class ContentFilterTestType /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2269,18 +2268,17 @@ class ContentFilterTestType /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: char m_char_field; diff --git a/test/unittest/dynamic_types/idl/Basicv1.h b/test/unittest/dynamic_types/idl/Basicv1.h index ffb4b82a06c..d2424253d89 100644 --- a/test/unittest/dynamic_types/idl/Basicv1.h +++ b/test/unittest/dynamic_types/idl/Basicv1.h @@ -166,11 +166,11 @@ class EnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -204,18 +204,17 @@ class EnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyEnum m_my_enum; @@ -305,11 +304,11 @@ class AliasStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -343,18 +342,17 @@ class AliasStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyAliasEnum m_my_alias; @@ -444,11 +442,11 @@ class AliasAliasStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -482,18 +480,17 @@ class AliasAliasStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyAliasAliasEnum m_my_alias_alias; @@ -583,11 +580,11 @@ class BoolStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -621,18 +618,17 @@ class BoolStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -722,11 +718,11 @@ class OctetStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -760,18 +756,17 @@ class OctetStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_my_octet; @@ -861,11 +856,11 @@ class ShortStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -899,18 +894,17 @@ class ShortStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int16_t m_my_int16; @@ -1000,11 +994,11 @@ class LongStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1038,18 +1032,17 @@ class LongStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int32_t m_my_int32; @@ -1139,11 +1132,11 @@ class LongLongStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1177,18 +1170,17 @@ class LongLongStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int64_t m_my_int64; @@ -1278,11 +1270,11 @@ class UShortStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1316,18 +1308,17 @@ class UShortStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint16_t m_my_uint16; @@ -1417,11 +1408,11 @@ class ULongStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1455,18 +1446,17 @@ class ULongStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint32_t m_my_uint32; @@ -1556,11 +1546,11 @@ class ULongLongStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1594,18 +1584,17 @@ class ULongLongStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint64_t m_my_uint64; @@ -1695,11 +1684,11 @@ class FloatStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1733,18 +1722,17 @@ class FloatStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: float m_my_float32; @@ -1834,11 +1822,11 @@ class DoubleStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1872,18 +1860,17 @@ class DoubleStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: double m_my_float64; @@ -1973,11 +1960,11 @@ class LongDoubleStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2011,18 +1998,17 @@ class LongDoubleStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: long double m_my_float128; @@ -2112,11 +2098,11 @@ class CharStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2150,18 +2136,17 @@ class CharStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: char m_my_char; @@ -2251,11 +2236,11 @@ class WCharStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2289,18 +2274,17 @@ class WCharStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: wchar_t m_my_wchar; @@ -2397,11 +2381,11 @@ class StringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2435,18 +2419,17 @@ class StringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::string m_my_string; @@ -2543,11 +2526,11 @@ class WStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2581,18 +2564,17 @@ class WStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_wstring; @@ -2689,11 +2671,11 @@ class LargeStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2727,18 +2709,17 @@ class LargeStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: eprosima::fastcdr::fixed_string<41925> m_my_large_string; @@ -2835,11 +2816,11 @@ class LargeWStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2873,18 +2854,17 @@ class LargeWStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_large_wstring; @@ -2981,11 +2961,11 @@ class ArraytStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3019,18 +2999,17 @@ class ArraytStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array, 2>, 2> m_my_array; @@ -3129,11 +3108,11 @@ class ArrayArrayStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3167,18 +3146,17 @@ class ArrayArrayStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array, 2> m_my_array_array; @@ -3277,11 +3255,11 @@ class SequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3315,18 +3293,17 @@ class SequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3427,11 +3404,11 @@ class SequenceSequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3465,18 +3442,17 @@ class SequenceSequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector> m_my_sequence_sequence; @@ -3575,11 +3551,11 @@ class MapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3613,18 +3589,17 @@ class MapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -3725,11 +3700,11 @@ class MapMapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3763,18 +3738,17 @@ class MapMapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map> m_my_map_map; @@ -3901,10 +3875,6 @@ class MyBitset eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: std::bitset<30> m_bitset; @@ -3999,11 +3969,11 @@ class BitsetStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4037,18 +4007,17 @@ class BitsetStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyBitset m_a; @@ -4158,11 +4127,11 @@ class StructStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4196,18 +4165,17 @@ class StructStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int32_t m_a; @@ -4325,11 +4293,11 @@ class StructStructStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4363,18 +4331,17 @@ class StructStructStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: StructStruct m_child_struct; @@ -4534,10 +4501,6 @@ class SimpleUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -4705,10 +4668,6 @@ class UnionUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -4869,10 +4828,6 @@ class WCharUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: wchar_t m__d; @@ -4971,11 +4926,11 @@ class SimpleUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5009,18 +4964,17 @@ class SimpleUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnion m_my_union; @@ -5117,11 +5071,11 @@ class UnionUnionUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5155,18 +5109,17 @@ class UnionUnionUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: UnionUnion m_my_union; @@ -5263,11 +5216,11 @@ class WCharUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5301,18 +5254,17 @@ class WCharUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: WCharUnion m_my_union; diff --git a/test/unittest/dynamic_types/idl/Testv1.h b/test/unittest/dynamic_types/idl/Testv1.h index d0b6060b312..e24d16dd53d 100644 --- a/test/unittest/dynamic_types/idl/Testv1.h +++ b/test/unittest/dynamic_types/idl/Testv1.h @@ -414,11 +414,11 @@ class BasicStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -452,18 +452,17 @@ class BasicStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -985,7 +984,8 @@ class ComplexStruct * @brief This function returns a constant reference to member my_array_string * @return Constant reference to member my_array_string */ - eProsima_user_DllExport const std::array, 5>, 5>& my_array_string() const; + eProsima_user_DllExport const std::array, 5>, + 5>& my_array_string() const; /*! * @brief This function returns a reference to member my_array_string @@ -1076,11 +1076,11 @@ class ComplexStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1114,18 +1114,17 @@ class ComplexStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_my_octet; @@ -1317,10 +1316,6 @@ class MyUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: MyEnum m__d; @@ -1510,10 +1505,6 @@ class MyUnion2 eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: uint8_t m__d; @@ -1640,11 +1631,11 @@ class CompleteStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1678,18 +1669,17 @@ class CompleteStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyUnion m_my_union; @@ -1807,11 +1797,11 @@ class KeyedStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1845,18 +1835,17 @@ class KeyedStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_key; diff --git a/test/unittest/dynamic_types/idl/new_features_4_2.h b/test/unittest/dynamic_types/idl/new_features_4_2.h index 46b31433105..f5af91be20d 100644 --- a/test/unittest/dynamic_types/idl/new_features_4_2.h +++ b/test/unittest/dynamic_types/idl/new_features_4_2.h @@ -810,8 +810,6 @@ class ParentBitset eProsima_user_DllExport void bitset( const std::bitset<17>&); - - private: std::bitset<17> m_bitset; @@ -966,8 +964,6 @@ class MyBitset : public bitmodule::ParentBitset eProsima_user_DllExport void bitset( const std::bitset<50>&); - - private: std::bitset<33> m_bitset; diff --git a/test/unittest/dynamic_types/idl/new_features_4_2v1.h b/test/unittest/dynamic_types/idl/new_features_4_2v1.h index cf3e3d27fd9..3acfbb6fbbc 100644 --- a/test/unittest/dynamic_types/idl/new_features_4_2v1.h +++ b/test/unittest/dynamic_types/idl/new_features_4_2v1.h @@ -317,11 +317,11 @@ class NewAliases /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -355,18 +355,17 @@ class NewAliases /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int8_t m_int8_; @@ -533,10 +532,6 @@ class WCharUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: wchar_t m__d; @@ -697,10 +692,6 @@ class OctetUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: uint8_t m__d; @@ -861,10 +852,6 @@ class Int8Union eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int8_t m__d; @@ -874,656 +861,646 @@ class Int8Union }; namespace bitmodule { +/*! + * @brief This class represents the structure ParentBitset defined by the user in the IDL file. + * @ingroup new_features_4_2 + */ +class ParentBitset +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport ParentBitset(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~ParentBitset(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object bitmodule::ParentBitset that will be copied. + */ + eProsima_user_DllExport ParentBitset( + const ParentBitset& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object bitmodule::ParentBitset that will be copied. + */ + eProsima_user_DllExport ParentBitset( + ParentBitset&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object bitmodule::ParentBitset that will be copied. + */ + eProsima_user_DllExport ParentBitset& operator =( + const ParentBitset& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object bitmodule::ParentBitset that will be copied. + */ + eProsima_user_DllExport ParentBitset& operator =( + ParentBitset&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x bitmodule::ParentBitset object to compare. + */ + eProsima_user_DllExport bool operator ==( + const ParentBitset& x) const; + + /*! + * @brief Comparison operator. + * @param x bitmodule::ParentBitset object to compare. + */ + eProsima_user_DllExport bool operator !=( + const ParentBitset& x) const; + + /*! + * @brief This function sets a value in member parent_bitfield + * @param _parent_bitfield New value for member parent_bitfield + */ + eProsima_user_DllExport void parent_bitfield( + uint32_t _parent_bitfield); + + /*! + * @brief This function returns the value of member parent_bitfield + * @return Value of member parent_bitfield + */ + eProsima_user_DllExport uint32_t parent_bitfield() const; + + + eProsima_user_DllExport std::bitset<17> bitset() const; + + eProsima_user_DllExport void bitset( + const std::bitset<17>&); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const bitmodule::ParentBitset& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + +private: + + std::bitset<17> m_bitset; +}; +/*! + * @brief This class represents the structure MyBitset defined by the user in the IDL file. + * @ingroup new_features_4_2 + */ +class MyBitset : public bitmodule::ParentBitset +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport MyBitset(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~MyBitset(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object bitmodule::MyBitset that will be copied. + */ + eProsima_user_DllExport MyBitset( + const MyBitset& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object bitmodule::MyBitset that will be copied. + */ + eProsima_user_DllExport MyBitset( + MyBitset&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object bitmodule::MyBitset that will be copied. + */ + eProsima_user_DllExport MyBitset& operator =( + const MyBitset& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object bitmodule::MyBitset that will be copied. + */ + eProsima_user_DllExport MyBitset& operator =( + MyBitset&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x bitmodule::MyBitset object to compare. + */ + eProsima_user_DllExport bool operator ==( + const MyBitset& x) const; + + /*! + * @brief Comparison operator. + * @param x bitmodule::MyBitset object to compare. + */ + eProsima_user_DllExport bool operator !=( + const MyBitset& x) const; + + /*! + * @brief This function sets a value in member a + * @param _a New value for member a + */ + eProsima_user_DllExport void a( + char _a); + + /*! + * @brief This function returns the value of member a + * @return Value of member a + */ + eProsima_user_DllExport char a() const; + + + /*! + * @brief This function sets a value in member b + * @param _b New value for member b + */ + eProsima_user_DllExport void b( + bool _b); + + /*! + * @brief This function returns the value of member b + * @return Value of member b + */ + eProsima_user_DllExport bool b() const; + + + + /*! + * @brief This function sets a value in member c + * @param _c New value for member c + */ + eProsima_user_DllExport void c( + uint16_t _c); + + /*! + * @brief This function returns the value of member c + * @return Value of member c + */ + eProsima_user_DllExport uint16_t c() const; + + + /*! + * @brief This function sets a value in member d + * @param _d New value for member d + */ + eProsima_user_DllExport void d( + int16_t _d); + + /*! + * @brief This function returns the value of member d + * @return Value of member d + */ + eProsima_user_DllExport int16_t d() const; + + + /*! + * @brief This function sets a value in member e + * @param _e New value for member e + */ + eProsima_user_DllExport void e( + int16_t _e); + + /*! + * @brief This function returns the value of member e + * @return Value of member e + */ + eProsima_user_DllExport int16_t e() const; + + + /*! + * @brief This function sets a value in member f + * @param _f New value for member f + */ + eProsima_user_DllExport void f( + int16_t _f); + + /*! + * @brief This function returns the value of member f + * @return Value of member f + */ + eProsima_user_DllExport int16_t f() const; + + + eProsima_user_DllExport std::bitset<50> bitset() const; + + eProsima_user_DllExport void bitset( + const std::bitset<50>&); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const bitmodule::MyBitset& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + +private: + + std::bitset<33> m_bitset; +}; +/*! + * @brief This class represents the bitmask MyBitMask defined by the user in the IDL file. + * @ingroup new_features_4_2 + */ +enum MyBitMaskBits : uint8_t +{ + flag0 = 0x01ull << 0, + flag1 = 0x01ull << 1, + flag4 = 0x01ull << 4, + flag6 = 0x01ull << 6, + flag7 = 0x01ull << 7 +}; +typedef uint8_t MyBitMask; + + +/*! + * @brief This class represents the structure BitsetBitmask defined by the user in the IDL file. + * @ingroup new_features_4_2 + */ +class BitsetBitmask +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport BitsetBitmask(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~BitsetBitmask(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. + */ + eProsima_user_DllExport BitsetBitmask( + const BitsetBitmask& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. + */ + eProsima_user_DllExport BitsetBitmask( + BitsetBitmask&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. + */ + eProsima_user_DllExport BitsetBitmask& operator =( + const BitsetBitmask& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. + */ + eProsima_user_DllExport BitsetBitmask& operator =( + BitsetBitmask&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x bitmodule::BitsetBitmask object to compare. + */ + eProsima_user_DllExport bool operator ==( + const BitsetBitmask& x) const; + + /*! + * @brief Comparison operator. + * @param x bitmodule::BitsetBitmask object to compare. + */ + eProsima_user_DllExport bool operator !=( + const BitsetBitmask& x) const; + + /*! + * @brief This function copies the value in member mybitset + * @param _mybitset New value to be copied in member mybitset + */ + eProsima_user_DllExport void mybitset( + const bitmodule::MyBitset& _mybitset); + + /*! + * @brief This function moves the value in member mybitset + * @param _mybitset New value to be moved in member mybitset + */ + eProsima_user_DllExport void mybitset( + bitmodule::MyBitset&& _mybitset); + + /*! + * @brief This function returns a constant reference to member mybitset + * @return Constant reference to member mybitset + */ + eProsima_user_DllExport const bitmodule::MyBitset& mybitset() const; + + /*! + * @brief This function returns a reference to member mybitset + * @return Reference to member mybitset + */ + eProsima_user_DllExport bitmodule::MyBitset& mybitset(); + + + /*! + * @brief This function copies the value in member mybitmask + * @param _mybitmask New value to be copied in member mybitmask + */ + eProsima_user_DllExport void mybitmask( + const bitmodule::MyBitMask& _mybitmask); + + /*! + * @brief This function moves the value in member mybitmask + * @param _mybitmask New value to be moved in member mybitmask + */ + eProsima_user_DllExport void mybitmask( + bitmodule::MyBitMask&& _mybitmask); + + /*! + * @brief This function returns a constant reference to member mybitmask + * @return Constant reference to member mybitmask + */ + eProsima_user_DllExport const bitmodule::MyBitMask& mybitmask() const; + + /*! + * @brief This function returns a reference to member mybitmask + * @return Reference to member mybitmask + */ + eProsima_user_DllExport bitmodule::MyBitMask& mybitmask(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const bitmodule::BitsetBitmask& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + /*! - * @brief This class represents the structure ParentBitset defined by the user in the IDL file. - * @ingroup new_features_4_2 - */ - class ParentBitset - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport ParentBitset(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~ParentBitset(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object bitmodule::ParentBitset that will be copied. - */ - eProsima_user_DllExport ParentBitset( - const ParentBitset& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object bitmodule::ParentBitset that will be copied. - */ - eProsima_user_DllExport ParentBitset( - ParentBitset&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object bitmodule::ParentBitset that will be copied. - */ - eProsima_user_DllExport ParentBitset& operator =( - const ParentBitset& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object bitmodule::ParentBitset that will be copied. - */ - eProsima_user_DllExport ParentBitset& operator =( - ParentBitset&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x bitmodule::ParentBitset object to compare. - */ - eProsima_user_DllExport bool operator ==( - const ParentBitset& x) const; - - /*! - * @brief Comparison operator. - * @param x bitmodule::ParentBitset object to compare. - */ - eProsima_user_DllExport bool operator !=( - const ParentBitset& x) const; - - /*! - * @brief This function sets a value in member parent_bitfield - * @param _parent_bitfield New value for member parent_bitfield - */ - eProsima_user_DllExport void parent_bitfield( - uint32_t _parent_bitfield); - - /*! - * @brief This function returns the value of member parent_bitfield - * @return Value of member parent_bitfield - */ - eProsima_user_DllExport uint32_t parent_bitfield() const; - - - eProsima_user_DllExport std::bitset<17> bitset() const; - - eProsima_user_DllExport void bitset( - const std::bitset<17>&); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const bitmodule::ParentBitset& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - - private: - - std::bitset<17> m_bitset; - }; - /*! - * @brief This class represents the structure MyBitset defined by the user in the IDL file. - * @ingroup new_features_4_2 - */ - class MyBitset : public bitmodule::ParentBitset - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport MyBitset(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~MyBitset(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object bitmodule::MyBitset that will be copied. - */ - eProsima_user_DllExport MyBitset( - const MyBitset& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object bitmodule::MyBitset that will be copied. - */ - eProsima_user_DllExport MyBitset( - MyBitset&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object bitmodule::MyBitset that will be copied. - */ - eProsima_user_DllExport MyBitset& operator =( - const MyBitset& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object bitmodule::MyBitset that will be copied. - */ - eProsima_user_DllExport MyBitset& operator =( - MyBitset&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x bitmodule::MyBitset object to compare. - */ - eProsima_user_DllExport bool operator ==( - const MyBitset& x) const; - - /*! - * @brief Comparison operator. - * @param x bitmodule::MyBitset object to compare. - */ - eProsima_user_DllExport bool operator !=( - const MyBitset& x) const; - - /*! - * @brief This function sets a value in member a - * @param _a New value for member a - */ - eProsima_user_DllExport void a( - char _a); - - /*! - * @brief This function returns the value of member a - * @return Value of member a - */ - eProsima_user_DllExport char a() const; - - - /*! - * @brief This function sets a value in member b - * @param _b New value for member b - */ - eProsima_user_DllExport void b( - bool _b); - - /*! - * @brief This function returns the value of member b - * @return Value of member b - */ - eProsima_user_DllExport bool b() const; - + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + bitmodule::MyBitset m_mybitset; + bitmodule::MyBitMask m_mybitmask; + +}; - /*! - * @brief This function sets a value in member c - * @param _c New value for member c - */ - eProsima_user_DllExport void c( - uint16_t _c); - - /*! - * @brief This function returns the value of member c - * @return Value of member c - */ - eProsima_user_DllExport uint16_t c() const; - - - /*! - * @brief This function sets a value in member d - * @param _d New value for member d - */ - eProsima_user_DllExport void d( - int16_t _d); - - /*! - * @brief This function returns the value of member d - * @return Value of member d - */ - eProsima_user_DllExport int16_t d() const; - - - /*! - * @brief This function sets a value in member e - * @param _e New value for member e - */ - eProsima_user_DllExport void e( - int16_t _e); - - /*! - * @brief This function returns the value of member e - * @return Value of member e - */ - eProsima_user_DllExport int16_t e() const; - - - /*! - * @brief This function sets a value in member f - * @param _f New value for member f - */ - eProsima_user_DllExport void f( - int16_t _f); - - /*! - * @brief This function returns the value of member f - * @return Value of member f - */ - eProsima_user_DllExport int16_t f() const; - - - eProsima_user_DllExport std::bitset<50> bitset() const; - - eProsima_user_DllExport void bitset( - const std::bitset<50>&); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const bitmodule::MyBitset& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - - private: - - std::bitset<33> m_bitset; - }; - /*! - * @brief This class represents the bitmask MyBitMask defined by the user in the IDL file. - * @ingroup new_features_4_2 - */ - enum MyBitMaskBits : uint8_t - { - flag0 = 0x01ull << 0, - flag1 = 0x01ull << 1, - flag4 = 0x01ull << 4, - flag6 = 0x01ull << 6, - flag7 = 0x01ull << 7 - }; - typedef uint8_t MyBitMask; - - - /*! - * @brief This class represents the structure BitsetBitmask defined by the user in the IDL file. - * @ingroup new_features_4_2 - */ - class BitsetBitmask - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport BitsetBitmask(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~BitsetBitmask(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. - */ - eProsima_user_DllExport BitsetBitmask( - const BitsetBitmask& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. - */ - eProsima_user_DllExport BitsetBitmask( - BitsetBitmask&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. - */ - eProsima_user_DllExport BitsetBitmask& operator =( - const BitsetBitmask& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object bitmodule::BitsetBitmask that will be copied. - */ - eProsima_user_DllExport BitsetBitmask& operator =( - BitsetBitmask&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x bitmodule::BitsetBitmask object to compare. - */ - eProsima_user_DllExport bool operator ==( - const BitsetBitmask& x) const; - - /*! - * @brief Comparison operator. - * @param x bitmodule::BitsetBitmask object to compare. - */ - eProsima_user_DllExport bool operator !=( - const BitsetBitmask& x) const; - - /*! - * @brief This function copies the value in member mybitset - * @param _mybitset New value to be copied in member mybitset - */ - eProsima_user_DllExport void mybitset( - const bitmodule::MyBitset& _mybitset); - - /*! - * @brief This function moves the value in member mybitset - * @param _mybitset New value to be moved in member mybitset - */ - eProsima_user_DllExport void mybitset( - bitmodule::MyBitset&& _mybitset); - - /*! - * @brief This function returns a constant reference to member mybitset - * @return Constant reference to member mybitset - */ - eProsima_user_DllExport const bitmodule::MyBitset& mybitset() const; - - /*! - * @brief This function returns a reference to member mybitset - * @return Reference to member mybitset - */ - eProsima_user_DllExport bitmodule::MyBitset& mybitset(); - - - /*! - * @brief This function copies the value in member mybitmask - * @param _mybitmask New value to be copied in member mybitmask - */ - eProsima_user_DllExport void mybitmask( - const bitmodule::MyBitMask& _mybitmask); - - /*! - * @brief This function moves the value in member mybitmask - * @param _mybitmask New value to be moved in member mybitmask - */ - eProsima_user_DllExport void mybitmask( - bitmodule::MyBitMask&& _mybitmask); - - /*! - * @brief This function returns a constant reference to member mybitmask - * @return Constant reference to member mybitmask - */ - eProsima_user_DllExport const bitmodule::MyBitMask& mybitmask() const; - - /*! - * @brief This function returns a reference to member mybitmask - * @return Reference to member mybitmask - */ - eProsima_user_DllExport bitmodule::MyBitMask& mybitmask(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const bitmodule::BitsetBitmask& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - bitmodule::MyBitset m_mybitset; - bitmodule::MyBitMask m_mybitmask; - - }; - - - - /*! - * @brief This class represents the structure BM2 defined by the user in the IDL file. - * @ingroup new_features_4_2 - */ - class BM2 : public bitmodule::BitsetBitmask - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport BM2(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~BM2(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object bitmodule::BM2 that will be copied. - */ - eProsima_user_DllExport BM2( - const BM2& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object bitmodule::BM2 that will be copied. - */ - eProsima_user_DllExport BM2( - BM2&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object bitmodule::BM2 that will be copied. - */ - eProsima_user_DllExport BM2& operator =( - const BM2& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object bitmodule::BM2 that will be copied. - */ - eProsima_user_DllExport BM2& operator =( - BM2&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x bitmodule::BM2 object to compare. - */ - eProsima_user_DllExport bool operator ==( - const BM2& x) const; - - /*! - * @brief Comparison operator. - * @param x bitmodule::BM2 object to compare. - */ - eProsima_user_DllExport bool operator !=( - const BM2& x) const; - - /*! - * @brief This function copies the value in member two - * @param _two New value to be copied in member two - */ - eProsima_user_DllExport void two( - const bitmodule::MyBitMask& _two); - - /*! - * @brief This function moves the value in member two - * @param _two New value to be moved in member two - */ - eProsima_user_DllExport void two( - bitmodule::MyBitMask&& _two); - - /*! - * @brief This function returns a constant reference to member two - * @return Constant reference to member two - */ - eProsima_user_DllExport const bitmodule::MyBitMask& two() const; - - /*! - * @brief This function returns a reference to member two - * @return Reference to member two - */ - eProsima_user_DllExport bitmodule::MyBitMask& two(); - - - /*! - * @brief This function sets a value in member mylong - * @param _mylong New value for member mylong - */ - eProsima_user_DllExport void mylong( - int32_t _mylong); - - /*! - * @brief This function returns the value of member mylong - * @return Value of member mylong - */ - eProsima_user_DllExport int32_t mylong() const; - - /*! - * @brief This function returns a reference to member mylong - * @return Reference to member mylong - */ - eProsima_user_DllExport int32_t& mylong(); - - - /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ - eProsima_user_DllExport static size_t getMaxCdrSerializedSize( - size_t current_alignment = 0); - - /*! - * @brief This function returns the serialized size of a data depending on the buffer alignment. - * @param data Data which is calculated its serialized size. - * @param current_alignment Buffer alignment. - * @return Serialized size. - */ - eProsima_user_DllExport static size_t getCdrSerializedSize( - const bitmodule::BM2& data, - size_t current_alignment = 0); - - - - /*! - * @brief This function serializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serialize( - eprosima::fastcdr::Cdr& cdr) const; - - /*! - * @brief This function deserializes an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void deserialize( - eprosima::fastcdr::Cdr& cdr); - - - - - /*! - * @brief This function tells you if the Key has been defined for this type - */ - eProsima_user_DllExport static bool isKeyDefined(); - - /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ - eProsima_user_DllExport void serializeKey( - eprosima::fastcdr::Cdr& cdr) const; - - - private: - - bitmodule::MyBitMask m_two; - int32_t m_mylong; - - }; + +/*! + * @brief This class represents the structure BM2 defined by the user in the IDL file. + * @ingroup new_features_4_2 + */ +class BM2 : public bitmodule::BitsetBitmask +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport BM2(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~BM2(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object bitmodule::BM2 that will be copied. + */ + eProsima_user_DllExport BM2( + const BM2& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object bitmodule::BM2 that will be copied. + */ + eProsima_user_DllExport BM2( + BM2&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object bitmodule::BM2 that will be copied. + */ + eProsima_user_DllExport BM2& operator =( + const BM2& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object bitmodule::BM2 that will be copied. + */ + eProsima_user_DllExport BM2& operator =( + BM2&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x bitmodule::BM2 object to compare. + */ + eProsima_user_DllExport bool operator ==( + const BM2& x) const; + + /*! + * @brief Comparison operator. + * @param x bitmodule::BM2 object to compare. + */ + eProsima_user_DllExport bool operator !=( + const BM2& x) const; + + /*! + * @brief This function copies the value in member two + * @param _two New value to be copied in member two + */ + eProsima_user_DllExport void two( + const bitmodule::MyBitMask& _two); + + /*! + * @brief This function moves the value in member two + * @param _two New value to be moved in member two + */ + eProsima_user_DllExport void two( + bitmodule::MyBitMask&& _two); + + /*! + * @brief This function returns a constant reference to member two + * @return Constant reference to member two + */ + eProsima_user_DllExport const bitmodule::MyBitMask& two() const; + + /*! + * @brief This function returns a reference to member two + * @return Reference to member two + */ + eProsima_user_DllExport bitmodule::MyBitMask& two(); + + + /*! + * @brief This function sets a value in member mylong + * @param _mylong New value for member mylong + */ + eProsima_user_DllExport void mylong( + int32_t _mylong); + + /*! + * @brief This function returns the value of member mylong + * @return Value of member mylong + */ + eProsima_user_DllExport int32_t mylong() const; + + /*! + * @brief This function returns a reference to member mylong + * @return Reference to member mylong + */ + eProsima_user_DllExport int32_t& mylong(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const bitmodule::BM2& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + +private: + + bitmodule::MyBitMask m_two; + int32_t m_mylong; + +}; } // namespace bitmodule @@ -1670,11 +1647,11 @@ class StructTest : public NewAliases /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1708,18 +1685,17 @@ class StructTest : public NewAliases /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: OctetUnion m_octetUnion; diff --git a/test/unittest/xtypes/idl/Typesv1.h b/test/unittest/xtypes/idl/Typesv1.h index e0228c5ade6..347a0fba76c 100644 --- a/test/unittest/xtypes/idl/Typesv1.h +++ b/test/unittest/xtypes/idl/Typesv1.h @@ -171,11 +171,11 @@ class MyEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -209,18 +209,17 @@ class MyEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyEnum m_my_enum; @@ -310,11 +309,11 @@ class MyBadEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -348,18 +347,17 @@ class MyBadEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyBadEnum m_my_enum; @@ -451,11 +449,11 @@ class MyAliasEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -489,18 +487,17 @@ class MyAliasEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyAliasEnum m_my_enum; @@ -637,11 +634,11 @@ class BasicStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -675,18 +672,17 @@ class BasicStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -825,11 +821,11 @@ class BasicNamesStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -863,18 +859,17 @@ class BasicNamesStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool_name; @@ -1013,11 +1008,11 @@ class BasicBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1051,18 +1046,17 @@ class BasicBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_my_bool; @@ -1248,11 +1242,11 @@ class BasicWideStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1286,18 +1280,17 @@ class BasicWideStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -1485,11 +1478,11 @@ class BadBasicWideStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1523,18 +1516,17 @@ class BadBasicWideStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int32_t m_new_int32; @@ -1635,11 +1627,11 @@ class StringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1673,18 +1665,17 @@ class StringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::string m_my_string; @@ -1781,11 +1772,11 @@ class LargeStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1819,18 +1810,17 @@ class LargeStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: eprosima::fastcdr::fixed_string<41925> m_my_large_string; @@ -1927,11 +1917,11 @@ class WStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1965,18 +1955,17 @@ class WStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_wstring; @@ -2073,11 +2062,11 @@ class LargeWStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2111,18 +2100,17 @@ class LargeWStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_large_wstring; @@ -2219,11 +2207,11 @@ class ArrayStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2257,18 +2245,17 @@ class ArrayStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2365,11 +2352,11 @@ class ArrayStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2403,18 +2390,17 @@ class ArrayStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array_equal; @@ -2511,11 +2497,11 @@ class ArrayBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2549,18 +2535,17 @@ class ArrayBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2657,11 +2642,11 @@ class ArrayDimensionsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2695,18 +2680,17 @@ class ArrayDimensionsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array, 2> m_my_array; @@ -2803,11 +2787,11 @@ class ArraySizeStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2841,18 +2825,17 @@ class ArraySizeStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2951,11 +2934,11 @@ class SequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2989,18 +2972,17 @@ class SequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3099,11 +3081,11 @@ class SequenceStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3137,18 +3119,17 @@ class SequenceStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence_equal; @@ -3247,11 +3228,11 @@ class SequenceBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3285,18 +3266,17 @@ class SequenceBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3395,11 +3375,11 @@ class SequenceBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3433,18 +3413,17 @@ class SequenceBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3545,11 +3524,11 @@ class SequenceSequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3583,18 +3562,17 @@ class SequenceSequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector> m_my_sequence_sequence; @@ -3695,11 +3673,11 @@ class SequenceSequenceBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3733,18 +3711,17 @@ class SequenceSequenceBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector> m_my_sequence_sequence; @@ -3843,11 +3820,11 @@ class MapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3881,18 +3858,17 @@ class MapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -3991,11 +3967,11 @@ class MapStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4029,18 +4005,17 @@ class MapStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map_equal; @@ -4139,11 +4114,11 @@ class MapBadKeyStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4177,18 +4152,17 @@ class MapBadKeyStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4287,11 +4261,11 @@ class MapBadElemStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4325,18 +4299,17 @@ class MapBadElemStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4435,11 +4408,11 @@ class MapBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4473,18 +4446,17 @@ class MapBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4585,11 +4557,11 @@ class MapMapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4623,18 +4595,17 @@ class MapMapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map> m_my_map_map; @@ -4735,11 +4706,11 @@ class MapMapBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4773,18 +4744,17 @@ class MapMapBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map> m_my_map_map; @@ -4943,10 +4913,6 @@ class SimpleUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5107,10 +5073,6 @@ class SimpleUnionNames eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5271,10 +5233,6 @@ class SimpleTypeUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5435,10 +5393,6 @@ class SimpleBadUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5599,10 +5553,6 @@ class SimpleBadDiscUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: uint8_t m__d; @@ -5701,11 +5651,11 @@ class SimpleUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5739,18 +5689,17 @@ class SimpleUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnion m_my_union; @@ -5847,11 +5796,11 @@ class SimpleUnionStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5885,18 +5834,17 @@ class SimpleUnionStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnion m_my_union_equal; @@ -5993,11 +5941,11 @@ class SimpleUnionNamesStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6031,18 +5979,17 @@ class SimpleUnionNamesStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnionNames m_my_union; @@ -6139,11 +6086,11 @@ class SimpleTypeUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6177,18 +6124,17 @@ class SimpleTypeUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleTypeUnion m_my_union; @@ -6285,11 +6231,11 @@ class SimpleBadUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6323,18 +6269,17 @@ class SimpleBadUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleBadUnion m_my_union; @@ -6431,11 +6376,11 @@ class SimplBadDiscUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6469,18 +6414,17 @@ class SimplBadDiscUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleBadDiscUnion m_my_union; diff --git a/test/unittest/xtypes/idl/WideEnumv1.h b/test/unittest/xtypes/idl/WideEnumv1.h index a8a9945b7b2..4b9c16c495c 100644 --- a/test/unittest/xtypes/idl/WideEnumv1.h +++ b/test/unittest/xtypes/idl/WideEnumv1.h @@ -163,11 +163,11 @@ class MyEnumWideStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -201,18 +201,17 @@ class MyEnumWideStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyEnumWide m_my_enum_wide; @@ -393,10 +392,6 @@ class SimpleWideUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -496,11 +491,11 @@ class SimpleWideUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -534,18 +529,17 @@ class SimpleWideUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleWideUnion m_my_union; diff --git a/test/xtypes/idl/Typesv1.h b/test/xtypes/idl/Typesv1.h index e0228c5ade6..347a0fba76c 100644 --- a/test/xtypes/idl/Typesv1.h +++ b/test/xtypes/idl/Typesv1.h @@ -171,11 +171,11 @@ class MyEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -209,18 +209,17 @@ class MyEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyEnum m_my_enum; @@ -310,11 +309,11 @@ class MyBadEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -348,18 +347,17 @@ class MyBadEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyBadEnum m_my_enum; @@ -451,11 +449,11 @@ class MyAliasEnumStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -489,18 +487,17 @@ class MyAliasEnumStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: MyAliasEnum m_my_enum; @@ -637,11 +634,11 @@ class BasicStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -675,18 +672,17 @@ class BasicStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -825,11 +821,11 @@ class BasicNamesStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -863,18 +859,17 @@ class BasicNamesStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool_name; @@ -1013,11 +1008,11 @@ class BasicBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1051,18 +1046,17 @@ class BasicBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: uint8_t m_my_bool; @@ -1248,11 +1242,11 @@ class BasicWideStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1286,18 +1280,17 @@ class BasicWideStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: bool m_my_bool; @@ -1485,11 +1478,11 @@ class BadBasicWideStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1523,18 +1516,17 @@ class BadBasicWideStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: int32_t m_new_int32; @@ -1635,11 +1627,11 @@ class StringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1673,18 +1665,17 @@ class StringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::string m_my_string; @@ -1781,11 +1772,11 @@ class LargeStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1819,18 +1810,17 @@ class LargeStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: eprosima::fastcdr::fixed_string<41925> m_my_large_string; @@ -1927,11 +1917,11 @@ class WStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -1965,18 +1955,17 @@ class WStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_wstring; @@ -2073,11 +2062,11 @@ class LargeWStringStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2111,18 +2100,17 @@ class LargeWStringStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::wstring m_my_large_wstring; @@ -2219,11 +2207,11 @@ class ArrayStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2257,18 +2245,17 @@ class ArrayStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2365,11 +2352,11 @@ class ArrayStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2403,18 +2390,17 @@ class ArrayStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array_equal; @@ -2511,11 +2497,11 @@ class ArrayBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2549,18 +2535,17 @@ class ArrayBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2657,11 +2642,11 @@ class ArrayDimensionsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2695,18 +2680,17 @@ class ArrayDimensionsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array, 2> m_my_array; @@ -2803,11 +2787,11 @@ class ArraySizeStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2841,18 +2825,17 @@ class ArraySizeStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::array m_my_array; @@ -2951,11 +2934,11 @@ class SequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -2989,18 +2972,17 @@ class SequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3099,11 +3081,11 @@ class SequenceStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3137,18 +3119,17 @@ class SequenceStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence_equal; @@ -3247,11 +3228,11 @@ class SequenceBadStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3285,18 +3266,17 @@ class SequenceBadStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3395,11 +3375,11 @@ class SequenceBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3433,18 +3413,17 @@ class SequenceBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector m_my_sequence; @@ -3545,11 +3524,11 @@ class SequenceSequenceStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3583,18 +3562,17 @@ class SequenceSequenceStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector> m_my_sequence_sequence; @@ -3695,11 +3673,11 @@ class SequenceSequenceBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3733,18 +3711,17 @@ class SequenceSequenceBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::vector> m_my_sequence_sequence; @@ -3843,11 +3820,11 @@ class MapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -3881,18 +3858,17 @@ class MapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -3991,11 +3967,11 @@ class MapStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4029,18 +4005,17 @@ class MapStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map_equal; @@ -4139,11 +4114,11 @@ class MapBadKeyStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4177,18 +4152,17 @@ class MapBadKeyStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4287,11 +4261,11 @@ class MapBadElemStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4325,18 +4299,17 @@ class MapBadElemStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4435,11 +4408,11 @@ class MapBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4473,18 +4446,17 @@ class MapBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map m_my_map; @@ -4585,11 +4557,11 @@ class MapMapStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4623,18 +4595,17 @@ class MapMapStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map> m_my_map_map; @@ -4735,11 +4706,11 @@ class MapMapBoundsStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -4773,18 +4744,17 @@ class MapMapBoundsStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: std::map> m_my_map_map; @@ -4943,10 +4913,6 @@ class SimpleUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5107,10 +5073,6 @@ class SimpleUnionNames eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5271,10 +5233,6 @@ class SimpleTypeUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5435,10 +5393,6 @@ class SimpleBadUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: int32_t m__d; @@ -5599,10 +5553,6 @@ class SimpleBadDiscUnion eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr); - - - - private: uint8_t m__d; @@ -5701,11 +5651,11 @@ class SimpleUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5739,18 +5689,17 @@ class SimpleUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnion m_my_union; @@ -5847,11 +5796,11 @@ class SimpleUnionStructEqual /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -5885,18 +5834,17 @@ class SimpleUnionStructEqual /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnion m_my_union_equal; @@ -5993,11 +5941,11 @@ class SimpleUnionNamesStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6031,18 +5979,17 @@ class SimpleUnionNamesStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleUnionNames m_my_union; @@ -6139,11 +6086,11 @@ class SimpleTypeUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6177,18 +6124,17 @@ class SimpleTypeUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleTypeUnion m_my_union; @@ -6285,11 +6231,11 @@ class SimpleBadUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6323,18 +6269,17 @@ class SimpleBadUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleBadUnion m_my_union; @@ -6431,11 +6376,11 @@ class SimplBadDiscUnionStruct /*! - * @brief This function returns the maximum serialized size of an object - * depending on the buffer alignment. - * @param current_alignment Buffer alignment. - * @return Maximum serialized size. - */ + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ eProsima_user_DllExport static size_t getMaxCdrSerializedSize( size_t current_alignment = 0); @@ -6469,18 +6414,17 @@ class SimplBadDiscUnionStruct /*! - * @brief This function tells you if the Key has been defined for this type - */ + * @brief This function tells you if the Key has been defined for this type + */ eProsima_user_DllExport static bool isKeyDefined(); /*! - * @brief This function serializes the key members of an object using CDR serialization. - * @param cdr CDR serialization object. - */ + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ eProsima_user_DllExport void serializeKey( eprosima::fastcdr::Cdr& cdr) const; - private: SimpleBadDiscUnion m_my_union;