Cinder  0.9.1
Public Member Functions | Protected Attributes | List of all members
cinder::CaptureImplDirectShow::Device Class Referenceabstract

#include <CaptureImplDirectShow.h>

Inherits cinder::Capture::Device.

Public Member Functions

bool checkAvailable () const
 
bool isConnected () const
 
Capture::DeviceIdentifier getUniqueId () const
 
 Device (const std::string &name, int uniqueId)
 
const std::string & getName () const
 
virtual void * getNative () const =0
 

Protected Attributes

int mUniqueId
 
std::string mName
 

Constructor & Destructor Documentation

cinder::CaptureImplDirectShow::Device::Device ( const std::string &  name,
int  uniqueId 
)

Member Function Documentation

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 std::string& cinder::Capture::Device::getName ( ) const
inherited

Returns the human-readable name of the device.

virtual void* cinder::Capture::Device::getNative ( ) const
pure virtualinherited

Returns an OS-specific pointer. AVCaptureDevice* on OS X and iOS. Not implemented on MSW.

Implemented in cinder::CaptureImplCocoaDummyDevice, and cinder::CaptureImplAvFoundationDevice.

Member Data Documentation

int cinder::CaptureImplDirectShow::Device::mUniqueId
protected
std::string cinder::Capture::Device::mName
protectedinherited

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