22#ifndef FAST_DDS_GENERATED__PLOTJUGGLER_MSGS_MSG_STATISTICSVALUESCDRAUX_IPP
23#define FAST_DDS_GENERATED__PLOTJUGGLER_MSGS_MSG_STATISTICSVALUESCDRAUX_IPP
41 size_t& current_alignment)
45 static_cast<void>(data);
56 data.header(), current_alignment);
59 data.values(), current_alignment);
62 data.names_version(), current_alignment);
67 return calculated_size;
103 bool ret_value =
true;
107 dcdr >> data.header();
111 dcdr >> data.values();
115 dcdr >> data.names_version();
138 static_cast<void>(scdr);
139 static_cast<void>(data);
142 scdr << data.values();
144 scdr << data.names_version();
This class offers an interface to calculate the encoded size of a type serialized using a support enc...
Cdr_DllAPI EncodingAlgorithmFlag get_encoding() const
Retrieves the current encoding algorithm used by the instance.
Cdr_DllAPI CdrVersion get_cdr_version() const
Retrieves the version of the encoding algorithm used by the instance.
Cdr_DllAPI size_t begin_calculate_type_serialized_size(EncodingAlgorithmFlag new_encoding, size_t ¤t_alignment)
Indicates a new constructed type will be calculated.
Cdr_DllAPI size_t end_calculate_type_serialized_size(EncodingAlgorithmFlag new_encoding, size_t ¤t_alignment)
Indicates the ending of a constructed type.
size_t calculate_member_serialized_size(const MemberId &id, const _T &data, size_t ¤t_alignment)
Generic template which calculates the encoded size of the constructed type's member of a unknown type...
This class stores the current state of a CDR serialization.
This class offers an interface to serialize/deserialize some basic types using CDR protocol inside an...
Cdr_DllAPI Cdr & begin_serialize_type(Cdr::state ¤t_state, EncodingAlgorithmFlag type_encoding)
Tells to the encoder a new type and its members starts to be encoded.
Cdr_DllAPI Cdr & deserialize_type(EncodingAlgorithmFlag type_encoding, std::function< bool(Cdr &, const MemberId &)> functor)
Tells to the encoder a new type and its members starts to be decoded.
Cdr_DllAPI CdrVersion get_cdr_version() const
Retrieves the CdrVersion used by the instance.
Cdr_DllAPI Cdr & end_serialize_type(Cdr::state ¤t_state)
Tells to the encoder the encoding of the type finishes.
void serialize(Cdr &, const _T &)
size_t calculate_serialized_size(CdrSizeCalculator &, const _T &, size_t &)
EncodingAlgorithmFlag
This enumeration represents the supported XCDR encoding algorithms.
@ PLAIN_CDR
Specifies that the content is PLAIN_CDR.
@ PLAIN_CDR2
Specifies that the content is PLAIN_CDR2.
void deserialize(Cdr &, _T &)
eProsima_user_DllExport void serialize_key(eprosima::fastcdr::Cdr &scdr, const std_msgs::msg::Header &data)
@ XCDRv2
XCDRv2 encoding defined by standard DDS X-Types 1.3.
This class represents the structure StatisticsValues defined by the user in the IDL file.