Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::record::PyRecordWriter Class Reference

#include <py_record.h>

Collaboration diagram for apollo::cyber::record::PyRecordWriter:
Collaboration graph

Public Member Functions

bool Open (const std::string &path)
 
void Close ()
 
bool WriteChannel (const std::string &channel_str, const std::string &type, const std::string &proto_desc)
 
bool WriteMessage (const std::string &channel_name, const std::string &rawmessage, uint64_t time, const std::string &proto_desc="")
 
bool SetSizeOfFileSegmentation (uint64_t size_kilobytes)
 
bool SetIntervalOfFileSegmentation (uint64_t time_sec)
 
uint64_t GetMessageNumber (const std::string &channel_name) const
 
const std::string & GetMessageType (const std::string &channel_name) const
 
const std::string & GetProtoDesc (const std::string &channel_name) const
 

Member Function Documentation

◆ Close()

void apollo::cyber::record::PyRecordWriter::Close ( )
inline

◆ GetMessageNumber()

uint64_t apollo::cyber::record::PyRecordWriter::GetMessageNumber ( const std::string &  channel_name) const
inline

◆ GetMessageType()

const std::string& apollo::cyber::record::PyRecordWriter::GetMessageType ( const std::string &  channel_name) const
inline

◆ GetProtoDesc()

const std::string& apollo::cyber::record::PyRecordWriter::GetProtoDesc ( const std::string &  channel_name) const
inline

◆ Open()

bool apollo::cyber::record::PyRecordWriter::Open ( const std::string &  path)
inline

◆ SetIntervalOfFileSegmentation()

bool apollo::cyber::record::PyRecordWriter::SetIntervalOfFileSegmentation ( uint64_t  time_sec)
inline

◆ SetSizeOfFileSegmentation()

bool apollo::cyber::record::PyRecordWriter::SetSizeOfFileSegmentation ( uint64_t  size_kilobytes)
inline

◆ WriteChannel()

bool apollo::cyber::record::PyRecordWriter::WriteChannel ( const std::string &  channel_str,
const std::string &  type,
const std::string &  proto_desc 
)
inline

◆ WriteMessage()

bool apollo::cyber::record::PyRecordWriter::WriteMessage ( const std::string &  channel_name,
const std::string &  rawmessage,
uint64_t  time,
const std::string &  proto_desc = "" 
)
inline

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