Class StronglyConnectedComponentId

Class Documentation

class StronglyConnectedComponentId

This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.

Public Functions

RTPS_DllAPI StronglyConnectedComponentId()

Default constructor.

RTPS_DllAPI ~StronglyConnectedComponentId()

Default destructor.

RTPS_DllAPI StronglyConnectedComponentId(const StronglyConnectedComponentId &x)

Copy constructor.

Parameters:

x – Reference to the object StronglyConnectedComponentId that will be copied.

RTPS_DllAPI StronglyConnectedComponentId(StronglyConnectedComponentId &&x)

Move constructor.

Parameters:

x – Reference to the object StronglyConnectedComponentId that will be copied.

RTPS_DllAPI StronglyConnectedComponentId & operator= (const StronglyConnectedComponentId &x)

Copy assignment.

Parameters:

x – Reference to the object StronglyConnectedComponentId that will be copied.

RTPS_DllAPI StronglyConnectedComponentId & operator= (StronglyConnectedComponentId &&x)

Move assignment.

Parameters:

x – Reference to the object StronglyConnectedComponentId that will be copied.

inline RTPS_DllAPI void sc_component_id (const TypeObjectHashId &_sc_component_id)

This function copies the value in member sc_component_id.

Parameters:

_sc_component_id – New value to be copied in member sc_component_id

inline RTPS_DllAPI void sc_component_id (TypeObjectHashId &&_sc_component_id)

This function moves the value in member sc_component_id.

Parameters:

_sc_component_id – New value to be moved in member sc_component_id

inline RTPS_DllAPI const TypeObjectHashId & sc_component_id () const

This function returns a constant reference to member sc_component_id.

Returns:

Constant reference to member sc_component_id

inline RTPS_DllAPI TypeObjectHashId & sc_component_id ()

This function returns a reference to member sc_component_id.

Returns:

Reference to member sc_component_id

inline RTPS_DllAPI void scc_length (int32_t _scc_length)

This function sets a value in member scc_length.

Parameters:

_scc_length – New value for member scc_length

inline RTPS_DllAPI int32_t scc_length () const

This function returns the value of member scc_length.

Returns:

Value of member scc_length

inline RTPS_DllAPI int32_t & scc_length ()

This function returns a reference to member scc_length.

Returns:

Reference to member scc_length

inline RTPS_DllAPI void scc_index (int32_t _scc_index)

This function sets a value in member scc_index.

Parameters:

_scc_index – New value for member scc_index

inline RTPS_DllAPI int32_t scc_index () const

This function returns the value of member scc_index.

Returns:

Value of member scc_index

inline RTPS_DllAPI int32_t & scc_index ()

This function returns a reference to member scc_index.

Returns:

Reference to member scc_index

FASTDDS_SER_METHOD_DEPRECATED (3, "eprosima::fastrtps::types::StronglyConnectedComponentId::getCdrSerializedSize()", "In favor of version using eprosima::fastcdr::calculate_serialized_size.") RTPS_DllAPI static size_t getCdrSerializedSize(const StronglyConnectedComponentId &data

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.

FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StronglyConnectedComponentId::serialize()", "In favor of version using eprosima::fastcdr::serialize.") RTPS_DllAPI void serialize(eprosima FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StronglyConnectedComponentId::deserialize()", "In favor of version using eprosima::fastcdr::deserialize.") RTPS_DllAPI void deserialize(eprosima RTPS_DllAPI bool consistent (const StronglyConnectedComponentId &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const

This function serializes an object using CDR serialization.

This function deserializes an object using CDR serialization.

Parameters:
  • cdr – CDR serialization object.

  • cdr – CDR serialization object.

Public Members

size_t current_alignment   = 0)