#include <CameraController.hpp>
Inherited by kn::DVCam [private], and kn::V4L2Webcam.

Public Member Functions | |
| virtual | ~CameraController (void) |
| Destructor. | |
| virtual void | openDevice (void)=0 |
| Activates the camera. | |
| virtual void | closeDevice (void)=0 |
| Disables the webcam. | |
| virtual void | start (void)=0 |
| Start the capture of the images. | |
| virtual void | stop (void)=0 |
| Stop the capture of the images. | |
| virtual unsigned char * | getImage (void)=0 |
| Get the last image captured. | |
| virtual size_t | width (void) const =0 |
| Get width of the images captured by the webcam. | |
| virtual size_t | height (void) const =0 |
| Get height of the images captured by the webcam. | |
Protected Attributes | |
| std::string | devicename |
| Name of the device. | |
| size_t | camwidth |
| Width of the image captured by the webcam. | |
| size_t | camheight |
| Height of the image captured by the webcam. | |
Definition at line 68 of file CameraController.hpp.
| virtual kn::CameraController::~CameraController | ( | void | ) | [inline, virtual] |
| virtual void kn::CameraController::closeDevice | ( | void | ) | [pure virtual] |
| virtual unsigned char* kn::CameraController::getImage | ( | void | ) | [pure virtual] |
Get the last image captured.
Implemented in kn::DVCam, and kn::V4L2Webcam.
| virtual size_t kn::CameraController::height | ( | void | ) | const [pure virtual] |
Get height of the images captured by the webcam.
Implemented in kn::DVCam, and kn::V4L2Webcam.
| virtual void kn::CameraController::openDevice | ( | void | ) | [pure virtual] |
| virtual void kn::CameraController::start | ( | void | ) | [pure virtual] |
| virtual void kn::CameraController::stop | ( | void | ) | [pure virtual] |
| virtual size_t kn::CameraController::width | ( | void | ) | const [pure virtual] |
Get width of the images captured by the webcam.
Implemented in kn::DVCam, and kn::V4L2Webcam.
size_t kn::CameraController::camheight [protected] |
size_t kn::CameraController::camwidth [protected] |
std::string kn::CameraController::devicename [protected] |
1.5.8