CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
rosgraph::msg::Clock类 参考

This class represents the structure Clock defined by the user in the IDL file. 更多...

#include <Clock.h>

+ rosgraph::msg::Clock 的协作图:

Public 成员函数

eProsima_user_DllExport Clock ()
 Default constructor.
 
eProsima_user_DllExport builtin_interfaces::msg::Timeclock ()
 This function returns a reference to member clock
 
eProsima_user_DllExport const builtin_interfaces::msg::Timeclock () const
 This function returns a constant reference to member clock
 
eProsima_user_DllExport void clock (builtin_interfaces::msg::Time &&_clock)
 This function moves the value in member clock
 
eProsima_user_DllExport Clock (Clock &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport void clock (const builtin_interfaces::msg::Time &_clock)
 This function copies the value in member clock
 
eProsima_user_DllExport Clock (const Clock &x)
 Copy constructor.
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool operator!= (const Clock &x) const
 Comparison operator.
 
eProsima_user_DllExport Clockoperator= (Clock &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport Clockoperator= (const Clock &x)
 Copy assignment.
 
eProsima_user_DllExport bool operator== (const Clock &x) const
 Comparison operator.
 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization.
 
eProsima_user_DllExport void serializeKey (eprosima::fastcdr::Cdr &cdr) const
 This function serializes the key members of an object using CDR serialization.
 
eProsima_user_DllExport ~Clock ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const rosgraph::msg::Clock &data, size_t current_alignment=0)
 This function returns the serialized size of a data depending on the buffer alignment.
 
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.
 
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.
 
static eProsima_user_DllExport bool isKeyDefined ()
 This function tells you if the Key has been defined for this type
 

Private 属性

builtin_interfaces::msg::Time m_clock
 

详细描述

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

在文件 Clock.h72 行定义.

构造及析构函数说明

◆ Clock() [1/3]

rosgraph::msg::Clock::Clock ( )

Default constructor.

在文件 Clock.cpp42 行定义.

◆ ~Clock()

rosgraph::msg::Clock::~Clock ( )

Default destructor.

在文件 Clock.cpp46 行定义.

◆ Clock() [2/3]

rosgraph::msg::Clock::Clock ( const Clock & x)

Copy constructor.

参数
xReference to the object rosgraph::msg::Clock that will be copied.

在文件 Clock.cpp50 行定义.

引用了 m_clock.

◆ Clock() [3/3]

rosgraph::msg::Clock::Clock ( Clock && x)
noexcept

Move constructor.

参数
xReference to the object rosgraph::msg::Clock that will be copied.

在文件 Clock.cpp56 行定义.

成员函数说明

◆ clock() [1/4]

builtin_interfaces::msg::Time & rosgraph::msg::Clock::clock ( )

This function returns a reference to member clock

返回
Reference to member clock

在文件 Clock.cpp153 行定义.

◆ clock() [2/4]

const builtin_interfaces::msg::Time & rosgraph::msg::Clock::clock ( ) const

This function returns a constant reference to member clock

返回
Constant reference to member clock

在文件 Clock.cpp144 行定义.

◆ clock() [3/4]

void rosgraph::msg::Clock::clock ( builtin_interfaces::msg::Time && _clock)

This function moves the value in member clock

参数
_clockNew value to be moved in member clock

在文件 Clock.cpp134 行定义.

◆ clock() [4/4]

void rosgraph::msg::Clock::clock ( const builtin_interfaces::msg::Time & _clock)

This function copies the value in member clock

参数
_clockNew value to be copied in member clock

在文件 Clock.cpp124 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ deserialize()

void rosgraph::msg::Clock::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Clock.cpp114 行定义.

被这些函数引用 rosgraph::msg::ClockPubSubType::deserialize().

+ 这是这个函数的调用关系图:

◆ getCdrSerializedSize()

size_t rosgraph::msg::Clock::getCdrSerializedSize ( const rosgraph::msg::Clock & data,
size_t current_alignment = 0 )
static

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

参数
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
返回
Serialized size.

在文件 Clock.cpp95 行定义.

引用了 clock() , 以及 builtin_interfaces::msg::Time::getCdrSerializedSize().

被这些函数引用 rosgraph::msg::ClockPubSubType::getSerializedSizeProvider().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ getKeyMaxCdrSerializedSize()

size_t rosgraph::msg::Clock::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.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 Clock.cpp158 行定义.

引用了 rosgraph_msg_Clock_max_key_cdr_typesize.

被这些函数引用 rosgraph::msg::ClockPubSubType::ClockPubSubType() , 以及 rosgraph::msg::ClockPubSubType::getKey().

+ 这是这个函数的调用关系图:

◆ getMaxCdrSerializedSize()

size_t rosgraph::msg::Clock::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

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

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 Clock.cpp88 行定义.

引用了 rosgraph_msg_Clock_max_cdr_typesize.

被这些函数引用 rosgraph::msg::ClockPubSubType::ClockPubSubType().

+ 这是这个函数的调用关系图:

◆ isKeyDefined()

bool rosgraph::msg::Clock::isKeyDefined ( )
static

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

在文件 Clock.cpp165 行定义.

被这些函数引用 rosgraph::msg::ClockPubSubType::ClockPubSubType().

+ 这是这个函数的调用关系图:

◆ operator!=()

bool rosgraph::msg::Clock::operator!= ( const Clock & x) const

Comparison operator.

参数
xrosgraph::msg::Clock object to compare.

在文件 Clock.cpp82 行定义.

◆ operator=() [1/2]

rosgraph::msg::Clock & rosgraph::msg::Clock::operator= ( Clock && x)
noexcept

Move assignment.

参数
xReference to the object rosgraph::msg::Clock that will be copied.

在文件 Clock.cpp69 行定义.

引用了 m_clock.

◆ operator=() [2/2]

rosgraph::msg::Clock & rosgraph::msg::Clock::operator= ( const Clock & x)

Copy assignment.

参数
xReference to the object rosgraph::msg::Clock that will be copied.

在文件 Clock.cpp62 行定义.

引用了 m_clock.

◆ operator==()

bool rosgraph::msg::Clock::operator== ( const Clock & x) const

Comparison operator.

参数
xrosgraph::msg::Clock object to compare.

在文件 Clock.cpp76 行定义.

引用了 m_clock.

◆ serialize()

void rosgraph::msg::Clock::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Clock.cpp108 行定义.

被这些函数引用 rosgraph::msg::ClockPubSubType::serialize().

+ 这是这个函数的调用关系图:

◆ serializeKey()

void rosgraph::msg::Clock::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

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

参数
cdrCDR serialization object.

在文件 Clock.cpp170 行定义.

被这些函数引用 rosgraph::msg::ClockPubSubType::getKey().

+ 这是这个函数的调用关系图:

类成员变量说明

◆ m_clock

builtin_interfaces::msg::Time rosgraph::msg::Clock::m_clock
private

在文件 Clock.h209 行定义.

被这些函数引用 Clock(), operator=(), operator=() , 以及 operator==().


该类的文档由以下文件生成: