Implementation of CapturePlugin interface for Highgui plugin. More...
#include <CapturePluginHighgui.h>
Public Member Functions | |
CapturePluginHighgui (const std::string &captureType) | |
Constructor. More... | |
Capture * | createCapture (const CaptureDevice captureDevice) |
Create Capture class. Transfers onwership to the caller. More... | |
CaptureDeviceVector | enumerateDevices () |
Enumerate capture devices currently available. More... | |
~CapturePluginHighgui () | |
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< CaptureDevice > | CaptureDeviceVector |
Vector of CaptureDevices. More... | |
Protected Attributes inherited from alvar::CapturePlugin | |
std::string | mCaptureType |
Implementation of CapturePlugin interface for Highgui plugin.
Definition at line 88 of file CapturePluginHighgui.h.
alvar::plugins::CapturePluginHighgui::CapturePluginHighgui | ( | const std::string & | captureType | ) |
Constructor.
captureType | A unique identifier for the capture plugin. |
Definition at line 109 of file CapturePluginHighgui.cpp.
alvar::plugins::CapturePluginHighgui::~CapturePluginHighgui | ( | ) |
Destructor.
Definition at line 114 of file CapturePluginHighgui.cpp.
|
virtual |
Create Capture class. Transfers onwership to the caller.
captureDevice | Information of which camera to create. |
Implements alvar::CapturePlugin.
Definition at line 153 of file CapturePluginHighgui.cpp.
|
virtual |
Enumerate capture devices currently available.
Implements alvar::CapturePlugin.
Definition at line 118 of file CapturePluginHighgui.cpp.