Apollo 10.0
自动驾驶开放平台
|
#include <timer_component_example.h>
Public 成员函数 | |
bool | Init () override |
bool | Proc () override |
The Proc logic of the component, which called by the CyberRT frame. | |
![]() | |
TimerComponent () | |
~TimerComponent () override | |
bool | Initialize (const TimerComponentConfig &config) override |
init the component by protobuf object. | |
void | Clear () override |
bool | Process () |
uint32_t | GetInterval () const |
![]() | |
virtual | ~ComponentBase () |
virtual bool | Initialize (const ComponentConfig &config) |
virtual void | Shutdown () |
template<typename T > | |
bool | GetProtoConfig (T *config) const |
额外继承的成员函数 | |
![]() | |
template<typename M > | |
using | Reader = cyber::Reader< M > |
![]() | |
const std::string & | ConfigFilePath () const |
void | LoadConfigFiles (const ComponentConfig &config) |
void | LoadConfigFiles (const TimerComponentConfig &config) |
![]() | |
std::atomic< bool > | is_shutdown_ = {false} |
std::shared_ptr< Node > | node_ = nullptr |
std::string | config_file_path_ = "" |
std::vector< std::shared_ptr< ReaderBase > > | readers_ |
在文件 timer_component_example.h 第 29 行定义.
|
overridevirtual |
|
overridevirtual |
The Proc logic of the component, which called by the CyberRT frame.
实现了 apollo::cyber::TimerComponent.
在文件 timer_component_example.cc 第 28 行定义.