TimerComponent is a timer component. Your component can inherit from Component, and implement Init() & Proc(), They are called by the CyberRT frame.
More...
#include <timer_component.h>
TimerComponent is a timer component. Your component can inherit from Component, and implement Init() & Proc(), They are called by the CyberRT frame.
◆ TimerComponent()
apollo::cyber::TimerComponent::TimerComponent |
( |
| ) |
|
◆ ~TimerComponent()
apollo::cyber::TimerComponent::~TimerComponent |
( |
| ) |
|
|
override |
◆ Clear()
void apollo::cyber::TimerComponent::Clear |
( |
| ) |
|
|
overridevirtual |
◆ GetInterval()
uint64_t apollo::cyber::TimerComponent::GetInterval |
( |
| ) |
const |
◆ Initialize()
bool apollo::cyber::TimerComponent::Initialize |
( |
const TimerComponentConfig & |
config | ) |
|
|
overridevirtual |
init the component by protobuf object.
- Parameters
-
config | which is define in 'cyber/proto/component_conf.proto' |
- Returns
- returns true if successful, otherwise returns false
Reimplemented from apollo::cyber::ComponentBase.
◆ Process()
bool apollo::cyber::TimerComponent::Process |
( |
| ) |
|
The documentation for this class was generated from the following file: