Visual Servoing Platform
version 3.6.1 under development (2024-12-17)
|
#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 69 of file vpPylonFactory.h.
Device class of cameras.
Enumerator | |
---|---|
BASLER_GIGE | Basler GigE camera. |
BASLER_USB | Basler USB camera. |
Definition at line 76 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 71 of file vpPylonFactory.cpp.
References BASLER_GIGE, and BASLER_USB.
|
static |
Get the vpPylonFactory singleton.
Definition at line 55 of file vpPylonFactory.cpp.