#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. | |
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.
int cinder::CaptureImplDirectShow::Device::mUniqueId [protected] |
- std: [protected, inherited] |