Visual Servoing Platform
version 3.2.0 under development (2019-01-22)
|
#include <visp3/sensor/vpPylonFactory.h>
Public Types | |
enum | DeviceClass { BASLER_GIGE, BASLER_USB } |
Public Member Functions | |
vpPylonGrabber * | createPylonGrabber (DeviceClass dev_class) |
Static Public Member Functions | |
static vpPylonFactory & | instance () |
Factory singleton class to create vpPylonGrabber subclass instances.
Use vpPylonFactory::instance() to get the singleton instance. This class can also help to initialize and terminate pylon runtime system.
Example code.
Definition at line 68 of file vpPylonFactory.h.
Device class of cameras.
Enumerator | |
---|---|
BASLER_GIGE |
Basler GigE camera. |
BASLER_USB |
Basler USB camera. |
Definition at line 75 of file vpPylonFactory.h.
vpPylonGrabber * vpPylonFactory::createPylonGrabber | ( | DeviceClass | dev_class | ) |
Create an object of vpPylonGrabber.
dev_class | The device class. See vpPylonFactory::DeviceClass for valid values. |
Definition at line 70 of file vpPylonFactory.cpp.
References BASLER_GIGE, and BASLER_USB.
|
static |
Get the vpPylonFactory singleton.
Definition at line 54 of file vpPylonFactory.cpp.