Apollo  6.0
Open source self driving car software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
apollo::drivers::smartereye::SmartereyeComponent Class Reference

#include <smartereye_component.h>

Inheritance diagram for apollo::drivers::smartereye::SmartereyeComponent:
Inheritance graph
Collaboration diagram for apollo::drivers::smartereye::SmartereyeComponent:
Collaboration graph

Public Member Functions

bool Init () override
 
 ~SmartereyeComponent ()
 
- Public Member Functions inherited from apollo::cyber::Component< M0, M1, M2, M3 >
 Component ()
 
 ~Component () override
 
bool Initialize (const ComponentConfig &config) override
 init the component by protobuf object. More...
 
bool Process (const std::shared_ptr< M0 > &msg0, const std::shared_ptr< M1 > &msg1, const std::shared_ptr< M2 > &msg2, const std::shared_ptr< M3 > &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
 

Protected Member Functions

void run ()
 
bool SetCallback ()
 
bool Callback (RawImageFrame *rawFrame)
 
void processFrame (int frameId, char *image, char *extended, int64_t time, int width, int height)
 
void processFrame (int frameId, char *image, uint32_t dataSize, int width, int height, int frameFormat)
 
- 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)
 

Additional Inherited Members

- Public Types inherited from apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 
- 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_
 

Constructor & Destructor Documentation

◆ ~SmartereyeComponent()

apollo::drivers::smartereye::SmartereyeComponent::~SmartereyeComponent ( )

Member Function Documentation

◆ Callback()

bool apollo::drivers::smartereye::SmartereyeComponent::Callback ( RawImageFrame *  rawFrame)
protected

◆ Init()

bool apollo::drivers::smartereye::SmartereyeComponent::Init ( )
overridevirtual

◆ processFrame() [1/2]

void apollo::drivers::smartereye::SmartereyeComponent::processFrame ( int  frameId,
char *  image,
char *  extended,
int64_t  time,
int  width,
int  height 
)
protected

◆ processFrame() [2/2]

void apollo::drivers::smartereye::SmartereyeComponent::processFrame ( int  frameId,
char *  image,
uint32_t  dataSize,
int  width,
int  height,
int  frameFormat 
)
protected

◆ run()

void apollo::drivers::smartereye::SmartereyeComponent::run ( )
protected

◆ SetCallback()

bool apollo::drivers::smartereye::SmartereyeComponent::SetCallback ( )
protected

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