This class represents the structure AgnosticTopic defined by the user in the IDL file.
More...
#include <agnostictopicif.h>
This class represents the structure AgnosticTopic defined by the user in the IDL file.
◆ AgnosticTopic() [1/3]
rtctk::AgnosticTopic::AgnosticTopic |
( |
| ) |
|
◆ ~AgnosticTopic()
rtctk::AgnosticTopic::~AgnosticTopic |
( |
| ) |
|
◆ AgnosticTopic() [2/3]
Copy constructor.
- Parameters
-
◆ AgnosticTopic() [3/3]
Move constructor.
- Parameters
-
◆ deserialize()
void rtctk::AgnosticTopic::deserialize |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
|
This function deserializes an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
◆ getCdrSerializedSize()
size_t rtctk::AgnosticTopic::getCdrSerializedSize |
( |
const rtctk::AgnosticTopic & |
data, |
|
|
size_t |
current_alignment = 0 |
|
) |
| |
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
- Parameters
-
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
- Returns
- Serialized size.
◆ getKeyMaxCdrSerializedSize()
size_t rtctk::AgnosticTopic::getKeyMaxCdrSerializedSize |
( |
size_t |
current_alignment = 0 | ) |
|
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
- Parameters
-
current_alignment | Buffer alignment. |
- Returns
- Maximum serialized size.
◆ getMaxCdrSerializedSize()
size_t rtctk::AgnosticTopic::getMaxCdrSerializedSize |
( |
size_t |
current_alignment = 0 | ) |
|
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
- Parameters
-
current_alignment | Buffer alignment. |
- Returns
- Maximum serialized size.
◆ isKeyDefined()
bool rtctk::AgnosticTopic::isKeyDefined |
( |
| ) |
|
|
static |
This function tells you if the Key has been defined for this type.
◆ operator=() [1/2]
Move assignment.
- Parameters
-
◆ operator=() [2/2]
Copy assignment.
- Parameters
-
◆ sample_id() [1/3]
uint32_t & rtctk::AgnosticTopic::sample_id |
( |
| ) |
|
This function returns a reference to member sample_id.
- Returns
- Reference to member sample_id
◆ sample_id() [2/3]
uint32_t rtctk::AgnosticTopic::sample_id |
( |
| ) |
const |
This function returns the value of member sample_id.
- Returns
- Value of member sample_id
◆ sample_id() [3/3]
void rtctk::AgnosticTopic::sample_id |
( |
uint32_t |
_sample_id | ) |
|
This function sets a value in member sample_id.
- Parameters
-
_sample_id | New value for member sample_id |
◆ serialize()
void rtctk::AgnosticTopic::serialize |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
const |
This function serializes an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
◆ serialized_data() [1/4]
This function returns a reference to member serialized_data.
- Returns
- Reference to member serialized_data
◆ serialized_data() [2/4]
This function returns a constant reference to member serialized_data.
- Returns
- Constant reference to member serialized_data
◆ serialized_data() [3/4]
void rtctk::AgnosticTopic::serialized_data |
( |
const rtctk::GenPayLoad & |
_serialized_data | ) |
|
This function copies the value in member serialized_data.
- Parameters
-
_serialized_data | New value to be copied in member serialized_data |
◆ serialized_data() [4/4]
This function moves the value in member serialized_data.
- Parameters
-
_serialized_data | New value to be moved in member serialized_data |
◆ serializeKey()
void rtctk::AgnosticTopic::serializeKey |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
const |
This function serializes the key members of an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
◆ time_stamp() [1/3]
This function returns a reference to member time_stamp.
- Returns
- Reference to member time_stamp
◆ time_stamp() [2/3]
This function returns the value of member time_stamp.
- Returns
- Value of member time_stamp
◆ time_stamp() [3/3]
This function sets a value in member time_stamp.
- Parameters
-
_time_stamp | New value for member time_stamp |
The documentation for this class was generated from the following files: