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

HardBrake trigger that fires when hard break is engaged. More...

#include <hard_brake_trigger.h>

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

Public Member Functions

 HardBrakeTrigger ()
 
void Pull (const cyber::record::RecordMessage &msg) override
 
bool ShouldRestore (const cyber::record::RecordMessage &msg) const override
 
virtual ~HardBrakeTrigger ()=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

HardBrake trigger that fires when hard break is engaged.

Constructor & Destructor Documentation

◆ HardBrakeTrigger()

apollo::data::HardBrakeTrigger::HardBrakeTrigger ( )

◆ ~HardBrakeTrigger()

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

Member Function Documentation

◆ Pull()

void apollo::data::HardBrakeTrigger::Pull ( const cyber::record::RecordMessage msg)
overridevirtual

◆ ShouldRestore()

bool apollo::data::HardBrakeTrigger::ShouldRestore ( const cyber::record::RecordMessage msg) const
inlineoverridevirtual

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