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

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

#include <CapturePluginFile.h>

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

Public Member Functions

 CapturePluginFile (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...
 
 ~CapturePluginFile ()
 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 File plugin.

Definition at line 87 of file CapturePluginFile.h.

Constructor & Destructor Documentation

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

Constructor.

Parameters
captureTypeA unique identifier for the capture plugin.

Definition at line 105 of file CapturePluginFile.cpp.

alvar::plugins::CapturePluginFile::~CapturePluginFile ( )

Destructor.

Definition at line 110 of file CapturePluginFile.cpp.

Member Function Documentation

Capture * alvar::plugins::CapturePluginFile::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 120 of file CapturePluginFile.cpp.

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

Enumerate capture devices currently available.

Returns
A vector of CaptureDevice objects that are currently available.

Implements alvar::CapturePlugin.

Definition at line 114 of file CapturePluginFile.cpp.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24