Image Component Library (ICL)
|
Utility Structure. More...
#include <PylonUtils.h>
Public Member Functions | |
ICLIO_API | PylonAutoEnv () |
Initializes Pylon environment if not already done. More... | |
ICLIO_API | ~PylonAutoEnv () |
Terminates Pylon environment when (calls to term) == (calls to init). More... | |
Static Public Member Functions | |
static ICLIO_API bool | initPylonEnv () |
Initializes the Pylon environment. More... | |
static ICLIO_API bool | termPylonEnv () |
terminates the Pylon environment. More... | |
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.
ICLIO_API icl::io::pylon::PylonAutoEnv::PylonAutoEnv | ( | ) |
Initializes Pylon environment if not already done.
ICLIO_API icl::io::pylon::PylonAutoEnv::~PylonAutoEnv | ( | ) |
Terminates Pylon environment when (calls to term) == (calls to init).
|
static |
Initializes the Pylon environment.
|
static |
terminates the Pylon environment.