My Project
Public Member Functions | List of all members
CapturePluginDSCapture Class Reference

Implementation of CapturePlugin interface for DSCapture plugin. More...

#include <CapturePluginDSCapture.h>

Inheritance diagram for CapturePluginDSCapture:
CapturePlugin

Public Member Functions

 CapturePluginDSCapture (const std::string &captureType)
 Constructor. More...
 
 ~CapturePluginDSCapture ()
 Destructor.
 
CaptureDeviceVector enumerateDevices ()
 Enumerate capture devices currently available. More...
 
CapturecreateCapture (const CaptureDevice captureDevice)
 Create Capture class. Transfers onwership to the caller. More...
 
- Public Member Functions inherited from CapturePlugin
 CapturePlugin (const std::string &captureType)
 Constructor. More...
 
virtual ~CapturePlugin ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from CapturePlugin
typedef std::vector< CaptureDeviceCaptureDeviceVector
 Vector of CaptureDevices.
 
- Protected Attributes inherited from CapturePlugin
std::string mCaptureType
 

Detailed Description

Implementation of CapturePlugin interface for DSCapture plugin.

Note
The DSCapture plugin is currently experimental and not included in the build by default.

Definition at line 124 of file CapturePluginDSCapture.h.

Constructor & Destructor Documentation

◆ CapturePluginDSCapture()

CapturePluginDSCapture ( const std::string &  captureType)

Constructor.

Parameters
captureTypeA unique identifier for the capture plugin.

Member Function Documentation

◆ createCapture()

Capture* createCapture ( const CaptureDevice  captureDevice)
virtual

Create Capture class. Transfers onwership to the caller.

Parameters
captureDeviceInformation of which camera to create.
Returns
A new Capture class for which the caller takes ownership.

Implements CapturePlugin.

◆ enumerateDevices()

CaptureDeviceVector enumerateDevices ( )
virtual

Enumerate capture devices currently available.

Returns
A vector of CaptureDevice objects that are currently available.

Implements CapturePlugin.


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