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

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

#include <PoseWithCovariance.h>

+ Collaboration diagram for geometry_msgs::msg::PoseWithCovariance:

Public Member Functions

eProsima_user_DllExport void covariance (const geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 &_covariance)
 This function copies the value in member covariance. More...
 
eProsima_user_DllExport void covariance (geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 &&_covariance)
 This function moves the value in member covariance. More...
 
eProsima_user_DllExport const geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36covariance () const
 This function returns a constant reference to member covariance. More...
 
eProsima_user_DllExport geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36covariance ()
 This function returns a reference to member covariance. More...
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization. More...
 
eProsima_user_DllExport bool operator!= (const PoseWithCovariance &x) const
 Comparison operator. More...
 
eProsima_user_DllExport PoseWithCovarianceoperator= (const PoseWithCovariance &x)
 Copy assignment. More...
 
eProsima_user_DllExport PoseWithCovarianceoperator= (PoseWithCovariance &&x) noexcept
 Move assignment. More...
 
eProsima_user_DllExport bool operator== (const PoseWithCovariance &x) const
 Comparison operator. More...
 
eProsima_user_DllExport void pose (const geometry_msgs::msg::Pose &_pose)
 This function copies the value in member pose. More...
 
eProsima_user_DllExport void pose (geometry_msgs::msg::Pose &&_pose)
 This function moves the value in member pose. More...
 
eProsima_user_DllExport const geometry_msgs::msg::Posepose () const
 This function returns a constant reference to member pose. More...
 
eProsima_user_DllExport geometry_msgs::msg::Posepose ()
 This function returns a reference to member pose. More...
 
eProsima_user_DllExport PoseWithCovariance ()
 Default constructor. More...
 
eProsima_user_DllExport PoseWithCovariance (const PoseWithCovariance &x)
 Copy constructor. More...
 
eProsima_user_DllExport PoseWithCovariance (PoseWithCovariance &&x) noexcept
 Move constructor. 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 ~PoseWithCovariance ()
 Default destructor. More...
 

Static Public Member Functions

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::PoseWithCovariance &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

geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 m_covariance
 
geometry_msgs::msg::Pose m_pose
 

Detailed Description

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

Definition at line 74 of file PoseWithCovariance.h.

Constructor & Destructor Documentation

◆ PoseWithCovariance() [1/3]

geometry_msgs::msg::PoseWithCovariance::PoseWithCovariance ( )

Default constructor.

Definition at line 46 of file PoseWithCovariance.cpp.

◆ ~PoseWithCovariance()

geometry_msgs::msg::PoseWithCovariance::~PoseWithCovariance ( )

Default destructor.

Definition at line 54 of file PoseWithCovariance.cpp.

◆ PoseWithCovariance() [2/3]

geometry_msgs::msg::PoseWithCovariance::PoseWithCovariance ( const PoseWithCovariance x)

Copy constructor.

Parameters
xReference to the object geometry_msgs::msg::PoseWithCovariance that will be copied.

Definition at line 58 of file PoseWithCovariance.cpp.

References m_covariance, and m_pose.

◆ PoseWithCovariance() [3/3]

geometry_msgs::msg::PoseWithCovariance::PoseWithCovariance ( PoseWithCovariance &&  x)
noexcept

Move constructor.

Parameters
xReference to the object geometry_msgs::msg::PoseWithCovariance that will be copied.

Definition at line 65 of file PoseWithCovariance.cpp.

Member Function Documentation

◆ covariance() [1/4]

void geometry_msgs::msg::PoseWithCovariance::covariance ( const geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 _covariance)

This function copies the value in member covariance.

Parameters
_covarianceNew value to be copied in member covariance

Definition at line 175 of file PoseWithCovariance.cpp.

◆ covariance() [2/4]

void geometry_msgs::msg::PoseWithCovariance::covariance ( geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 &&  _covariance)

This function moves the value in member covariance.

Parameters
_covarianceNew value to be moved in member covariance

Definition at line 185 of file PoseWithCovariance.cpp.

◆ covariance() [3/4]

const geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 & geometry_msgs::msg::PoseWithCovariance::covariance ( ) const

This function returns a constant reference to member covariance.

Returns
Constant reference to member covariance

Definition at line 195 of file PoseWithCovariance.cpp.

◆ covariance() [4/4]

geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 & geometry_msgs::msg::PoseWithCovariance::covariance ( )

This function returns a reference to member covariance.

Returns
Reference to member covariance

Definition at line 204 of file PoseWithCovariance.cpp.

◆ deserialize()

void geometry_msgs::msg::PoseWithCovariance::deserialize ( eprosima::fastcdr::Cdr &  cdr)

This function deserializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 127 of file PoseWithCovariance.cpp.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::deserialize().

+ Here is the caller graph for this function:

◆ getCdrSerializedSize()

size_t geometry_msgs::msg::PoseWithCovariance::getCdrSerializedSize ( const geometry_msgs::msg::PoseWithCovariance 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 109 of file PoseWithCovariance.cpp.

References geometry_msgs::msg::Pose::getCdrSerializedSize(), and pose().

Referenced by nav_msgs::msg::Odometry::getCdrSerializedSize(), and geometry_msgs::msg::PoseWithCovariancePubSubType::getSerializedSizeProvider().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getKeyMaxCdrSerializedSize()

size_t geometry_msgs::msg::PoseWithCovariance::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 210 of file PoseWithCovariance.cpp.

References geometry_msgs_msg_PoseWithCovariance_max_key_cdr_typesize.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::getKey(), and geometry_msgs::msg::PoseWithCovariancePubSubType::PoseWithCovariancePubSubType().

+ Here is the caller graph for this function:

◆ getMaxCdrSerializedSize()

size_t geometry_msgs::msg::PoseWithCovariance::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 102 of file PoseWithCovariance.cpp.

References geometry_msgs_msg_PoseWithCovariance_max_cdr_typesize.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::PoseWithCovariancePubSubType().

+ Here is the caller graph for this function:

◆ isKeyDefined()

bool geometry_msgs::msg::PoseWithCovariance::isKeyDefined ( )
static

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

Definition at line 217 of file PoseWithCovariance.cpp.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::PoseWithCovariancePubSubType().

+ Here is the caller graph for this function:

◆ operator!=()

bool geometry_msgs::msg::PoseWithCovariance::operator!= ( const PoseWithCovariance x) const

Comparison operator.

Parameters
xgeometry_msgs::msg::PoseWithCovariance object to compare.

Definition at line 96 of file PoseWithCovariance.cpp.

◆ operator=() [1/2]

geometry_msgs::msg::PoseWithCovariance & geometry_msgs::msg::PoseWithCovariance::operator= ( const PoseWithCovariance x)

Copy assignment.

Parameters
xReference to the object geometry_msgs::msg::PoseWithCovariance that will be copied.

Definition at line 72 of file PoseWithCovariance.cpp.

References m_covariance, and m_pose.

◆ operator=() [2/2]

geometry_msgs::msg::PoseWithCovariance & geometry_msgs::msg::PoseWithCovariance::operator= ( PoseWithCovariance &&  x)
noexcept

Move assignment.

Parameters
xReference to the object geometry_msgs::msg::PoseWithCovariance that will be copied.

Definition at line 81 of file PoseWithCovariance.cpp.

◆ operator==()

bool geometry_msgs::msg::PoseWithCovariance::operator== ( const PoseWithCovariance x) const

Comparison operator.

Parameters
xgeometry_msgs::msg::PoseWithCovariance object to compare.

Definition at line 90 of file PoseWithCovariance.cpp.

References m_covariance, and m_pose.

◆ pose() [1/4]

void geometry_msgs::msg::PoseWithCovariance::pose ( const geometry_msgs::msg::Pose _pose)

This function copies the value in member pose.

Parameters
_poseNew value to be copied in member pose

Definition at line 138 of file PoseWithCovariance.cpp.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ pose() [2/4]

void geometry_msgs::msg::PoseWithCovariance::pose ( geometry_msgs::msg::Pose &&  _pose)

This function moves the value in member pose.

Parameters
_poseNew value to be moved in member pose

Definition at line 148 of file PoseWithCovariance.cpp.

◆ pose() [3/4]

const geometry_msgs::msg::Pose & geometry_msgs::msg::PoseWithCovariance::pose ( ) const

This function returns a constant reference to member pose.

Returns
Constant reference to member pose

Definition at line 158 of file PoseWithCovariance.cpp.

◆ pose() [4/4]

geometry_msgs::msg::Pose & geometry_msgs::msg::PoseWithCovariance::pose ( )

This function returns a reference to member pose.

Returns
Reference to member pose

Definition at line 167 of file PoseWithCovariance.cpp.

◆ serialize()

void geometry_msgs::msg::PoseWithCovariance::serialize ( eprosima::fastcdr::Cdr &  cdr) const

This function serializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 120 of file PoseWithCovariance.cpp.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::serialize().

+ Here is the caller graph for this function:

◆ serializeKey()

void geometry_msgs::msg::PoseWithCovariance::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 222 of file PoseWithCovariance.cpp.

Referenced by geometry_msgs::msg::PoseWithCovariancePubSubType::getKey().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_covariance

geometry_msgs::msg::geometry_msgs__PoseWithCovariance__double_array_36 geometry_msgs::msg::PoseWithCovariance::m_covariance
private

Definition at line 237 of file PoseWithCovariance.h.

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

◆ m_pose

geometry_msgs::msg::Pose geometry_msgs::msg::PoseWithCovariance::m_pose
private

Definition at line 236 of file PoseWithCovariance.h.

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


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