Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

CameraDriverQTSG Class Reference

This driver provides camera capture through QuickTime and the Sequence Grabber, which is deprecated. See the alternative CameraDriverQTKit implementation. More...

#include <CameraDriverQTSG.h>

Inheritance diagram for CameraDriverQTSG:

Detailed Description

This driver provides camera capture through QuickTime and the Sequence Grabber, which is deprecated. See the alternative CameraDriverQTKit implementation.

This camera driver is used on pre-10.6 systems, supporting 32 bit only

Definition at line 10 of file CameraDriverQTSG.h.

List of all members.

Public Member Functions

 CameraDriverQTSG (const std::string &name)
 constructor, may throw a const char* on error
 ~CameraDriverQTSG ()
virtual std::string getClassName () const
 Returns the name of the class (aka its type).
virtual void getImageSources (std::map< std::string, DataSource * > &sources)

Protected Member Functions

void updateCameraList ()

Static Protected Member Functions

static std::string p2c (unsigned char pascalStr[])
 converts from pascal-format string to c-format string
static void dumpLiteral (OSType t)

Static Private Attributes

static const std::string autoRegisterCameraDriver
 holds the class name, set via registration with the DeviceDriver registry

Constructor & Destructor Documentation

CameraDriverQTSG ( const std::string &  name  )  [explicit]

constructor, may throw a const char* on error

Definition at line 10 of file CameraDriverQTSG.h.

~CameraDriverQTSG (  ) 

Definition at line 21 of file CameraDriverQTSG.h.


Member Function Documentation

static void dumpLiteral ( OSType  t  )  [static, protected]
virtual std::string getClassName (  )  const [virtual]

Returns the name of the class (aka its type).

Suggested implementation is to declare a static string member, set it to the result of calling the registry's registerType, and then return that member here

Implements DeviceDriver.

Definition at line 23 of file CameraDriverQTSG.h.

virtual void getImageSources ( std::map< std::string, DataSource * > &  sources  )  [virtual]

Reimplemented from DeviceDriver.

Definition at line 25 of file CameraDriverQTSG.h.

static std::string p2c ( unsigned char  pascalStr[]  )  [static, protected]

converts from pascal-format string to c-format string

Definition at line 39 of file CameraDriverQTSG.h.

void updateCameraList (  )  [protected]

Member Data Documentation

const std::string autoRegisterCameraDriver [static, private]

holds the class name, set via registration with the DeviceDriver registry

Definition at line 50 of file CameraDriverQTSG.h.

Referenced by CameraDriverQTSG(), and getImageSources().


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:40 2016 by Doxygen 1.6.3