Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
CommonComponentSample Class Reference

#include <common_component_example.h>

Inheritance diagram for CommonComponentSample:
Inheritance graph
Collaboration diagram for CommonComponentSample:
Collaboration graph

Public Member Functions

bool Init () override
 
bool Proc (const std::shared_ptr< Driver > &msg0, const std::shared_ptr< Driver > &msg1) override
 
- Public Member Functions inherited from apollo::cyber::Component< Driver, Driver >
 Component ()
 
 ~Component () override
 
bool Initialize (const ComponentConfig &config) override
 init the component by protobuf object. More...
 
bool Process (const std::shared_ptr< Driver > &msg0, const std::shared_ptr< Driver > &msg1, const std::shared_ptr< NullType > &msg2, const std::shared_ptr< NullType > &msg3)
 
- Public Member Functions inherited from apollo::cyber::ComponentBase
virtual ~ComponentBase ()
 
virtual bool Initialize (const TimerComponentConfig &config)
 
virtual void Shutdown ()
 
template<typename T >
bool GetProtoConfig (T *config) const
 

Additional Inherited Members

- Public Types inherited from apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 
- Protected Member Functions inherited from apollo::cyber::ComponentBase
virtual void Clear ()
 
const std::string & ConfigFilePath () const
 
void LoadConfigFiles (const ComponentConfig &config)
 
void LoadConfigFiles (const TimerComponentConfig &config)
 
- Protected Attributes inherited from apollo::cyber::ComponentBase
std::atomic< bool > is_shutdown_ = {false}
 
std::shared_ptr< Nodenode_ = nullptr
 
std::string config_file_path_ = ""
 
std::vector< std::shared_ptr< ReaderBase > > readers_
 

Member Function Documentation

◆ Init()

bool CommonComponentSample::Init ( )
overridevirtual

◆ Proc()

bool CommonComponentSample::Proc ( const std::shared_ptr< Driver > &  msg0,
const std::shared_ptr< Driver > &  msg1 
)
override

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