#include <CaptureImplDirectShow.h>
Inherits cinder::Capture::Device.
Public Member Functions | |
| bool | checkAvailable () const |
| Returns whether the device is available for use. | |
| bool | isConnected () const |
| Returns whether the device is currently connected. | |
| Capture::DeviceIdentifier | getUniqueId () const |
| Returns the OS-specific unique identifier. | |
| Device (const std::string &name, int uniqueId) | |
| (const std::string &) | - getName |
| Returns the human-readable name of the device. | |
| (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 Attributes | |
| int | mUniqueId |
| std::string | mName |
| cinder::CaptureImplDirectShow::Device::Device | ( | const std::string & | name, |
| int | uniqueId | ||
| ) |
| bool cinder::CaptureImplDirectShow::Device::checkAvailable | ( | ) | const [virtual] |
Returns whether the device is available for use.
Implements cinder::Capture::Device.
| bool cinder::CaptureImplDirectShow::Device::isConnected | ( | ) | const [virtual] |
Returns whether the device is currently connected.
Implements cinder::Capture::Device.
| Capture::DeviceIdentifier cinder::CaptureImplDirectShow::Device::getUniqueId | ( | ) | const [virtual] |
Returns the OS-specific unique identifier.
Implements cinder::Capture::Device.
| - (const string&) cinder: | const |
Returns the human-readable name of the device.
| - (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.
int cinder::CaptureImplDirectShow::Device::mUniqueId [protected] |
- std: [protected, inherited] |