Image Component Library (ICL)
|
Utility Structure. More...
#include <PylonUtils.h>
Public Member Functions | |
ICLIO_API | PylonAutoEnv () |
Initializes Pylon environment if not already done. | |
ICLIO_API | ~PylonAutoEnv () |
Terminates Pylon environment when (calls to term) == (calls to init). | |
Static Public Member Functions | |
static ICLIO_API bool | initPylonEnv () |
Initializes the Pylon environment. | |
static ICLIO_API bool | termPylonEnv () |
terminates the Pylon environment. |
Utility Structure.
This struct is used to initialize and terminate the pylon environment. It intializes Pylon on creation and terminates it on destruction. Uses a static counter to ensure initialization only on first and termination on last call.
Initializes Pylon environment if not already done.
Terminates Pylon environment when (calls to term) == (calls to init).
static ICLIO_API bool icl::io::pylon::PylonAutoEnv::initPylonEnv | ( | ) | [static] |
Initializes the Pylon environment.
static ICLIO_API bool icl::io::pylon::PylonAutoEnv::termPylonEnv | ( | ) | [static] |
terminates the Pylon environment.