cinder::Capture::Device Class Reference

#include <Capture.h>

Inherited by cinder::CaptureImplAvFoundationDevice, cinder::CaptureImplDirectShow::Device, and cinder::CaptureImplQtKitDevice.

List of all members.

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

Constructor & Destructor Documentation

virtual cinder::Capture::Device::~Device (  )  [virtual]
cinder::Capture::Device::Device (  )  [protected]

Member Function Documentation

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]

Member Data Documentation

std::string cinder::Capture::Device::mName [protected]

The documentation for this class was generated from the following file: