104 #include <peak/dll_interface/peak_dll_interface_util.hpp> 122 if (QueryNumericFromCInterfaceFunction<PEAK_BOOL8>([](
PEAK_BOOL8* isInitialized) {
133 uint32_t versionMajor = QueryNumericFromCInterfaceFunction<uint32_t>(
135 uint32_t versionMinor = QueryNumericFromCInterfaceFunction<uint32_t>(
137 uint32_t versionSubminor = QueryNumericFromCInterfaceFunction<uint32_t>(
140 return core::Version(versionMajor, versionMinor, versionSubminor);
Implements versioning functionality.
Definition: peak_version.hpp:33
int8_t PEAK_BOOL8
Definition: peak_backend.h:26
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:131
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:112
A collection of global library functions.
Definition: peak_library.hpp:31
PEAK_C_API PEAK_Library_IsInitialized(PEAK_BOOL8 *isInitialized)
Checks if the IDS peak API library is initialized.
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 DeviceManager & Instance()
Returns the global DeviceManager.
Definition: peak_device_manager.hpp:489
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.