CaptureDevice holder for camera information. More...
#include <CaptureDevice.h>
Public Member Functions | |
CaptureDevice (const std::string captureType, const std::string id, const std::string description="") | |
Constructor. More... | |
std::string | captureType () const |
The type of capture backend. More... | |
std::string | description () const |
The description of the camera. More... | |
std::string | id () const |
The id of the camera. More... | |
std::string | uniqueName () const |
A unique name consisting of the capture type and the id. More... | |
~CaptureDevice () | |
Destructor. More... | |
Private Attributes | |
std::string | mCaptureType |
std::string | mDescription |
std::string | mId |
CaptureDevice holder for camera information.
CaptureDevice contains the desired backend, the id and description of the camera.
Definition at line 44 of file CaptureDevice.h.
alvar::CaptureDevice::CaptureDevice | ( | const std::string | captureType, |
const std::string | id, | ||
const std::string | description = "" |
||
) |
Constructor.
captureType | The type of capture backend. |
id | The id of the camera. |
description | A human readable description of the camera. |
Definition at line 30 of file CaptureDevice.cpp.
alvar::CaptureDevice::~CaptureDevice | ( | ) |
Destructor.
Definition at line 37 of file CaptureDevice.cpp.
std::string alvar::CaptureDevice::captureType | ( | ) | const |
The type of capture backend.
Definition at line 41 of file CaptureDevice.cpp.
std::string alvar::CaptureDevice::description | ( | ) | const |
The description of the camera.
Definition at line 51 of file CaptureDevice.cpp.
std::string alvar::CaptureDevice::id | ( | ) | const |
The id of the camera.
Definition at line 46 of file CaptureDevice.cpp.
std::string alvar::CaptureDevice::uniqueName | ( | ) | const |
A unique name consisting of the capture type and the id.
Definition at line 56 of file CaptureDevice.cpp.
|
private |
Definition at line 82 of file CaptureDevice.h.
|
private |
Definition at line 84 of file CaptureDevice.h.
|
private |
Definition at line 83 of file CaptureDevice.h.