CARLA
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
sensor_msgs::msg::NavSatStatus Class Reference

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

#include <NavSatStatus.h>

+ Collaboration diagram for sensor_msgs::msg::NavSatStatus:

Public Member Functions

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization. More...
 
eProsima_user_DllExport NavSatStatus ()
 Default constructor. More...
 
eProsima_user_DllExport NavSatStatus (const NavSatStatus &x)
 Copy constructor. More...
 
eProsima_user_DllExport NavSatStatus (NavSatStatus &&x) noexcept
 Move constructor. More...
 
eProsima_user_DllExport bool operator!= (const NavSatStatus &x) const
 Comparison operator. More...
 
eProsima_user_DllExport NavSatStatusoperator= (const NavSatStatus &x)
 Copy assignment. More...
 
eProsima_user_DllExport NavSatStatusoperator= (NavSatStatus &&x) noexcept
 Move assignment. More...
 
eProsima_user_DllExport bool operator== (const NavSatStatus &x) const
 Comparison operator. More...
 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization. More...
 
eProsima_user_DllExport void serializeKey (eprosima::fastcdr::Cdr &cdr) const
 This function serializes the key members of an object using CDR serialization. More...
 
eProsima_user_DllExport void service (uint16_t _service)
 This function sets a value in member service. More...
 
eProsima_user_DllExport uint16_t service () const
 This function returns the value of member service. More...
 
eProsima_user_DllExport uint16_t & service ()
 This function returns a reference to member service. More...
 
eProsima_user_DllExport void status (uint8_t _status)
 This function sets a value in member status. More...
 
eProsima_user_DllExport uint8_t status () const
 This function returns the value of member status. More...
 
eProsima_user_DllExport uint8_t & status ()
 This function returns a reference to member status. More...
 
eProsima_user_DllExport ~NavSatStatus ()
 Default destructor. More...
 

Static Public Member Functions

static eProsima_user_DllExport size_t getCdrSerializedSize (const sensor_msgs::msg::NavSatStatus &data, size_t current_alignment=0)
 This function returns the serialized size of a data depending on the buffer alignment. More...
 
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize (size_t current_alignment=0)
 This function returns the maximum serialized size of the Key of an object depending on the buffer alignment. More...
 
static eProsima_user_DllExport size_t getMaxCdrSerializedSize (size_t current_alignment=0)
 This function returns the maximum serialized size of an object depending on the buffer alignment. More...
 
static eProsima_user_DllExport bool isKeyDefined ()
 This function tells you if the Key has been defined for this type. More...
 

Private Attributes

uint16_t m_service
 
uint8_t m_status
 

Detailed Description

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

Definition at line 78 of file NavSatStatus.h.

Constructor & Destructor Documentation

◆ NavSatStatus() [1/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( )

Default constructor.

Definition at line 40 of file NavSatStatus.cpp.

◆ ~NavSatStatus()

sensor_msgs::msg::NavSatStatus::~NavSatStatus ( )

Default destructor.

Definition at line 48 of file NavSatStatus.cpp.

◆ NavSatStatus() [2/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( const NavSatStatus x)

Copy constructor.

Parameters
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

Definition at line 52 of file NavSatStatus.cpp.

References m_service, and m_status.

◆ NavSatStatus() [3/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( NavSatStatus &&  x)
noexcept

Move constructor.

Parameters
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

Definition at line 59 of file NavSatStatus.cpp.

Member Function Documentation

◆ deserialize()

void sensor_msgs::msg::NavSatStatus::deserialize ( eprosima::fastcdr::Cdr &  cdr)

This function deserializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 122 of file NavSatStatus.cpp.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::deserialize().

+ Here is the caller graph for this function:

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::getCdrSerializedSize ( const sensor_msgs::msg::NavSatStatus data,
size_t  current_alignment = 0 
)
static

This function returns the serialized size of a data depending on the buffer alignment.

Parameters
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
Returns
Serialized size.

Definition at line 103 of file NavSatStatus.cpp.

Referenced by sensor_msgs::msg::NavSatFix::getCdrSerializedSize(), and sensor_msgs::msg::NavSatStatusPubSubType::getSerializedSizeProvider().

+ Here is the caller graph for this function:

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::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_alignmentBuffer alignment.
Returns
Maximum serialized size.

Definition at line 185 of file NavSatStatus.cpp.

References sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::getKey(), and sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ Here is the caller graph for this function:

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::getMaxCdrSerializedSize ( size_t  current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

Parameters
current_alignmentBuffer alignment.
Returns
Maximum serialized size.

Definition at line 96 of file NavSatStatus.cpp.

References sensor_msgs_msg_NavSatStatus_max_cdr_typesize.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ Here is the caller graph for this function:

◆ isKeyDefined()

bool sensor_msgs::msg::NavSatStatus::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type.

Definition at line 192 of file NavSatStatus.cpp.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ Here is the caller graph for this function:

◆ operator!=()

bool sensor_msgs::msg::NavSatStatus::operator!= ( const NavSatStatus x) const

Comparison operator.

Parameters
xsensor_msgs::msg::NavSatStatus object to compare.

Definition at line 90 of file NavSatStatus.cpp.

◆ operator=() [1/2]

sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatStatus::operator= ( const NavSatStatus x)

Copy assignment.

Parameters
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

Definition at line 66 of file NavSatStatus.cpp.

References m_service, and m_status.

◆ operator=() [2/2]

sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatStatus::operator= ( NavSatStatus &&  x)
noexcept

Move assignment.

Parameters
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

Definition at line 75 of file NavSatStatus.cpp.

References m_status.

◆ operator==()

bool sensor_msgs::msg::NavSatStatus::operator== ( const NavSatStatus x) const

Comparison operator.

Parameters
xsensor_msgs::msg::NavSatStatus object to compare.

Definition at line 84 of file NavSatStatus.cpp.

References m_service, and m_status.

◆ serialize()

void sensor_msgs::msg::NavSatStatus::serialize ( eprosima::fastcdr::Cdr &  cdr) const

This function serializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 115 of file NavSatStatus.cpp.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::serialize().

+ Here is the caller graph for this function:

◆ serializeKey()

void sensor_msgs::msg::NavSatStatus::serializeKey ( eprosima::fastcdr::Cdr &  cdr) const

This function serializes the key members of an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 197 of file NavSatStatus.cpp.

Referenced by sensor_msgs::msg::NavSatStatusPubSubType::getKey().

+ Here is the caller graph for this function:

◆ service() [1/3]

void sensor_msgs::msg::NavSatStatus::service ( uint16_t  _service)

This function sets a value in member service.

Parameters
_serviceNew value for member service

Definition at line 161 of file NavSatStatus.cpp.

◆ service() [2/3]

uint16_t sensor_msgs::msg::NavSatStatus::service ( ) const

This function returns the value of member service.

Returns
Value of member service

Definition at line 171 of file NavSatStatus.cpp.

◆ service() [3/3]

uint16_t & sensor_msgs::msg::NavSatStatus::service ( )

This function returns a reference to member service.

Returns
Reference to member service

Definition at line 180 of file NavSatStatus.cpp.

◆ status() [1/3]

void sensor_msgs::msg::NavSatStatus::status ( uint8_t  _status)

This function sets a value in member status.

Parameters
_statusNew value for member status

Definition at line 133 of file NavSatStatus.cpp.

◆ status() [2/3]

uint8_t sensor_msgs::msg::NavSatStatus::status ( ) const

This function returns the value of member status.

Returns
Value of member status

Definition at line 143 of file NavSatStatus.cpp.

◆ status() [3/3]

uint8_t & sensor_msgs::msg::NavSatStatus::status ( )

This function returns a reference to member status.

Returns
Reference to member status

Definition at line 152 of file NavSatStatus.cpp.

Member Data Documentation

◆ m_service

uint16_t sensor_msgs::msg::NavSatStatus::m_service
private

Definition at line 228 of file NavSatStatus.h.

Referenced by NavSatStatus(), operator=(), and operator==().

◆ m_status

uint8_t sensor_msgs::msg::NavSatStatus::m_status
private

Definition at line 227 of file NavSatStatus.h.

Referenced by NavSatStatus(), operator=(), and operator==().


The documentation for this class was generated from the following files: