Base class for record reader and writer.
更多...
#include <record_base.h>
|
virtual | ~RecordBase ()=default |
| Destructor.
|
|
virtual uint64_t | GetMessageNumber (const std::string &channel_name) const =0 |
| Get message number by channel name.
|
|
virtual const std::string & | GetMessageType (const std::string &channel_name) const =0 |
| Get message type by channel name.
|
|
virtual const std::string & | GetProtoDesc (const std::string &channel_name) const =0 |
| Get proto descriptor string by channel name.
|
|
virtual std::set< std::string > | GetChannelList () const =0 |
| Get channel list.
|
|
const proto::Header & | GetHeader () const |
| Get record header.
|
|
const std::string | GetFile () const |
| Get record file path.
|
|
Base class for record reader and writer.
在文件 record_base.h 第 35 行定义.
◆ ~RecordBase()
virtual apollo::cyber::record::RecordBase::~RecordBase |
( |
| ) |
|
|
virtualdefault |
◆ GetChannelList()
virtual std::set< std::string > apollo::cyber::record::RecordBase::GetChannelList |
( |
| ) |
const |
|
pure virtual |
◆ GetFile()
const std::string apollo::cyber::record::RecordBase::GetFile |
( |
| ) |
const |
|
inline |
◆ GetHeader()
const proto::Header & apollo::cyber::record::RecordBase::GetHeader |
( |
| ) |
const |
|
inline |
◆ GetMessageNumber()
virtual uint64_t apollo::cyber::record::RecordBase::GetMessageNumber |
( |
const std::string & |
channel_name | ) |
const |
|
pure virtual |
◆ GetMessageType()
virtual const std::string & apollo::cyber::record::RecordBase::GetMessageType |
( |
const std::string & |
channel_name | ) |
const |
|
pure virtual |
◆ GetProtoDesc()
virtual const std::string & apollo::cyber::record::RecordBase::GetProtoDesc |
( |
const std::string & |
channel_name | ) |
const |
|
pure virtual |
◆ file_
std::string apollo::cyber::record::RecordBase::file_ |
|
protected |
◆ header_
◆ is_opened_
bool apollo::cyber::record::RecordBase::is_opened_ = false |
|
protected |
该类的文档由以下文件生成: