Apollo  6.0
Open source self driving car software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
apollo::drivers::video::CameraDriver Class Reference

#include <driver.h>

Collaboration diagram for apollo::drivers::video::CameraDriver:
Collaboration graph

Public Member Functions

 CameraDriver (const CameraH265Config *h265_cfg)
 
 ~CameraDriver ()
 
bool Poll (std::shared_ptr< CompressedImage > h265)
 
void Init ()
 
int Port ()
 
int Record ()
 

Protected Member Functions

bool PollByFrame (std::shared_ptr< CompressedImage > h265)
 

Protected Attributes

CameraH265Config config_
 
std::shared_ptr< SocketInputinput_
 

Constructor & Destructor Documentation

◆ CameraDriver()

apollo::drivers::video::CameraDriver::CameraDriver ( const CameraH265Config *  h265_cfg)
explicit

◆ ~CameraDriver()

apollo::drivers::video::CameraDriver::~CameraDriver ( )
inline

Member Function Documentation

◆ Init()

void apollo::drivers::video::CameraDriver::Init ( )

◆ Poll()

bool apollo::drivers::video::CameraDriver::Poll ( std::shared_ptr< CompressedImage >  h265)

◆ PollByFrame()

bool apollo::drivers::video::CameraDriver::PollByFrame ( std::shared_ptr< CompressedImage >  h265)
protected

◆ Port()

int apollo::drivers::video::CameraDriver::Port ( )
inline

◆ Record()

int apollo::drivers::video::CameraDriver::Record ( )
inline

Member Data Documentation

◆ config_

CameraH265Config apollo::drivers::video::CameraDriver::config_
protected

◆ input_

std::shared_ptr<SocketInput> apollo::drivers::video::CameraDriver::input_
protected

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