Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::drivers::SensorCanbus< SensorType > Class Template Reference

template of canbus-based sensor module main class (e.g., mobileye). More...

#include <sensor_canbus.h>

Inheritance diagram for apollo::drivers::SensorCanbus< SensorType >:
Inheritance graph
Collaboration diagram for apollo::drivers::SensorCanbus< SensorType >:
Collaboration graph

Public Member Functions

 SensorCanbus ()
 
 ~SensorCanbus ()
 
bool Init () override
 module initialization function More...
 
- Public Member Functions inherited from apollo::cyber::Component<>
 Component ()
 
 ~Component () override
 
bool Initialize (const ComponentConfig &config) override
 init the component by protobuf object. More...
 
bool Process (const std::shared_ptr< NullType > &msg0, const std::shared_ptr< NullType > &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_
 

Detailed Description

template<typename SensorType>
class apollo::drivers::SensorCanbus< SensorType >

template of canbus-based sensor module main class (e.g., mobileye).

Constructor & Destructor Documentation

◆ SensorCanbus()

template<typename SensorType >
apollo::drivers::SensorCanbus< SensorType >::SensorCanbus ( )
inline

◆ ~SensorCanbus()

template<typename SensorType >
apollo::drivers::SensorCanbus< SensorType >::~SensorCanbus ( )

Member Function Documentation

◆ Init()

template<typename SensorType >
bool apollo::drivers::SensorCanbus< SensorType >::Init ( void  )
overridevirtual

module initialization function

Returns
initialization status

Implements apollo::cyber::ComponentBase.


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