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

A specialized trigger that does not trigger anything but indicates what small topics need to be restored. More...

#include <small_topics_trigger.h>

Inheritance diagram for apollo::data::SmallTopicsTrigger:
Inheritance graph
Collaboration diagram for apollo::data::SmallTopicsTrigger:
Collaboration graph

Public Member Functions

 SmallTopicsTrigger ()
 
void Pull (const cyber::record::RecordMessage &msg) override
 
bool ShouldRestore (const cyber::record::RecordMessage &msg) const override
 
virtual ~SmallTopicsTrigger ()=default
 
- Public Member Functions inherited from apollo::data::TriggerBase
 TriggerBase ()=default
 
virtual bool Init (const SmartRecordTrigger &trigger_conf)
 
const std::string & GetTriggerName () const
 
uint64_t SecondsToNanoSeconds (const double seconds) const
 
virtual ~TriggerBase ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from apollo::data::TriggerBase
void TriggerIt (const uint64_t msg_time) const
 
uint64_t GetValidValueInRange (const double desired_value, const double min_limit, const double max_limit) const
 
- Protected Attributes inherited from apollo::data::TriggerBase
std::string trigger_name_
 
std::unique_ptr< Trigger > trigger_obj_ = nullptr
 

Detailed Description

A specialized trigger that does not trigger anything but indicates what small topics need to be restored.

Constructor & Destructor Documentation

◆ SmallTopicsTrigger()

apollo::data::SmallTopicsTrigger::SmallTopicsTrigger ( )

◆ ~SmallTopicsTrigger()

virtual apollo::data::SmallTopicsTrigger::~SmallTopicsTrigger ( )
virtualdefault

Member Function Documentation

◆ Pull()

void apollo::data::SmallTopicsTrigger::Pull ( const cyber::record::RecordMessage msg)
inlineoverridevirtual

◆ ShouldRestore()

bool apollo::data::SmallTopicsTrigger::ShouldRestore ( const cyber::record::RecordMessage msg) const
overridevirtual

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