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

#import <Capture.h>

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

List of all members.

Public Member Functions

(virtual) - ~Device
(const std::string &) - getName
 Returns the human-readable name of the device.
(virtual bool) - checkAvailable
 Returns whether the device is available for use.
(virtual bool) - isConnected
 Returns whether the device is currently connected.
(virtual Capture::DeviceIdentifier- getUniqueId
 Returns the OS-specific unique identifier.
(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 Member Functions

() - Device

Protected Attributes

std::string mName

Constructor & Destructor Documentation

- (virtual) Capture:
- cinder:

Member Function Documentation

- (const string&) cinder: const

Returns the human-readable name of the device.

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