103 #include <peak/dll_interface/peak_dll_interface_util.hpp> 114 DeviceManager::LifetimeTracker<>::Create();
119 DeviceManager::LifetimeTracker<>::Destroy();
126 uint32_t versionMajor = QueryNumericFromCInterfaceFunction<uint32_t>(
128 uint32_t versionMinor = QueryNumericFromCInterfaceFunction<uint32_t>(
130 uint32_t versionSubminor = QueryNumericFromCInterfaceFunction<uint32_t>(
133 return {versionMajor, versionMinor, versionSubminor};
Implements versioning functionality.
Definition: peak_version.hpp:33
PEAK_C_API PEAK_Library_Close()
Closes the IDS peak API library and cleans up any resources that are still in use.
static core::Version Version()
Returns the library version.
Definition: peak_library.hpp:124
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition: peak_dynamic_loader.h:32
static void Initialize()
Initializes the IDS peak API library.
Definition: peak_library.hpp:110
A collection of global library functions.
Definition: peak_library.hpp:30
PEAK_C_API PEAK_Library_GetVersionSubminor(uint32_t *libraryVersionSubminor)
Asks for the subminor component of the library version.
PEAK_C_API PEAK_Library_GetVersionMinor(uint32_t *libraryVersionMinor)
Asks for the minor component of the library version.
#define PEAK_C_ABI_PREFIX
Definition: peak_dll_defines.h:16
static void Close()
Closes the IDS peak API library and cleans up any resources that are still in use.
Definition: peak_library.hpp:117
PEAK_C_API PEAK_Library_GetVersionMajor(uint32_t *libraryVersionMajor)
Asks for the major component of the library version.
PEAK_C_API PEAK_Library_Initialize()
Initializes the IDS peak API library.