Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
cinder::CaptureImplDirectShow Class Reference

#include <CaptureImplDirectShow.h>

Classes

class  Device
 

Public Member Functions

 CaptureImplDirectShow (int32_t width, int32_t height, const Capture::DeviceRef device)
 
 CaptureImplDirectShow (int32_t width, int32_t height)
 
 ~CaptureImplDirectShow ()
 
void start ()
 
void stop ()
 
bool isCapturing ()
 
bool checkNewFrame () const
 
int32_t getWidth () const
 
int32_t getHeight () const
 
Surface8u getSurface () const
 
const Capture::DeviceRef getDevice () const
 

Static Public Member Functions

static const std::vector
< Capture::DeviceRef > & 
getDevices (bool forceRefresh=false)
 

Protected Member Functions

void init (int32_t width, int32_t height, const Capture::Device &device)
 

Protected Attributes

int mDeviceID
 
std::shared_ptr< class CaptureMgr > mMgrPtr
 
bool mIsCapturing
 
std::shared_ptr< class
SurfaceCache > 
mSurfaceCache
 
int32_t mWidth
 
int32_t mHeight
 
Surface8u mCurrentFrame
 
Capture::DeviceRef mDevice
 

Static Protected Attributes

static bool sDevicesEnumerated = false
 
static std::vector
< Capture::DeviceRef
sDevices
 

Constructor & Destructor Documentation

cinder::CaptureImplDirectShow::CaptureImplDirectShow ( int32_t  width,
int32_t  height,
const Capture::DeviceRef  device 
)
cinder::CaptureImplDirectShow::CaptureImplDirectShow ( int32_t  width,
int32_t  height 
)
cinder::CaptureImplDirectShow::~CaptureImplDirectShow ( )

Member Function Documentation

void cinder::CaptureImplDirectShow::start ( )
void cinder::CaptureImplDirectShow::stop ( )
bool cinder::CaptureImplDirectShow::isCapturing ( )
bool cinder::CaptureImplDirectShow::checkNewFrame ( ) const
int32_t cinder::CaptureImplDirectShow::getWidth ( ) const
int32_t cinder::CaptureImplDirectShow::getHeight ( ) const
Surface8u cinder::CaptureImplDirectShow::getSurface ( ) const
const Capture::DeviceRef cinder::CaptureImplDirectShow::getDevice ( ) const
const vector< Capture::DeviceRef > & cinder::CaptureImplDirectShow::getDevices ( bool  forceRefresh = false)
static
void cinder::CaptureImplDirectShow::init ( int32_t  width,
int32_t  height,
const Capture::Device device 
)
protected

Member Data Documentation

int cinder::CaptureImplDirectShow::mDeviceID
protected
std::shared_ptr<class CaptureMgr> cinder::CaptureImplDirectShow::mMgrPtr
protected
bool cinder::CaptureImplDirectShow::mIsCapturing
protected
std::shared_ptr<class SurfaceCache> cinder::CaptureImplDirectShow::mSurfaceCache
protected
int32_t cinder::CaptureImplDirectShow::mWidth
protected
int32_t cinder::CaptureImplDirectShow::mHeight
protected
Surface8u cinder::CaptureImplDirectShow::mCurrentFrame
mutableprotected
Capture::DeviceRef cinder::CaptureImplDirectShow::mDevice
protected
bool cinder::CaptureImplDirectShow::sDevicesEnumerated = false
staticprotected
vector< Capture::DeviceRef > cinder::CaptureImplDirectShow::sDevices
staticprotected

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