cinder::Capture::Device Class Referenceabstract

#import <Capture.h>

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

Instance Methods

(virtual) - ~Device
 
(const std::string &) - getName
 Returns the human-readable name of the device. More...
 
(virtual bool) - checkAvailable
 Returns whether the device is available for use. More...
 
(virtual bool) - isConnected
 Returns whether the device is currently connected. More...
 
(virtual Capture::DeviceIdentifier- getUniqueId
 Returns the OS-specific unique identifier. More...
 
(virtual void *) - getNative
 Returns an OS-specific pointer. QTCaptureDevice* on Mac OS X, AVCaptureDevice* on iOS. Not implemented on MSW. More...
 
(virtual bool) - isFrontFacing
 Returns whether device is front-facing. False implies rear-facing. More...
 

Protected Member Functions

() - Device
 

Protected Attributes

std::string mName
 

Constructor & Destructor Documentation

- (virtual) Capture:
- cinder:

Method Documentation

- (const string&) cinder: const

Returns the human-readable name of the device.

- (virtual bool) Capture: const
- (virtual bool) Capture: const
- (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

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