Apollo 10.0
自动驾驶开放平台
|
#include <message_writer.h>
Public 成员函数 | |
template<typename T > | |
std::shared_ptr< WriterHandle > | RegisterMessage (const std::string &channel_name, const std::string &history_channel_name="") |
Register the message writer with the given channel name. | |
template<typename T > | |
std::shared_ptr< WriterHandle > | RegisterMessage (const cyber::proto::RoleAttributes &role_attr, const std::string &history_channel_name="") |
Register the message writer with the given channel atrributes. | |
在文件 message_writer.h 第 129 行定义.
std::shared_ptr< WriterHandle > apollo::external_command::MessageWriter::RegisterMessage | ( | const cyber::proto::RoleAttributes & | role_attr, |
const std::string & | history_channel_name = "" |
||
) |
Register the message writer with the given channel atrributes.
role_attr | The channel atrributes. |
history_channel_name | if it is set, last received message will be sent periodically. |
在文件 message_writer.h 第 183 行定义.
std::shared_ptr< WriterHandle > apollo::external_command::MessageWriter::RegisterMessage | ( | const std::string & | channel_name, |
const std::string & | history_channel_name = "" |
||
) |
Register the message writer with the given channel name.
channel_name | Channel name of the message. |
history_channel_name | if it is set, last received message will be sent periodically. |
在文件 message_writer.h 第 163 行定义.