#include <Capture.h>
Public Member Functions | |
virtual | ~Device () |
const std::string & | getName () const |
Returns the human-readable name of the device. More... | |
virtual bool | checkAvailable () const =0 |
Returns whether the device is available for use. More... | |
virtual bool | isConnected () const =0 |
Returns whether the device is currently connected. More... | |
virtual Capture::DeviceIdentifier | getUniqueId () const =0 |
Returns the OS-specific unique identifier. More... | |
Protected Member Functions | |
Device () | |
Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW. More... | |
Protected Attributes | |
std::string | mName |
|
virtual |
|
protected |
Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW.
const std::string& cinder::Capture::Device::getName | ( | ) | const |
Returns the human-readable name of the device.
|
pure virtual |
Returns whether the device is available for use.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
|
pure virtual |
Returns whether the device is currently connected.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
|
pure virtual |
Returns the OS-specific unique identifier.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
|
protected |