#import <Capture.h>
Inherited by cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.
Public Member Functions | |
| (virtual) | - ~Device |
| (const std::string &) | - getName |
| Returns the human-readable name of the device. | |
| (virtual bool) | - checkAvailable |
| Returns whether the device is available for use. | |
| (virtual bool) | - isConnected |
| Returns whether the device is currently connected. | |
| (virtual Capture::DeviceIdentifier) | - getUniqueId |
| Returns the OS-specific unique identifier. | |
| (virtual void *) | - getNative |
| Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW. | |
| (virtual bool) | - isFrontFacing |
| Returns whether device is front-facing. False implies rear-facing. | |
Protected Member Functions | |
| () | - Device |
Protected Attributes | |
| std::string | mName |
| - (virtual) Capture: |
| - cinder: |
| - (const string&) cinder: | const |
Returns the human-readable name of the device.
| - (virtual bool) Capture: | const |
Returns whether the device is available for use.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
| - (virtual bool) Capture: | const |
Returns whether the device is currently connected.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
| - (virtual DeviceIdentifier) cinder: | const |
Returns the OS-specific unique identifier.
Implemented in cinder::CaptureImplDirectShow::Device, cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplQtKitDevice, and cinder::CaptureImplAvFoundationDevice.
| - (virtual void*) Capture: | const |
Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW.
Implemented in cinder::CaptureImplCocoaDummyDevice, cinder::CaptureImplAvFoundationDevice, and cinder::CaptureImplQtKitDevice.
| - (virtual bool) Capture: | const |
Returns whether device is front-facing. False implies rear-facing.
Implemented in cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplAvFoundationDevice.
- std: [protected] |