![]() |
Signapse
|
#include <Camera.h>
Public Member Functions | |
Camera () | |
Camera (CameraSettings settings) | |
bool | getOn () |
void | setOn (bool state) |
void | Start () |
void | Stop () |
![]() | |
void | RegisterCallback (SceneCallback *scb) |
virtual void | NextScene (Scene next)=0 |
Additional Inherited Members | |
![]() | |
void | NextScene (Scene scene) |
![]() | |
SceneCallback * | sceneCallback = nullptr |
Simple Pipeline element which integrates frame acquisition from the camera feed.
Camera::Camera | ( | ) |
Camera default constructor, inits settings, sets isOn to true.
Definition at line 6 of file Camera.cpp.
Camera::Camera | ( | CameraSettings | settings | ) |
Camera constructor from settings, sets isOn to true.
Definition at line 12 of file Camera.cpp.
bool Camera::getOn | ( | ) |
Returns the isON state of the camera
Definition at line 71 of file Camera.cpp.
void Camera::setOn | ( | bool | state | ) |
Sets the isOn state of the camera
state |
Definition at line 20 of file Camera.cpp.
void Camera::Start | ( | ) |
Starts the worker thread recording
Definition at line 53 of file Camera.cpp.
void Camera::Stop | ( | ) |
Frees thread resources and stops recording, must be called prior to program exit.
Definition at line 61 of file Camera.cpp.