![]() |
Cinder
0.9.1
|
#include <Capture.h>
Inherited by cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplDirectShow::Device.
Public Member Functions | |
virtual | ~Device () |
const std::string & | getName () const |
virtual bool | checkAvailable () const =0 |
virtual bool | isConnected () const =0 |
virtual Capture::DeviceIdentifier | getUniqueId () const =0 |
virtual void * | getNative () const =0 |
Protected Member Functions | |
Device () | |
Protected Attributes | |
std::string | mName |
|
virtual |
|
protected |
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, and cinder::CaptureImplAvFoundationDevice.
|
pure virtual |
Returns whether the device is currently connected.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplAvFoundationDevice.
|
pure virtual |
Returns the OS-specific unique identifier.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplAvFoundationDevice.
|
pure virtual |
Returns an OS-specific pointer. AVCaptureDevice* on OS X and iOS. Not implemented on MSW.
Implemented in cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplAvFoundationDevice.
|
protected |