Camera Class Reference#

Demo: demo::Camera Class Reference
Demo
demo::Camera Class Reference

Represents a camera in the Advanced Driver Assistance System. More...

#include <camera.hpp>

Public Member Functions

 Camera (const std::string &id)
 Constructs a Camera object with the specified ID.
 
Frame captureFrame ()
 Captures a frame from the camera.
 

Detailed Description

Represents a camera in the Advanced Driver Assistance System.

Constructor & Destructor Documentation

◆ Camera()

demo::Camera::Camera ( const std::string &  id)
inlineexplicit

Constructs a Camera object with the specified ID.

Parameters
idThe ID of the camera.

Member Function Documentation

◆ captureFrame()

Frame demo::Camera::captureFrame ( )
inline

Captures a frame from the camera.

Returns
The captured frame.

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