Public Member Functions | List of all members
alvar::plugins::CapturePluginDSCapture Class Reference

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

#include <CapturePluginDSCapture.h>

Inheritance diagram for alvar::plugins::CapturePluginDSCapture:
Inheritance graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from alvar::CapturePlugin
typedef std::vector< CaptureDeviceCaptureDeviceVector
 Vector of CaptureDevices. More...
 
- Protected Attributes inherited from alvar::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 119 of file CapturePluginDSCapture.h.

Constructor & Destructor Documentation

alvar::plugins::CapturePluginDSCapture::CapturePluginDSCapture ( const std::string &  captureType)

Constructor.

Parameters
captureTypeA unique identifier for the capture plugin.

Definition at line 176 of file CapturePluginDSCapture.cpp.

alvar::plugins::CapturePluginDSCapture::~CapturePluginDSCapture ( )

Destructor.

Definition at line 181 of file CapturePluginDSCapture.cpp.

Member Function Documentation

Capture * alvar::plugins::CapturePluginDSCapture::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 alvar::CapturePlugin.

Definition at line 198 of file CapturePluginDSCapture.cpp.

CapturePlugin::CaptureDeviceVector alvar::plugins::CapturePluginDSCapture::enumerateDevices ( )
virtual

Enumerate capture devices currently available.

Returns
A vector of CaptureDevice objects that are currently available.

Implements alvar::CapturePlugin.

Definition at line 185 of file CapturePluginDSCapture.cpp.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Mon Jun 10 2019 12:47:05