Apollo 10.0
自动驾驶开放平台
apollo::cyber::record::RecordMessage结构体 参考

Basic data struct of record message. 更多...

#include <record_message.h>

apollo::cyber::record::RecordMessage 的协作图:

Public 成员函数

 RecordMessage ()
 The constructor.
 
 RecordMessage (const std::string &name, const std::string &message, uint64_t msg_time)
 The constructor.
 

Public 属性

std::string channel_name
 The channel name of the message.
 
std::string content
 The content of the message.
 
uint64_t time
 The time (nanosecond) of the message.
 

详细描述

Basic data struct of record message.

在文件 record_message.h34 行定义.

构造及析构函数说明

◆ RecordMessage() [1/2]

apollo::cyber::record::RecordMessage::RecordMessage ( )
inline

The constructor.

在文件 record_message.h38 行定义.

38{}

◆ RecordMessage() [2/2]

apollo::cyber::record::RecordMessage::RecordMessage ( const std::string &  name,
const std::string &  message,
uint64_t  msg_time 
)
inline

The constructor.

参数
name
message
msg_time

在文件 record_message.h47 行定义.

49 : channel_name(name), content(message), time(msg_time) {}
std::string content
The content of the message.
uint64_t time
The time (nanosecond) of the message.
std::string channel_name
The channel name of the message.

类成员变量说明

◆ channel_name

std::string apollo::cyber::record::RecordMessage::channel_name

The channel name of the message.

在文件 record_message.h54 行定义.

◆ content

std::string apollo::cyber::record::RecordMessage::content

The content of the message.

在文件 record_message.h59 行定义.

◆ time

uint64_t apollo::cyber::record::RecordMessage::time

The time (nanosecond) of the message.

在文件 record_message.h64 行定义.


该结构体的文档由以下文件生成: