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