Public Member Functions | Protected Attributes
cinder::CaptureImplDirectShow::Device Class Reference

#include <CaptureImplDirectShow.h>

Inherits cinder::Capture::Device.

List of all members.

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.
(virtual void *) - getNative
 Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW.
(virtual bool) - isFrontFacing
 Returns whether device is front-facing. False implies rear-facing.

Protected Attributes

int mUniqueId
std::string mName

Constructor & Destructor Documentation

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

Member Function Documentation

Returns whether the device is available for use.

Implements cinder::Capture::Device.

Returns whether the device is currently connected.

Implements cinder::Capture::Device.

Returns the OS-specific unique identifier.

Implements cinder::Capture::Device.

- (const string&) cinder: const

Returns the human-readable name of the device.

- (virtual void*) Capture: const

Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW.

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

- (virtual bool) Capture: const

Returns whether device is front-facing. False implies rear-facing.

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


Member Data Documentation

- std: [protected, inherited]

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