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

#include <play_task_consumer.h>

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

Public Types

using ThreadPtr = std::unique_ptr< std::thread >
 
using TaskBufferPtr = std::shared_ptr< PlayTaskBuffer >
 

Public Member Functions

 PlayTaskConsumer (const TaskBufferPtr &task_buffer, double play_rate=1.0)
 
virtual ~PlayTaskConsumer ()
 
void Start (uint64_t begin_time_ns)
 
void Stop ()
 
void Pause ()
 
void PlayOnce ()
 
void Continue ()
 
uint64_t base_msg_play_time_ns () const
 
uint64_t base_msg_real_time_ns () const
 
uint64_t last_played_msg_real_time_ns () const
 

Member Typedef Documentation

◆ TaskBufferPtr

◆ ThreadPtr

using apollo::cyber::record::PlayTaskConsumer::ThreadPtr = std::unique_ptr<std::thread>

Constructor & Destructor Documentation

◆ PlayTaskConsumer()

apollo::cyber::record::PlayTaskConsumer::PlayTaskConsumer ( const TaskBufferPtr task_buffer,
double  play_rate = 1.0 
)
explicit

◆ ~PlayTaskConsumer()

virtual apollo::cyber::record::PlayTaskConsumer::~PlayTaskConsumer ( )
virtual

Member Function Documentation

◆ base_msg_play_time_ns()

uint64_t apollo::cyber::record::PlayTaskConsumer::base_msg_play_time_ns ( ) const
inline

◆ base_msg_real_time_ns()

uint64_t apollo::cyber::record::PlayTaskConsumer::base_msg_real_time_ns ( ) const
inline

◆ Continue()

void apollo::cyber::record::PlayTaskConsumer::Continue ( )
inline

◆ last_played_msg_real_time_ns()

uint64_t apollo::cyber::record::PlayTaskConsumer::last_played_msg_real_time_ns ( ) const
inline

◆ Pause()

void apollo::cyber::record::PlayTaskConsumer::Pause ( )
inline

◆ PlayOnce()

void apollo::cyber::record::PlayTaskConsumer::PlayOnce ( )
inline

◆ Start()

void apollo::cyber::record::PlayTaskConsumer::Start ( uint64_t  begin_time_ns)

◆ Stop()

void apollo::cyber::record::PlayTaskConsumer::Stop ( )

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