cinder::CaptureImplDirectShow Class Reference

#include <CaptureImplDirectShow.h>

List of all members.

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

std::shared_ptr<class CaptureMgr> cinder::CaptureImplDirectShow::mMgrPtr [protected]
std::shared_ptr<class SurfaceCache> cinder::CaptureImplDirectShow::mSurfaceCache [protected]
bool cinder::CaptureImplDirectShow::sDevicesEnumerated = false [static, protected]

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