Cinder  0.9.1
Public Member Functions | Protected Attributes | List of all members
cinder::CaptureImplAvFoundationDevice Class Reference

#include <CaptureImplAvFoundation.h>

Inherits cinder::Capture::Device.

Public Member Functions

 CaptureImplAvFoundationDevice (AVCaptureDevice *device)
 
 ~CaptureImplAvFoundationDevice ()
 
bool checkAvailable () const
 
bool isConnected () const
 
Capture::DeviceIdentifier getUniqueId () const
 
bool isFrontFacing () const
 
void * getNative () const
 
const std::string & getName () const
 

Protected Attributes

std::string mName
 

Constructor & Destructor Documentation

cinder::CaptureImplAvFoundationDevice::CaptureImplAvFoundationDevice ( AVCaptureDevice *  device)
cinder::CaptureImplAvFoundationDevice::~CaptureImplAvFoundationDevice ( )

Member Function Documentation

bool cinder::CaptureImplAvFoundationDevice::checkAvailable ( ) const
virtual

Returns whether the device is available for use.

Implements cinder::Capture::Device.

bool cinder::CaptureImplAvFoundationDevice::isConnected ( ) const
virtual

Returns whether the device is currently connected.

Implements cinder::Capture::Device.

Capture::DeviceIdentifier cinder::CaptureImplAvFoundationDevice::getUniqueId ( ) const
virtual

Returns the OS-specific unique identifier.

Implements cinder::Capture::Device.

bool cinder::CaptureImplAvFoundationDevice::isFrontFacing ( ) const
void* cinder::CaptureImplAvFoundationDevice::getNative ( ) const
virtual

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

Implements cinder::Capture::Device.

const std::string& cinder::Capture::Device::getName ( ) const
inherited

Returns the human-readable name of the device.

Member Data Documentation

std::string cinder::Capture::Device::mName
protectedinherited

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