#include <Capture.h>
Inherited by cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.
Public Member Functions | |
| virtual | ~Device () |
| const std::string & | getName () const |
| Returns the human-readable name of the device. | |
| virtual bool | checkAvailable () const =0 |
| Returns whether the device is available for use. | |
| virtual bool | isConnected () const =0 |
| Returns whether the device is currently connected. | |
| virtual Capture::DeviceIdentifier | getUniqueId () const =0 |
| Returns the OS-specific unique identifier. | |
Protected Member Functions | |
| Device () | |
Protected Attributes | |
| std::string | mName |
| virtual cinder::Capture::Device::~Device | ( | ) | [virtual] |
| cinder::Capture::Device::Device | ( | ) | [protected] |
| const std::string& cinder::Capture::Device::getName | ( | ) | const |
Returns the human-readable name of the device.
| virtual bool cinder::Capture::Device::checkAvailable | ( | ) | const [pure virtual] |
Returns whether the device is available for use.
Implemented in cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.
| virtual bool cinder::Capture::Device::isConnected | ( | ) | const [pure virtual] |
Returns whether the device is currently connected.
Implemented in cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.
| virtual Capture::DeviceIdentifier cinder::Capture::Device::getUniqueId | ( | ) | const [pure virtual] |
Returns the OS-specific unique identifier.
Implemented in cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.
std::string cinder::Capture::Device::mName [protected] |