src/demo/camera.hpp Source File#

Demo: src/demo/camera.hpp Source File
Demo
camera.hpp
1#ifndef CAMERA_H
2#define CAMERA_H
3
4#include <string>
5
6namespace demo {
7
11class Camera {
12public:
17 explicit Camera(const std::string& id) : id(id) {}
18
23 Frame captureFrame() {
24 // Implementation code here
25 }
26
27private:
28 std::string id;
29};
30
31} // namespace demo
32
33#endif // CAMERA_H
Represents a camera in the Advanced Driver Assistance System.
Definition camera.hpp:11
Frame captureFrame()
Captures a frame from the camera.
Definition camera.hpp:23
Camera(const std::string &id)
Constructs a Camera object with the specified ID.
Definition camera.hpp:17