IDS peak comfortC v1.8.0
Loading...
Searching...
No Matches
ids_peak_comfort_c_dynamic_loader.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "ids_peak_comfort_c.h"
13#include <string>
14#include <cstdint>
15
16#ifdef __linux__
17 #include <dlfcn.h>
18#else
19 #include <vector>
20 #include <windows.h>
21 #include <tchar.h>
22#endif
23
24#include <stdexcept>
25
26#undef PEAK_EXPORT
27#define PEAK_EXPORT
28#undef PEAK_CALLCONV
29#define PEAK_CALLCONV
30
31namespace peak_comfortC
32{
33namespace dynamic
34{
35
36typedef PEAK_API_STATUS (*dyn_peak_Library_Init)();
37typedef PEAK_API_STATUS (*dyn_peak_Library_Exit)();
38typedef PEAK_API_STATUS (*dyn_peak_Library_GetVersion)(uint32_t * majorVersion, uint32_t * minorVersion, uint32_t * subminorVersion, uint32_t * patchVersion);
39typedef PEAK_API_STATUS (*dyn_peak_Library_GetLastError)(peak_status * lastErrorCode, char * lastErrorMessage, size_t * lastErrorMessageSize);
40typedef PEAK_API_BOOL (*dyn_peak_Library_InterfaceTechnology_IsSupported)(peak_interface_technology interfaceTech);
41typedef PEAK_API_STATUS (*dyn_peak_Reconnect_Enable)(peak_interface_technology interfaceTech, peak_bool enabled);
42typedef PEAK_API_BOOL (*dyn_peak_Reconnect_IsEnabled)(peak_interface_technology interfaceTech);
43typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Reconnect_GetAccessStatus)(peak_interface_technology interfaceTech);
44typedef PEAK_API_STATUS (*dyn_peak_CameraList_Update)(size_t * cameraCount);
45typedef PEAK_API_STATUS (*dyn_peak_CameraList_Get)(peak_camera_descriptor * cameraList, size_t * cameraCount);
46typedef PEAK_API_CAMERA_ID (*dyn_peak_Camera_ID_FromHandle)(peak_camera_handle hCam);
47typedef PEAK_API_CAMERA_ID (*dyn_peak_Camera_ID_FromSerialNumber)(const char * serialNumber);
48typedef PEAK_API_CAMERA_ID (*dyn_peak_Camera_ID_FromUserDefinedName)(const char * userDefinedName);
49typedef PEAK_API_CAMERA_ID (*dyn_peak_Camera_ID_FromMAC)(peak_mac_address macAddress);
50typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Camera_GetAccessStatus)(peak_camera_id cameraID);
51typedef PEAK_API_STATUS (*dyn_peak_Camera_GetDescriptor)(peak_camera_id cameraID, peak_camera_descriptor * cameraDescriptor);
52typedef PEAK_API_STATUS (*dyn_peak_Camera_Open)(peak_camera_id cameraID, peak_camera_handle * hCam);
53typedef PEAK_API_STATUS (*dyn_peak_Camera_OpenFirstAvailable)(peak_camera_handle * hCam);
54typedef PEAK_API_STATUS (*dyn_peak_Camera_Close)(peak_camera_handle hCam);
55typedef PEAK_API_STATUS (*dyn_peak_Camera_ResetToDefaultSettings)(peak_camera_handle hCam);
56typedef PEAK_API_STATUS (*dyn_peak_Camera_UserDefinedName_Set)(peak_camera_handle hCam, const char * userDefinedName);
57typedef PEAK_API_STATUS (*dyn_peak_Camera_UserDefinedName_Get)(peak_camera_handle hCam, char * userDefinedName, size_t * userDefinedNameSize);
58typedef PEAK_API_BOOL (*dyn_peak_Camera_IsConnected)(peak_camera_handle hCam);
59typedef PEAK_API_STATUS (*dyn_peak_Camera_Reboot)(peak_camera_handle hCam);
60typedef PEAK_API_ACCESS_STATUS (*dyn_peak_EthernetConfig_GetAccessStatus)(peak_camera_id cameraID);
61typedef PEAK_API_STATUS (*dyn_peak_EthernetConfig_GetInfo)(peak_camera_id cameraID, peak_ethernet_info * ethernetInfo);
62typedef PEAK_API_ACCESS_STATUS (*dyn_peak_EthernetConfig_DHCP_GetAccessStatus)(peak_camera_id cameraID);
63typedef PEAK_API_STATUS (*dyn_peak_EthernetConfig_DHCP_Enable)(peak_camera_id cameraID, peak_bool enabled);
64typedef PEAK_API_BOOL (*dyn_peak_EthernetConfig_DHCP_IsEnabled)(peak_camera_id cameraID);
65typedef PEAK_API_ACCESS_STATUS (*dyn_peak_EthernetConfig_PersistentIP_GetAccessStatus)(peak_camera_id cameraID);
66typedef PEAK_API_STATUS (*dyn_peak_EthernetConfig_PersistentIP_Set)(peak_camera_id cameraID, peak_ip_config persistentIP);
67typedef PEAK_API_STATUS (*dyn_peak_EthernetConfig_PersistentIP_Get)(peak_camera_id cameraID, peak_ip_config * persistentIP);
68typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Start)(peak_camera_handle hCam, uint32_t numberOfFrames);
69typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Stop)(peak_camera_handle hCam);
70typedef PEAK_API_BOOL (*dyn_peak_Acquisition_IsStarted)(peak_camera_handle hCam);
71typedef PEAK_API_STATUS (*dyn_peak_Acquisition_WaitForFrame)(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle * hFrame);
72typedef PEAK_API_STATUS (*dyn_peak_Acquisition_GetInfo)(peak_camera_handle hCam, peak_acquisition_info * acquisitionInfo);
73typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Buffer_GetRequiredSize)(peak_camera_handle hCam, size_t * requiredBufferSize);
74typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Buffer_GetRequiredCount)(peak_camera_handle hCam, size_t * requiredBufferCount);
75typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Buffer_Announce)(peak_camera_handle hCam, uint8_t * memoryAddress, size_t memorySize, void * userContext);
76typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Buffer_Revoke)(peak_camera_handle hCam, uint8_t * memoryAddress);
77typedef PEAK_API_STATUS (*dyn_peak_Acquisition_Buffer_RevokeAll)(peak_camera_handle hCam);
78typedef PEAK_API_STATUS (*dyn_peak_PixelFormat_GetInfo)(peak_pixel_format pixelFormat, peak_pixel_format_info * pixelFormatInfo);
79typedef PEAK_API_STATUS (*dyn_peak_Frame_Release)(peak_camera_handle hCam, peak_frame_handle hFrame);
80typedef PEAK_API_STATUS (*dyn_peak_Frame_GetInfo)(peak_frame_handle hFrame, peak_frame_info * frameInfo);
81typedef PEAK_API_STATUS (*dyn_peak_Frame_Type_Get)(peak_frame_handle hFrame, peak_frame_type * frameType);
82typedef PEAK_API_STATUS (*dyn_peak_Frame_Buffer_Get)(peak_frame_handle hFrame, peak_buffer * buffer);
83typedef PEAK_API_STATUS (*dyn_peak_Frame_ID_Get)(peak_frame_handle hFrame, uint64_t * frameID);
84typedef PEAK_API_STATUS (*dyn_peak_Frame_Timestamp_Get)(peak_frame_handle hFrame, uint64_t * timestamp_ns);
85typedef PEAK_API_STATUS (*dyn_peak_Frame_ROI_Get)(peak_frame_handle hFrame, peak_roi * roi);
86typedef PEAK_API_STATUS (*dyn_peak_Frame_PixelFormat_Get)(peak_frame_handle hFrame, peak_pixel_format * pixelFormat);
87typedef PEAK_API_BOOL (*dyn_peak_Frame_IsComplete)(peak_frame_handle hFrame);
88typedef PEAK_API_STATUS (*dyn_peak_Frame_BytesExpected_Get)(peak_frame_handle hFrame, size_t * bytesExpected);
89typedef PEAK_API_STATUS (*dyn_peak_Frame_BytesWritten_Get)(peak_frame_handle hFrame, size_t * bytesWritten);
90typedef PEAK_API_STATUS (*dyn_peak_Frame_ProcessingTime_Get)(peak_frame_handle hFrame, uint32_t * processingTime_ms);
91typedef PEAK_API_ACCESS_STATUS (*dyn_peak_CameraSettings_ParameterSet_GetAccessStatus)(peak_camera_handle hCam, peak_parameter_set parameterSet);
92typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_ParameterSet_GetList)(peak_camera_handle hCam, peak_parameter_set * parameterSetList, size_t * parameterSetCount);
93typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_ParameterSet_Store)(peak_camera_handle hCam, peak_parameter_set parameterSet);
94typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_ParameterSet_Apply)(peak_camera_handle hCam, peak_parameter_set parameterSet);
95typedef PEAK_API_ACCESS_STATUS (*dyn_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus)(peak_camera_handle hCam);
96typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_ParameterSet_Startup_Set)(peak_camera_handle hCam, peak_parameter_set parameterSet);
97typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_ParameterSet_Startup_Get)(peak_camera_handle hCam, peak_parameter_set * parameterSet);
98typedef PEAK_API_ACCESS_STATUS (*dyn_peak_CameraSettings_DiskFile_GetAccessStatus)(peak_camera_handle hCam);
99typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_DiskFile_Store)(peak_camera_handle hCam, const char * file);
100typedef PEAK_API_STATUS (*dyn_peak_CameraSettings_DiskFile_Apply)(peak_camera_handle hCam, const char * file);
101typedef PEAK_API_ACCESS_STATUS (*dyn_peak_FrameRate_GetAccessStatus)(peak_camera_handle hCam);
102typedef PEAK_API_STATUS (*dyn_peak_FrameRate_GetRange)(peak_camera_handle hCam, double * minFrameRate_fps, double * maxFrameRate_fps, double * incFrameRate_fps);
103typedef PEAK_API_STATUS (*dyn_peak_FrameRate_Set)(peak_camera_handle hCam, double frameRate_fps);
104typedef PEAK_API_STATUS (*dyn_peak_FrameRate_Get)(peak_camera_handle hCam, double * frameRate_fps);
105typedef PEAK_API_ACCESS_STATUS (*dyn_peak_ExposureTime_GetAccessStatus)(peak_camera_handle hCam);
106typedef PEAK_API_STATUS (*dyn_peak_ExposureTime_GetRange)(peak_camera_handle hCam, double * minExposureTime_us, double * maxExposureTime_us, double * incExposureTime_us);
107typedef PEAK_API_STATUS (*dyn_peak_ExposureTime_Set)(peak_camera_handle hCam, double exposureTime_us);
108typedef PEAK_API_STATUS (*dyn_peak_ExposureTime_Get)(peak_camera_handle hCam, double * exposureTime_us);
109typedef PEAK_API_ACCESS_STATUS (*dyn_peak_PixelClock_GetAccessStatus)(peak_camera_handle hCam);
110typedef PEAK_API_BOOL (*dyn_peak_PixelClock_HasRange)(peak_camera_handle hCam);
111typedef PEAK_API_STATUS (*dyn_peak_PixelClock_GetRange)(peak_camera_handle hCam, double * minPixelClock_MHz, double * maxPixelClock_MHz, double * incPixelClock_MHz);
112typedef PEAK_API_STATUS (*dyn_peak_PixelClock_GetList)(peak_camera_handle hCam, double * pixelClockList, size_t * pixelClockCount);
113typedef PEAK_API_STATUS (*dyn_peak_PixelClock_Set)(peak_camera_handle hCam, double pixelClock_MHz);
114typedef PEAK_API_STATUS (*dyn_peak_PixelClock_Get)(peak_camera_handle hCam, double * pixelClock_MHz);
115typedef PEAK_API_ACCESS_STATUS (*dyn_peak_IOChannel_GetAccessStatus)(peak_camera_handle hCam, peak_io_channel ioChannel);
116typedef PEAK_API_STATUS (*dyn_peak_IOChannel_GetList)(peak_camera_handle hCam, peak_io_channel * ioChannelList, size_t * ioChannelCount);
117typedef PEAK_API_ACCESS_STATUS (*dyn_peak_IOChannel_Level_GetAccessStatus)(peak_camera_handle hCam, peak_io_channel ioChannel);
118typedef PEAK_API_BOOL (*dyn_peak_IOChannel_Level_IsHigh)(peak_camera_handle hCam, peak_io_channel ioChannel);
119typedef PEAK_API_ACCESS_STATUS (*dyn_peak_IOChannel_Inverter_GetAccessStatus)(peak_camera_handle hCam, peak_io_channel ioChannel);
120typedef PEAK_API_STATUS (*dyn_peak_IOChannel_Inverter_Enable)(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
121typedef PEAK_API_BOOL (*dyn_peak_IOChannel_Inverter_IsEnabled)(peak_camera_handle hCam, peak_io_channel ioChannel);
122typedef PEAK_API_ACCESS_STATUS (*dyn_peak_IOChannel_NoiseFilter_GetAccessStatus)(peak_camera_handle hCam, peak_io_channel ioChannel);
123typedef PEAK_API_STATUS (*dyn_peak_IOChannel_NoiseFilter_Enable)(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
124typedef PEAK_API_BOOL (*dyn_peak_IOChannel_NoiseFilter_IsEnabled)(peak_camera_handle hCam, peak_io_channel ioChannel);
125typedef PEAK_API_STATUS (*dyn_peak_IOChannel_NoiseFilter_Duration_GetRange)(peak_camera_handle hCam, peak_io_channel ioChannel, double * minNoiseFilterDuration_us, double * maxNoiseFilterDuration_us, double * incNoiseFilterDuration_us);
126typedef PEAK_API_STATUS (*dyn_peak_IOChannel_NoiseFilter_Duration_Set)(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us);
127typedef PEAK_API_STATUS (*dyn_peak_IOChannel_NoiseFilter_Duration_Get)(peak_camera_handle hCam, peak_io_channel ioChannel, double * noiseFilterDuration_us);
128typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_GetAccessStatus)(peak_camera_handle hCam);
129typedef PEAK_API_STATUS (*dyn_peak_Trigger_Enable)(peak_camera_handle hCam, peak_bool enabled);
130typedef PEAK_API_BOOL (*dyn_peak_Trigger_IsEnabled)(peak_camera_handle hCam);
131typedef PEAK_API_BOOL (*dyn_peak_Trigger_IsExecutable)(peak_camera_handle hCam);
132typedef PEAK_API_STATUS (*dyn_peak_Trigger_Execute)(peak_camera_handle hCam);
133typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_Mode_GetAccessStatus)(peak_camera_handle hCam, peak_trigger_mode triggerMode);
134typedef PEAK_API_STATUS (*dyn_peak_Trigger_Mode_Set)(peak_camera_handle hCam, peak_trigger_mode triggerMode);
135typedef PEAK_API_STATUS (*dyn_peak_Trigger_Mode_Get)(peak_camera_handle hCam, peak_trigger_mode * triggerMode);
136typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_Edge_GetAccessStatus)(peak_camera_handle hCam);
137typedef PEAK_API_STATUS (*dyn_peak_Trigger_Edge_GetList)(peak_camera_handle hCam, peak_trigger_edge * triggerEdgeList, size_t * triggerEdgeCount);
138typedef PEAK_API_STATUS (*dyn_peak_Trigger_Edge_Set)(peak_camera_handle hCam, peak_trigger_edge triggerEdge);
139typedef PEAK_API_STATUS (*dyn_peak_Trigger_Edge_Get)(peak_camera_handle hCam, peak_trigger_edge * triggerEdge);
140typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_Delay_GetAccessStatus)(peak_camera_handle hCam);
141typedef PEAK_API_STATUS (*dyn_peak_Trigger_Delay_GetRange)(peak_camera_handle hCam, double * minTriggerDelay_us, double * maxTriggerDelay_us, double * incTriggerDelay_us);
142typedef PEAK_API_STATUS (*dyn_peak_Trigger_Delay_Set)(peak_camera_handle hCam, double triggerDelay_us);
143typedef PEAK_API_STATUS (*dyn_peak_Trigger_Delay_Get)(peak_camera_handle hCam, double * triggerDelay_us);
144typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_Divider_GetAccessStatus)(peak_camera_handle hCam);
145typedef PEAK_API_STATUS (*dyn_peak_Trigger_Divider_GetRange)(peak_camera_handle hCam, uint32_t * minTriggerDivider, uint32_t * maxTriggerDivider, uint32_t * incTriggerDivider);
146typedef PEAK_API_STATUS (*dyn_peak_Trigger_Divider_Set)(peak_camera_handle hCam, uint32_t triggerDivider);
147typedef PEAK_API_STATUS (*dyn_peak_Trigger_Divider_Get)(peak_camera_handle hCam, uint32_t * triggerDivider);
148typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Trigger_Burst_GetAccessStatus)(peak_camera_handle hCam);
149typedef PEAK_API_STATUS (*dyn_peak_Trigger_Burst_GetRange)(peak_camera_handle hCam, uint32_t * minTriggerBurst, uint32_t * maxTriggerBurst, uint32_t * incTriggerBurst);
150typedef PEAK_API_STATUS (*dyn_peak_Trigger_Burst_Set)(peak_camera_handle hCam, uint32_t triggerBurst);
151typedef PEAK_API_STATUS (*dyn_peak_Trigger_Burst_Get)(peak_camera_handle hCam, uint32_t * triggerBurst);
152typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Flash_GetAccessStatus)(peak_camera_handle hCam);
153typedef PEAK_API_STATUS (*dyn_peak_Flash_Enable)(peak_camera_handle hCam, peak_bool enabled);
154typedef PEAK_API_BOOL (*dyn_peak_Flash_IsEnabled)(peak_camera_handle hCam);
155typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Flash_Mode_GetAccessStatus)(peak_camera_handle hCam, peak_flash_mode flashMode);
156typedef PEAK_API_STATUS (*dyn_peak_Flash_Mode_Set)(peak_camera_handle hCam, peak_flash_mode flashMode);
157typedef PEAK_API_STATUS (*dyn_peak_Flash_Mode_Get)(peak_camera_handle hCam, peak_flash_mode * flashMode);
158typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Flash_StartDelay_GetAccessStatus)(peak_camera_handle hCam);
159typedef PEAK_API_STATUS (*dyn_peak_Flash_StartDelay_GetRange)(peak_camera_handle hCam, double * minFlashStartDelay_us, double * maxFlashStartDelay_us, double * incFlashStartDelay_us);
160typedef PEAK_API_STATUS (*dyn_peak_Flash_StartDelay_Set)(peak_camera_handle hCam, double flashStartDelay_us);
161typedef PEAK_API_STATUS (*dyn_peak_Flash_StartDelay_Get)(peak_camera_handle hCam, double * flashStartDelay_us);
162typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Flash_EndDelay_GetAccessStatus)(peak_camera_handle hCam);
163typedef PEAK_API_STATUS (*dyn_peak_Flash_EndDelay_GetRange)(peak_camera_handle hCam, double * minFlashEndDelay_us, double * maxFlashEndDelay_us, double * incFlashEndDelay_us);
164typedef PEAK_API_STATUS (*dyn_peak_Flash_EndDelay_Set)(peak_camera_handle hCam, double flashEndDelay_us);
165typedef PEAK_API_STATUS (*dyn_peak_Flash_EndDelay_Get)(peak_camera_handle hCam, double * flashEndDelay_us);
166typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Flash_Duration_GetAccessStatus)(peak_camera_handle hCam);
167typedef PEAK_API_STATUS (*dyn_peak_Flash_Duration_GetRange)(peak_camera_handle hCam, double * minFlashDuration_us, double * maxFlashDuration_us, double * incFlashDuration_us);
168typedef PEAK_API_STATUS (*dyn_peak_Flash_Duration_Set)(peak_camera_handle hCam, double flashDuration_us);
169typedef PEAK_API_STATUS (*dyn_peak_Flash_Duration_Get)(peak_camera_handle hCam, double * flashDuration_us);
170typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Focus_GetAccessStatus)(peak_camera_handle hCam);
171typedef PEAK_API_STATUS (*dyn_peak_Focus_GetRange)(peak_camera_handle hCam, uint32_t * minFocus, uint32_t * maxFocus, uint32_t * incFocus);
172typedef PEAK_API_STATUS (*dyn_peak_Focus_Set)(peak_camera_handle hCam, uint32_t focus);
173typedef PEAK_API_STATUS (*dyn_peak_Focus_Get)(peak_camera_handle hCam, uint32_t * focus);
174typedef PEAK_API_ACCESS_STATUS (*dyn_peak_PixelFormat_GetAccessStatus)(peak_camera_handle hCam);
175typedef PEAK_API_STATUS (*dyn_peak_PixelFormat_GetList)(peak_camera_handle hCam, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
176typedef PEAK_API_STATUS (*dyn_peak_PixelFormat_Set)(peak_camera_handle hCam, peak_pixel_format pixelFormat);
177typedef PEAK_API_STATUS (*dyn_peak_PixelFormat_Get)(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
178typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Gain_GetAccessStatus)(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel);
179typedef PEAK_API_STATUS (*dyn_peak_Gain_GetChannelList)(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel * gainChannelList, size_t * gainChannelCount);
180typedef PEAK_API_STATUS (*dyn_peak_Gain_GetRange)(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain);
181typedef PEAK_API_STATUS (*dyn_peak_Gain_Set)(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain);
182typedef PEAK_API_STATUS (*dyn_peak_Gain_Get)(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * gain);
183typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Gamma_GetAccessStatus)(peak_camera_handle hCam);
184typedef PEAK_API_STATUS (*dyn_peak_Gamma_GetRange)(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
185typedef PEAK_API_STATUS (*dyn_peak_Gamma_Set)(peak_camera_handle hCam, double gamma);
186typedef PEAK_API_STATUS (*dyn_peak_Gamma_Get)(peak_camera_handle hCam, double * gamma);
187typedef PEAK_API_ACCESS_STATUS (*dyn_peak_ColorCorrection_GetAccessStatus)(peak_camera_handle hCam);
188typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Mode_GetList)(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionModeList, size_t * colorCorrectionModeCount);
189typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Mode_Set)(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode);
190typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Mode_Get)(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionMode);
191typedef PEAK_API_ACCESS_STATUS (*dyn_peak_ColorCorrection_Matrix_GetAccessStatus)(peak_camera_handle hCam);
192typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Matrix_GetRange)(peak_camera_handle hCam, double * minMatrixElementValue, double * maxMatrixElementValue, double * incMatrixElementValue);
193typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Matrix_Set)(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
194typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Matrix_Get)(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
195typedef PEAK_API_STATUS (*dyn_peak_ColorCorrection_Enable)(peak_camera_handle hCam, peak_bool enabled);
196typedef PEAK_API_BOOL (*dyn_peak_ColorCorrection_IsEnabled)(peak_camera_handle hCam);
197typedef PEAK_API_ACCESS_STATUS (*dyn_peak_AutoBrightness_GetAccessStatus)(peak_camera_handle hCam);
198typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Target_GetRange)(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
199typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Target_Set)(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
200typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Target_Get)(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
201typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetTolerance_GetRange)(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
202typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetTolerance_Set)(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
203typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetTolerance_Get)(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
204typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetPercentile_GetRange)(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
205typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetPercentile_Set)(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
206typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_TargetPercentile_Get)(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
207typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
208typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
209typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Offset_GetRange)(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
210typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Size_GetRange)(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
211typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Set)(peak_camera_handle hCam, peak_roi autoBrightnessROI);
212typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_ROI_Get)(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
213typedef PEAK_API_ACCESS_STATUS (*dyn_peak_AutoBrightness_Exposure_GetAccessStatus)(peak_camera_handle hCam);
214typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Exposure_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
215typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Exposure_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
216typedef PEAK_API_ACCESS_STATUS (*dyn_peak_AutoBrightness_Gain_GetAccessStatus)(peak_camera_handle hCam);
217typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Gain_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
218typedef PEAK_API_STATUS (*dyn_peak_AutoBrightness_Gain_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
219typedef PEAK_API_ACCESS_STATUS (*dyn_peak_AutoWhiteBalance_GetAccessStatus)(peak_camera_handle hCam);
220typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
221typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
222typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Offset_GetRange)(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
223typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Size_GetRange)(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
224typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Set)(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
225typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_ROI_Get)(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
226typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
227typedef PEAK_API_STATUS (*dyn_peak_AutoWhiteBalance_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
228typedef PEAK_API_ACCESS_STATUS (*dyn_peak_ROI_GetAccessStatus)(peak_camera_handle hCam);
229typedef PEAK_API_STATUS (*dyn_peak_ROI_Offset_GetRange)(peak_camera_handle hCam, peak_position * minROIOffset, peak_position * maxROIOffset, peak_position * incROIOffset);
230typedef PEAK_API_STATUS (*dyn_peak_ROI_Size_GetRange)(peak_camera_handle hCam, peak_size * minROISize, peak_size * maxROISize, peak_size * incROISize);
231typedef PEAK_API_STATUS (*dyn_peak_ROI_Set)(peak_camera_handle hCam, peak_roi roi);
232typedef PEAK_API_STATUS (*dyn_peak_ROI_Get)(peak_camera_handle hCam, peak_roi * roi);
233typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Binning_GetAccessStatus)(peak_camera_handle hCam);
234typedef PEAK_API_STATUS (*dyn_peak_Binning_FactorX_GetList)(peak_camera_handle hCam, uint32_t * binningFactorXList, size_t * binningFactorXCount);
235typedef PEAK_API_STATUS (*dyn_peak_Binning_FactorY_GetList)(peak_camera_handle hCam, uint32_t * binningFactorYList, size_t * binningFactorYCount);
236typedef PEAK_API_STATUS (*dyn_peak_Binning_Set)(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY);
237typedef PEAK_API_STATUS (*dyn_peak_Binning_Get)(peak_camera_handle hCam, uint32_t * binningFactorX, uint32_t * binningFactorY);
238typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Decimation_GetAccessStatus)(peak_camera_handle hCam);
239typedef PEAK_API_STATUS (*dyn_peak_Decimation_FactorX_GetList)(peak_camera_handle hCam, uint32_t * decimationFactorXList, size_t * decimationFactorXCount);
240typedef PEAK_API_STATUS (*dyn_peak_Decimation_FactorY_GetList)(peak_camera_handle hCam, uint32_t * decimationFactorYList, size_t * decimationFactorYCount);
241typedef PEAK_API_STATUS (*dyn_peak_Decimation_Set)(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY);
242typedef PEAK_API_STATUS (*dyn_peak_Decimation_Get)(peak_camera_handle hCam, uint32_t * decimationFactorX, uint32_t * decimationFactorY);
243typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Mirror_LeftRight_GetAccessStatus)(peak_camera_handle hCam);
244typedef PEAK_API_STATUS (*dyn_peak_Mirror_LeftRight_Enable)(peak_camera_handle hCam, peak_bool enabled);
245typedef PEAK_API_BOOL (*dyn_peak_Mirror_LeftRight_IsEnabled)(peak_camera_handle hCam);
246typedef PEAK_API_ACCESS_STATUS (*dyn_peak_Mirror_UpDown_GetAccessStatus)(peak_camera_handle hCam);
247typedef PEAK_API_STATUS (*dyn_peak_Mirror_UpDown_Enable)(peak_camera_handle hCam, peak_bool enabled);
248typedef PEAK_API_BOOL (*dyn_peak_Mirror_UpDown_IsEnabled)(peak_camera_handle hCam);
249typedef PEAK_API_ACCESS_STATUS (*dyn_peak_CameraMemory_Area_GetAccessStatus)(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
250typedef PEAK_API_STATUS (*dyn_peak_CameraMemory_Area_GetList)(peak_camera_handle hCam, peak_camera_memory_area * cameraMemoryAreaList, size_t * cameraMemoryAreaCount);
251typedef PEAK_API_STATUS (*dyn_peak_CameraMemory_Area_Size_Get)(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t * cameraMemoryAreaSize);
252typedef PEAK_API_STATUS (*dyn_peak_CameraMemory_Area_Data_Clear)(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
253typedef PEAK_API_STATUS (*dyn_peak_CameraMemory_Area_Data_Write)(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, const uint8_t * data, size_t dataSize);
254typedef PEAK_API_STATUS (*dyn_peak_CameraMemory_Area_Data_Read)(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, uint8_t * data, size_t dataSize);
255typedef PEAK_API_STATUS (*dyn_peak_GFA_EnableWriteAccess)(peak_camera_handle hCam, peak_bool enabled);
256typedef PEAK_API_BOOL (*dyn_peak_GFA_IsWriteAccessEnabled)(peak_camera_handle hCam);
257typedef PEAK_API_ACCESS_STATUS (*dyn_peak_GFA_Feature_GetAccessStatus)(peak_camera_handle hCam, peak_gfa_module module, const char * featureName);
258typedef PEAK_API_BOOL (*dyn_peak_GFA_Float_HasRange)(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName);
259typedef PEAK_API_STATUS (*dyn_peak_GFA_Float_GetRange)(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * minFloatValue, double * maxFloatValue, double * incFloatValue);
260typedef PEAK_API_STATUS (*dyn_peak_GFA_Float_GetList)(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatList, size_t * floatCount);
261typedef PEAK_API_STATUS (*dyn_peak_GFA_Float_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double floatValue);
262typedef PEAK_API_STATUS (*dyn_peak_GFA_Float_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatValue);
263typedef PEAK_API_BOOL (*dyn_peak_GFA_Integer_HasRange)(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName);
264typedef PEAK_API_STATUS (*dyn_peak_GFA_Integer_GetRange)(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * minIntegerValue, int64_t * maxIntegerValue, int64_t * incIntegerValue);
265typedef PEAK_API_STATUS (*dyn_peak_GFA_Integer_GetList)(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerList, size_t * integerCount);
266typedef PEAK_API_STATUS (*dyn_peak_GFA_Integer_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t integerValue);
267typedef PEAK_API_STATUS (*dyn_peak_GFA_Integer_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerValue);
268typedef PEAK_API_STATUS (*dyn_peak_GFA_Boolean_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool booleanValue);
269typedef PEAK_API_STATUS (*dyn_peak_GFA_Boolean_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool * booleanValue);
270typedef PEAK_API_STATUS (*dyn_peak_GFA_String_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, const char * stringValue);
271typedef PEAK_API_STATUS (*dyn_peak_GFA_String_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, char * stringValue, size_t * stringValueSize);
272typedef PEAK_API_STATUS (*dyn_peak_GFA_Command_Execute)(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName);
273typedef PEAK_API_STATUS (*dyn_peak_GFA_Command_WaitForDone)(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName, uint32_t timeout_ms);
274typedef PEAK_API_STATUS (*dyn_peak_GFA_Enumeration_GetList)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntryList, size_t * enumerationEntryCount);
275typedef PEAK_API_ACCESS_STATUS (*dyn_peak_GFA_EnumerationEntry_GetAccessStatus)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry);
276typedef PEAK_API_ACCESS_STATUS (*dyn_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
277typedef PEAK_API_ACCESS_STATUS (*dyn_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
278typedef PEAK_API_STATUS (*dyn_peak_GFA_Enumeration_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry);
279typedef PEAK_API_STATUS (*dyn_peak_GFA_Enumeration_SetBySymbolicValue)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
280typedef PEAK_API_STATUS (*dyn_peak_GFA_Enumeration_SetByIntegerValue)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
281typedef PEAK_API_STATUS (*dyn_peak_GFA_Enumeration_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntry);
282typedef PEAK_API_STATUS (*dyn_peak_GFA_Register_Set)(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, const uint8_t * registerValue, size_t registerValueSize);
283typedef PEAK_API_STATUS (*dyn_peak_GFA_Register_Get)(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, uint8_t * registerValue, size_t * registerValueSize);
284typedef PEAK_API_STATUS (*dyn_peak_GFA_Data_Write)(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, const uint8_t * data, size_t dataSize);
285typedef PEAK_API_STATUS (*dyn_peak_GFA_Data_Read)(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, uint8_t * data, size_t dataSize);
286typedef PEAK_API_STATUS (*dyn_peak_IPL_PixelFormat_GetList)(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format * outputPixelFormatList, size_t * outputPixelFormatCount);
287typedef PEAK_API_STATUS (*dyn_peak_IPL_PixelFormat_Set)(peak_camera_handle hCam, peak_pixel_format pixelFormat);
288typedef PEAK_API_STATUS (*dyn_peak_IPL_PixelFormat_Get)(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
289typedef PEAK_API_STATUS (*dyn_peak_IPL_Gain_GetRange)(peak_camera_handle hCam, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain);
290typedef PEAK_API_STATUS (*dyn_peak_IPL_Gain_Set)(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain);
291typedef PEAK_API_STATUS (*dyn_peak_IPL_Gain_Get)(peak_camera_handle hCam, peak_gain_channel gainChannel, double * gain);
292typedef PEAK_API_STATUS (*dyn_peak_IPL_Gamma_GetRange)(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
293typedef PEAK_API_STATUS (*dyn_peak_IPL_Gamma_Set)(peak_camera_handle hCam, double gamma);
294typedef PEAK_API_STATUS (*dyn_peak_IPL_Gamma_Get)(peak_camera_handle hCam, double * gamma);
295typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Matrix_Set)(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
296typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Matrix_Get)(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
297typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Saturation_Get)(peak_camera_handle hCam, double * saturation);
298typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Saturation_Set)(peak_camera_handle hCam, double saturation);
299typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Saturation_GetRange)(peak_camera_handle hCam, double * minSaturation, double * maxSaturation, double * incSaturation);
300typedef PEAK_API_STATUS (*dyn_peak_IPL_ColorCorrection_Enable)(peak_camera_handle hCam, peak_bool enabled);
301typedef PEAK_API_BOOL (*dyn_peak_IPL_ColorCorrection_IsEnabled)(peak_camera_handle hCam);
302typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Target_GetRange)(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
303typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Target_Set)(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
304typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Target_Get)(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
305typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetTolerance_GetRange)(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
306typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetTolerance_Set)(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
307typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetTolerance_Get)(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
308typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetPercentile_GetRange)(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
309typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetPercentile_Set)(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
310typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_TargetPercentile_Get)(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
311typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
312typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
313typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Offset_GetRange)(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
314typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Size_GetRange)(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
315typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Set)(peak_camera_handle hCam, peak_roi autoBrightnessROI);
316typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ROI_Get)(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
317typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Exposure_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
318typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Exposure_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
319typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ExposureLimit_Get)(peak_camera_handle hCam, peak_double_limit * exposureLimit);
320typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_ExposureLimit_Set)(peak_camera_handle hCam, peak_double_limit exposureLimit);
321typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Gain_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
322typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Gain_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
323typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
324typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
325typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
326typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
327typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
328typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
329typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainHost_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
330typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainHost_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
331typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Algorithm_Set)(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm algorithm);
332typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_Algorithm_Get)(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm * algorithm);
333typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_AverageLast_Get)(peak_camera_handle hCam, uint32_t * lastAverage);
334typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainLimit_Set)(peak_camera_handle hCam, peak_double_limit gainLimit);
335typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainLimit_Get)(peak_camera_handle hCam, peak_double_limit * gainLimit);
336typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainLimit_GetRange)(peak_camera_handle hCam, peak_double_limit * gainLimit);
337typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Set)(peak_camera_handle hCam, peak_double_limit gainLimit);
338typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Get)(peak_camera_handle hCam, peak_double_limit * gainLimit);
339typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange)(peak_camera_handle hCam, peak_double_limit * gainLimit);
340typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Set)(peak_camera_handle hCam, peak_double_limit gainLimit);
341typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Get)(peak_camera_handle hCam, peak_double_limit * gainLimit);
342typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange)(peak_camera_handle hCam, peak_double_limit * gainLimit);
343typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Set)(peak_camera_handle hCam, peak_double_limit gainLimit);
344typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Get)(peak_camera_handle hCam, peak_double_limit * gainLimit);
345typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange)(peak_camera_handle hCam, peak_double_limit * gainLimit);
346typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainHostLimit_Set)(peak_camera_handle hCam, peak_double_limit gainLimit);
347typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainHostLimit_Get)(peak_camera_handle hCam, peak_double_limit * gainLimit);
348typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_GainHostLimit_GetRange)(peak_camera_handle hCam, peak_double_limit * gainLimit);
349typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_SkipFrames_Set)(peak_camera_handle hCam, uint32_t skipFrames);
350typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_SkipFrames_Get)(peak_camera_handle hCam, uint32_t * skipFrames);
351typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoBrightness_SkipFrames_GetRange)(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc);
352typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
353typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
354typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange)(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
355typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange)(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
356typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Set)(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
357typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_ROI_Get)(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
358typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
359typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
360typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Set)(peak_camera_handle hCam, uint32_t skipFrames);
361typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Get)(peak_camera_handle hCam, uint32_t * skipFrames);
362typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange)(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc);
363typedef PEAK_API_ACCESS_STATUS (*dyn_peak_IPL_AutoFocus_GetAccessStatus)(peak_camera_handle hCam);
364typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_ROI_Set)(peak_camera_handle hCam, const peak_focus_roi * autoFocusROIList, size_t autoFocusROICount);
365typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_ROI_Get)(peak_camera_handle hCam, peak_focus_roi * autoFocusROIList, size_t * autoFocusROICount);
366typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Mode_Set)(peak_camera_handle hCam, peak_auto_feature_mode autoFocusMode);
367typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Mode_Get)(peak_camera_handle hCam, peak_auto_feature_mode * autoFocusMode);
368typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_SearchAlgorithm_Set)(peak_camera_handle hCam, peak_auto_focus_search_algorithm searchAlgorithm);
369typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_SearchAlgorithm_Get)(peak_camera_handle hCam, peak_auto_focus_search_algorithm * searchAlgorithm);
370typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Set)(peak_camera_handle hCam, peak_sharpness_algorithm sharpnessAlgorithm);
371typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Get)(peak_camera_handle hCam, peak_sharpness_algorithm * sharpnessAlgorithm);
372typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Range_Set)(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd);
373typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Range_Get)(peak_camera_handle hCam, uint32_t * rangeBegin, uint32_t * rangeEnd);
374typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Hysteresis_Set)(peak_camera_handle hCam, uint8_t hysteresis);
375typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Hysteresis_Get)(peak_camera_handle hCam, uint8_t * hysteresis);
376typedef PEAK_API_STATUS (*dyn_peak_IPL_AutoFocus_Hysteresis_GetRange)(peak_camera_handle hCam, uint8_t * minHysteresis, uint8_t * maxHysteresis, uint8_t * incHysteresis);
377typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_Sensitivity_Set)(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity);
378typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_Sensitivity_Get)(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity * hotpixelCorrectionSensitivity);
379typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_GetList)(peak_camera_handle hCam, peak_position * hotpixelList, size_t * hotpixelCount);
380typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_SetList)(peak_camera_handle hCam, const peak_position * hotpixelList, size_t hotpixelCount);
381typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_ResetList)(peak_camera_handle hCam);
382typedef PEAK_API_STATUS (*dyn_peak_IPL_HotpixelCorrection_Enable)(peak_camera_handle hCam, peak_bool enabled);
383typedef PEAK_API_BOOL (*dyn_peak_IPL_HotpixelCorrection_IsEnabled)(peak_camera_handle hCam);
384typedef PEAK_API_STATUS (*dyn_peak_IPL_Mirror_UpDown_Enable)(peak_camera_handle hCam, peak_bool enabled);
385typedef PEAK_API_BOOL (*dyn_peak_IPL_Mirror_UpDown_IsEnabled)(peak_camera_handle hCam);
386typedef PEAK_API_STATUS (*dyn_peak_IPL_Mirror_LeftRight_Enable)(peak_camera_handle hCam, peak_bool enabled);
387typedef PEAK_API_BOOL (*dyn_peak_IPL_Mirror_LeftRight_IsEnabled)(peak_camera_handle hCam);
388typedef PEAK_API_STATUS (*dyn_peak_IPL_ProcessFrame)(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle * hResultFrame);
389typedef PEAK_API_STATUS (*dyn_peak_IPL_ProcessFrameInplace)(peak_camera_handle hCam, peak_frame_handle hFrame);
390typedef PEAK_API_STATUS (*dyn_peak_IPL_EdgeEnhancement_Enable)(peak_camera_handle hCam, peak_bool enable);
391typedef PEAK_API_BOOL (*dyn_peak_IPL_EdgeEnhancement_IsEnabled)(peak_camera_handle hCam);
392typedef PEAK_API_STATUS (*dyn_peak_IPL_EdgeEnhancement_Factor_Set)(peak_camera_handle hCam, uint32_t factor);
393typedef PEAK_API_STATUS (*dyn_peak_IPL_EdgeEnhancement_Factor_Get)(peak_camera_handle hCam, uint32_t * factor);
394typedef PEAK_API_STATUS (*dyn_peak_IPL_EdgeEnhancement_Factor_GetDefault)(peak_camera_handle hCam, uint32_t * defaultFactor);
395typedef PEAK_API_STATUS (*dyn_peak_IPL_EdgeEnhancement_Factor_GetRange)(peak_camera_handle hCam, uint32_t * minFactor, uint32_t * maxFactor, uint32_t * incFactor);
396typedef PEAK_API_STATUS (*dyn_peak_IPL_Sharpness_Measure)(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double * calculatedValue);
397typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Open)(peak_video_handle * hVideo, const char * fileName, peak_video_container container, peak_video_encoder encoder);
398typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Close)(peak_video_handle hVideo);
399typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_AddFrame)(peak_video_handle hVideo, peak_frame_handle hFrame);
400typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Container_GetEncoderList)(peak_video_container container, peak_video_encoder * encoderList, size_t * encoderCount);
401typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Encoder_GetPixelFormatList)(peak_video_encoder encoder, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
402typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Encoder_GetContainerList)(peak_video_encoder encoder, peak_video_container * containerList, size_t * containerCount);
403typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_GetInfo)(peak_video_handle hVideo, peak_video_info * videoInfo);
404typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Container_Option_Set)(peak_video_handle hVideo, peak_video_container_option containerOption, const void * value, size_t count);
405typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Container_Option_Get)(peak_video_handle hVideo, peak_video_container_option containerOption, void * value, size_t count, size_t * outCount);
406typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Encoder_Option_Set)(peak_video_handle hVideo, peak_video_encoder_option encoderOption, const void * value, size_t count);
407typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_Encoder_Option_Get)(peak_video_handle hVideo, peak_video_encoder_option encoderOption, void * value, size_t count, size_t * outCount);
408typedef PEAK_API_STATUS (*dyn_peak_VideoWriter_WaitUntilQueueEmpty)(peak_video_handle hVideo, int32_t timeout_ms);
409typedef PEAK_API_STATUS (*dyn_peak_Inference_CNN_Open)(const char * path, peak_inference_handle * hInference);
410typedef PEAK_API_STATUS (*dyn_peak_Inference_CNN_Close)(peak_inference_handle hInference);
411typedef PEAK_API_STATUS (*dyn_peak_Inference_CNN_ProcessFrame)(peak_inference_handle hInference, peak_frame_handle hFrame, peak_inference_result_handle * hInferenceHandle);
412typedef PEAK_API_STATUS (*dyn_peak_Inference_CNN_Info_Get)(peak_inference_handle hInference, peak_inference_info * info);
413typedef PEAK_API_STATUS (*dyn_peak_Inference_Result_Get)(peak_inference_result_handle hInferenceHandle, peak_inference_result_data * result);
414typedef PEAK_API_STATUS (*dyn_peak_Inference_Result_Release)(peak_inference_result_handle hInferenceHandle);
415typedef PEAK_API_STATUS (*dyn_peak_Inference_Result_Classification_GetList)(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification * resultList, size_t * resultCount);
416typedef PEAK_API_STATUS (*dyn_peak_Inference_Result_Detection_GetList)(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection * resultList, size_t * resultCount);
417typedef PEAK_API_STATUS (*dyn_peak_Inference_Statistics_Get)(peak_inference_handle hInference, peak_inference_statistics * statistics);
418typedef PEAK_API_STATUS (*dyn_peak_Inference_Statistics_Reset)(peak_inference_handle hInference);
419typedef PEAK_API_STATUS (*dyn_peak_Inference_ConfidenceThreshold_Get)(peak_inference_handle hInference, uint32_t * threshold);
420typedef PEAK_API_STATUS (*dyn_peak_Inference_ConfidenceThreshold_GetRange)(peak_inference_handle hInference, uint32_t * minThreshold, uint32_t * maxThreshold, uint32_t * incThreshold);
421typedef PEAK_API_STATUS (*dyn_peak_Inference_ConfidenceThreshold_Set)(peak_inference_handle hInference, uint32_t threshold);
422typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Create)(peak_message_queue_handle * hMessageQueue);
423typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Destroy)(peak_message_queue_handle hMessageQueue);
424typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_EnableMessage)(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
425typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_DisableMessage)(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
426typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_EnableMessageList)(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize);
427typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_DisableMessageList)(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize);
428typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_EnabledMessages_GetList)(peak_message_queue_handle hMessageQueue, peak_message_type * messageTypesArray, size_t * messageTypesArraySize);
429typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_SetMode)(peak_message_queue_handle hMessageQueue, peak_message_queue_mode queueMode);
430typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_GetMode)(peak_message_queue_handle hMessageQueue, peak_message_queue_mode * queueMode);
431typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Start)(peak_message_queue_handle hMessageQueue);
432typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Stop)(peak_message_queue_handle hMessageQueue);
433typedef PEAK_API_BOOL (*dyn_peak_MessageQueue_IsStarted)(peak_message_queue_handle hMessageQueue);
434typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_WaitForMessage)(peak_message_queue_handle hMessageQueue, uint32_t timeout_ms, peak_message_handle * hMessage);
435typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Flush)(peak_message_queue_handle hMessageQueue);
436typedef PEAK_API_BOOL (*dyn_peak_MessageQueue_IsMessageSupported)(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
437typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Statistics_Get)(peak_message_queue_handle hMessageQueue, peak_message_queue_statistics_info * messageQueueInfo);
438typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_Statistics_Reset)(peak_message_queue_handle hMessageQueue);
439typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_MaxQueueSize_Set)(peak_message_queue_handle hMessageQueue, size_t messageQueueMaxSize);
440typedef PEAK_API_STATUS (*dyn_peak_MessageQueue_MaxQueueSize_Get)(peak_message_queue_handle hMessageQueue, size_t * messageQueueMaxSize);
441typedef PEAK_API_STATUS (*dyn_peak_Message_Release)(peak_message_handle hMessage);
442typedef PEAK_API_STATUS (*dyn_peak_Message_GetInfo)(peak_message_handle hMessage, peak_message_info * messageInfo);
443typedef PEAK_API_STATUS (*dyn_peak_Message_Type_Get)(peak_message_handle hMessage, peak_message_type * messageType);
444typedef PEAK_API_STATUS (*dyn_peak_Message_CameraHandle_Get)(peak_message_handle hMessage, peak_camera_handle * hCam);
445typedef PEAK_API_STATUS (*dyn_peak_Message_ID_Get)(peak_message_handle hMessage, uint64_t * messageID);
446typedef PEAK_API_STATUS (*dyn_peak_Message_HostTimestamp_Get)(peak_message_handle hMessage, uint64_t * hostTimestamp_ns);
447typedef PEAK_API_STATUS (*dyn_peak_Message_Data_Type_Get)(peak_message_handle hMessage, peak_message_data_type * messageType);
448typedef PEAK_API_STATUS (*dyn_peak_Message_Data_RemoteDevice_Get)(peak_message_handle hMessage, peak_message_data_remote_device * message);
449typedef PEAK_API_STATUS (*dyn_peak_Message_Data_RemoteDeviceError_Get)(peak_message_handle hMessage, peak_message_data_remote_device_error * message);
450typedef PEAK_API_STATUS (*dyn_peak_Message_Data_RemoteDeviceDropped_Get)(peak_message_handle hMessage, peak_message_data_remote_device_dropped * message);
451typedef PEAK_API_STATUS (*dyn_peak_Message_Data_RemoteDeviceFrame_Get)(peak_message_handle hMessage, peak_message_data_remote_device_frame * message);
452typedef PEAK_API_STATUS (*dyn_peak_Message_Data_RemoteDeviceTemperature_Get)(peak_message_handle hMessage, peak_message_data_remote_device_temperature * message);
453typedef PEAK_API_STATUS (*dyn_peak_Message_Data_AutoFocusData_Get)(peak_message_handle hMessage, peak_message_data_autofocus * message);
454typedef PEAK_API_STATUS (*dyn_peak_Message_Data_DeviceFound_Get)(peak_message_handle hMessage, peak_message_data_device_found * message);
455typedef PEAK_API_STATUS (*dyn_peak_Message_Data_DeviceLost_Get)(peak_message_handle hMessage, peak_message_data_device_lost * message);
456typedef PEAK_API_STATUS (*dyn_peak_Message_Data_DeviceReconnected_Get)(peak_message_handle hMessage, peak_message_data_device_reconnected * message);
457typedef PEAK_API_STATUS (*dyn_peak_Message_Data_DeviceDisconnected_Get)(peak_message_handle hMessage, peak_message_data_device_disconnected * message);
458typedef PEAK_API_STATUS (*dyn_peak_I2C_Create)(peak_camera_handle hCam, peak_i2c_handle * hI2C);
459typedef PEAK_API_STATUS (*dyn_peak_I2C_Destroy)(peak_i2c_handle hI2C);
460typedef PEAK_API_ACCESS_STATUS (*dyn_peak_I2C_GetAccessStatus)(peak_i2c_handle hI2C);
461typedef PEAK_API_STATUS (*dyn_peak_I2C_Mode_GetList)(peak_i2c_handle hI2C, peak_i2c_mode * modeList, size_t * modeListSize);
462typedef PEAK_API_STATUS (*dyn_peak_I2C_Mode_Set)(peak_i2c_handle hI2C, peak_i2c_mode mode);
463typedef PEAK_API_STATUS (*dyn_peak_I2C_Mode_Get)(peak_i2c_handle hI2C, peak_i2c_mode * mode);
464typedef PEAK_API_STATUS (*dyn_peak_I2C_DeviceAddress_GetRange)(peak_i2c_handle hI2C, uint32_t * minAddress, uint32_t * maxAddress);
465typedef PEAK_API_STATUS (*dyn_peak_I2C_DeviceAddress_Set)(peak_i2c_handle hI2C, uint32_t address);
466typedef PEAK_API_STATUS (*dyn_peak_I2C_DeviceAddress_Get)(peak_i2c_handle hI2C, uint32_t * address);
467typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Length_GetList)(peak_i2c_handle hI2C, peak_i2c_register_address_length * i2cLengthList, size_t * i2cLengthCount);
468typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Length_Set)(peak_i2c_handle hI2C, peak_i2c_register_address_length length);
469typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Length_Get)(peak_i2c_handle hI2C, peak_i2c_register_address_length * length);
470typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Endianness_Set)(peak_i2c_handle hI2C, peak_endianness endianness);
471typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Endianness_Get)(peak_i2c_handle hI2C, peak_endianness * endianness);
472typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Set)(peak_i2c_handle hI2C, uint32_t address);
473typedef PEAK_API_STATUS (*dyn_peak_I2C_RegisterAddress_Get)(peak_i2c_handle hI2C, uint32_t * address);
474typedef PEAK_API_STATUS (*dyn_peak_I2C_AckPolling_Enable)(peak_i2c_handle hI2C, peak_bool enabled);
475typedef PEAK_API_BOOL (*dyn_peak_I2C_AckPolling_IsEnabled)(peak_i2c_handle hI2C);
476typedef PEAK_API_ACCESS_STATUS (*dyn_peak_I2C_AckPolling_Timeout_GetAccessStatus)(peak_i2c_handle hI2C);
477typedef PEAK_API_STATUS (*dyn_peak_I2C_AckPolling_Timeout_GetRange)(peak_i2c_handle hI2C, uint32_t * minTimeout_ms, uint32_t * maxTimeout_ms, uint32_t * incTimeout_ms);
478typedef PEAK_API_STATUS (*dyn_peak_I2C_AckPolling_Timeout_Set)(peak_i2c_handle hI2C, uint32_t timeout_ms);
479typedef PEAK_API_STATUS (*dyn_peak_I2C_AckPolling_Timeout_Get)(peak_i2c_handle hI2C, uint32_t * timeout_ms);
480typedef PEAK_API_STATUS (*dyn_peak_I2C_Data_Write)(peak_i2c_handle hI2C, const uint8_t * data, size_t dataSize);
481typedef PEAK_API_STATUS (*dyn_peak_I2C_Data_Read)(peak_i2c_handle hI2C, size_t maxDataSize, uint8_t * data, size_t * dataSize);
482typedef PEAK_API_STATUS (*dyn_peak_I2C_Data_MaxSize_Get)(peak_i2c_handle hI2C, size_t * maxDataSize);
483typedef PEAK_API_STATUS (*dyn_peak_I2C_OperationStatus_Get)(peak_i2c_handle hI2C, peak_i2c_operation_status * operationStatus);
484
485
486class DynamicLoader
487{
488private:
489 DynamicLoader();
490
491 static DynamicLoader& instance()
492 {
493 static DynamicLoader dynamicLoader{};
494 return dynamicLoader;
495 }
496 bool loadLib(const char* file);
497 void unload();
498 bool setPointers(bool load);
499
500public:
501 ~DynamicLoader();
502
503 static bool isLoaded();
504
505 static PEAK_API_STATUS peak_Library_Init();
506 static PEAK_API_STATUS peak_Library_Exit();
507 static PEAK_API_STATUS peak_Library_GetVersion(uint32_t * majorVersion, uint32_t * minorVersion, uint32_t * subminorVersion, uint32_t * patchVersion);
508 static PEAK_API_STATUS peak_Library_GetLastError(peak_status * lastErrorCode, char * lastErrorMessage, size_t * lastErrorMessageSize);
510 static PEAK_API_STATUS peak_Reconnect_Enable(peak_interface_technology interfaceTech, peak_bool enabled);
511 static PEAK_API_BOOL peak_Reconnect_IsEnabled(peak_interface_technology interfaceTech);
512 static PEAK_API_ACCESS_STATUS peak_Reconnect_GetAccessStatus(peak_interface_technology interfaceTech);
513 static PEAK_API_STATUS peak_CameraList_Update(size_t * cameraCount);
514 static PEAK_API_STATUS peak_CameraList_Get(peak_camera_descriptor * cameraList, size_t * cameraCount);
515 static PEAK_API_CAMERA_ID peak_Camera_ID_FromHandle(peak_camera_handle hCam);
516 static PEAK_API_CAMERA_ID peak_Camera_ID_FromSerialNumber(const char * serialNumber);
517 static PEAK_API_CAMERA_ID peak_Camera_ID_FromUserDefinedName(const char * userDefinedName);
518 static PEAK_API_CAMERA_ID peak_Camera_ID_FromMAC(peak_mac_address macAddress);
519 static PEAK_API_ACCESS_STATUS peak_Camera_GetAccessStatus(peak_camera_id cameraID);
520 static PEAK_API_STATUS peak_Camera_GetDescriptor(peak_camera_id cameraID, peak_camera_descriptor * cameraDescriptor);
521 static PEAK_API_STATUS peak_Camera_Open(peak_camera_id cameraID, peak_camera_handle * hCam);
522 static PEAK_API_STATUS peak_Camera_OpenFirstAvailable(peak_camera_handle * hCam);
523 static PEAK_API_STATUS peak_Camera_Close(peak_camera_handle hCam);
524 static PEAK_API_STATUS peak_Camera_ResetToDefaultSettings(peak_camera_handle hCam);
525 static PEAK_API_STATUS peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char * userDefinedName);
526 static PEAK_API_STATUS peak_Camera_UserDefinedName_Get(peak_camera_handle hCam, char * userDefinedName, size_t * userDefinedNameSize);
527 static PEAK_API_BOOL peak_Camera_IsConnected(peak_camera_handle hCam);
528 static PEAK_API_STATUS peak_Camera_Reboot(peak_camera_handle hCam);
529 static PEAK_API_ACCESS_STATUS peak_EthernetConfig_GetAccessStatus(peak_camera_id cameraID);
530 static PEAK_API_STATUS peak_EthernetConfig_GetInfo(peak_camera_id cameraID, peak_ethernet_info * ethernetInfo);
531 static PEAK_API_ACCESS_STATUS peak_EthernetConfig_DHCP_GetAccessStatus(peak_camera_id cameraID);
532 static PEAK_API_STATUS peak_EthernetConfig_DHCP_Enable(peak_camera_id cameraID, peak_bool enabled);
533 static PEAK_API_BOOL peak_EthernetConfig_DHCP_IsEnabled(peak_camera_id cameraID);
534 static PEAK_API_ACCESS_STATUS peak_EthernetConfig_PersistentIP_GetAccessStatus(peak_camera_id cameraID);
535 static PEAK_API_STATUS peak_EthernetConfig_PersistentIP_Set(peak_camera_id cameraID, peak_ip_config persistentIP);
536 static PEAK_API_STATUS peak_EthernetConfig_PersistentIP_Get(peak_camera_id cameraID, peak_ip_config * persistentIP);
537 static PEAK_API_STATUS peak_Acquisition_Start(peak_camera_handle hCam, uint32_t numberOfFrames);
538 static PEAK_API_STATUS peak_Acquisition_Stop(peak_camera_handle hCam);
539 static PEAK_API_BOOL peak_Acquisition_IsStarted(peak_camera_handle hCam);
540 static PEAK_API_STATUS peak_Acquisition_WaitForFrame(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle * hFrame);
541 static PEAK_API_STATUS peak_Acquisition_GetInfo(peak_camera_handle hCam, peak_acquisition_info * acquisitionInfo);
542 static PEAK_API_STATUS peak_Acquisition_Buffer_GetRequiredSize(peak_camera_handle hCam, size_t * requiredBufferSize);
543 static PEAK_API_STATUS peak_Acquisition_Buffer_GetRequiredCount(peak_camera_handle hCam, size_t * requiredBufferCount);
544 static PEAK_API_STATUS peak_Acquisition_Buffer_Announce(peak_camera_handle hCam, uint8_t * memoryAddress, size_t memorySize, void * userContext);
545 static PEAK_API_STATUS peak_Acquisition_Buffer_Revoke(peak_camera_handle hCam, uint8_t * memoryAddress);
546 static PEAK_API_STATUS peak_Acquisition_Buffer_RevokeAll(peak_camera_handle hCam);
547 static PEAK_API_STATUS peak_PixelFormat_GetInfo(peak_pixel_format pixelFormat, peak_pixel_format_info * pixelFormatInfo);
548 static PEAK_API_STATUS peak_Frame_Release(peak_camera_handle hCam, peak_frame_handle hFrame);
549 static PEAK_API_STATUS peak_Frame_GetInfo(peak_frame_handle hFrame, peak_frame_info * frameInfo);
550 static PEAK_API_STATUS peak_Frame_Type_Get(peak_frame_handle hFrame, peak_frame_type * frameType);
551 static PEAK_API_STATUS peak_Frame_Buffer_Get(peak_frame_handle hFrame, peak_buffer * buffer);
552 static PEAK_API_STATUS peak_Frame_ID_Get(peak_frame_handle hFrame, uint64_t * frameID);
553 static PEAK_API_STATUS peak_Frame_Timestamp_Get(peak_frame_handle hFrame, uint64_t * timestamp_ns);
554 static PEAK_API_STATUS peak_Frame_ROI_Get(peak_frame_handle hFrame, peak_roi * roi);
555 static PEAK_API_STATUS peak_Frame_PixelFormat_Get(peak_frame_handle hFrame, peak_pixel_format * pixelFormat);
556 static PEAK_API_BOOL peak_Frame_IsComplete(peak_frame_handle hFrame);
557 static PEAK_API_STATUS peak_Frame_BytesExpected_Get(peak_frame_handle hFrame, size_t * bytesExpected);
558 static PEAK_API_STATUS peak_Frame_BytesWritten_Get(peak_frame_handle hFrame, size_t * bytesWritten);
559 static PEAK_API_STATUS peak_Frame_ProcessingTime_Get(peak_frame_handle hFrame, uint32_t * processingTime_ms);
560 static PEAK_API_ACCESS_STATUS peak_CameraSettings_ParameterSet_GetAccessStatus(peak_camera_handle hCam, peak_parameter_set parameterSet);
561 static PEAK_API_STATUS peak_CameraSettings_ParameterSet_GetList(peak_camera_handle hCam, peak_parameter_set * parameterSetList, size_t * parameterSetCount);
562 static PEAK_API_STATUS peak_CameraSettings_ParameterSet_Store(peak_camera_handle hCam, peak_parameter_set parameterSet);
563 static PEAK_API_STATUS peak_CameraSettings_ParameterSet_Apply(peak_camera_handle hCam, peak_parameter_set parameterSet);
567 static PEAK_API_ACCESS_STATUS peak_CameraSettings_DiskFile_GetAccessStatus(peak_camera_handle hCam);
568 static PEAK_API_STATUS peak_CameraSettings_DiskFile_Store(peak_camera_handle hCam, const char * file);
569 static PEAK_API_STATUS peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char * file);
570 static PEAK_API_ACCESS_STATUS peak_FrameRate_GetAccessStatus(peak_camera_handle hCam);
571 static PEAK_API_STATUS peak_FrameRate_GetRange(peak_camera_handle hCam, double * minFrameRate_fps, double * maxFrameRate_fps, double * incFrameRate_fps);
572 static PEAK_API_STATUS peak_FrameRate_Set(peak_camera_handle hCam, double frameRate_fps);
573 static PEAK_API_STATUS peak_FrameRate_Get(peak_camera_handle hCam, double * frameRate_fps);
574 static PEAK_API_ACCESS_STATUS peak_ExposureTime_GetAccessStatus(peak_camera_handle hCam);
575 static PEAK_API_STATUS peak_ExposureTime_GetRange(peak_camera_handle hCam, double * minExposureTime_us, double * maxExposureTime_us, double * incExposureTime_us);
576 static PEAK_API_STATUS peak_ExposureTime_Set(peak_camera_handle hCam, double exposureTime_us);
577 static PEAK_API_STATUS peak_ExposureTime_Get(peak_camera_handle hCam, double * exposureTime_us);
578 static PEAK_API_ACCESS_STATUS peak_PixelClock_GetAccessStatus(peak_camera_handle hCam);
579 static PEAK_API_BOOL peak_PixelClock_HasRange(peak_camera_handle hCam);
580 static PEAK_API_STATUS peak_PixelClock_GetRange(peak_camera_handle hCam, double * minPixelClock_MHz, double * maxPixelClock_MHz, double * incPixelClock_MHz);
581 static PEAK_API_STATUS peak_PixelClock_GetList(peak_camera_handle hCam, double * pixelClockList, size_t * pixelClockCount);
582 static PEAK_API_STATUS peak_PixelClock_Set(peak_camera_handle hCam, double pixelClock_MHz);
583 static PEAK_API_STATUS peak_PixelClock_Get(peak_camera_handle hCam, double * pixelClock_MHz);
584 static PEAK_API_ACCESS_STATUS peak_IOChannel_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
585 static PEAK_API_STATUS peak_IOChannel_GetList(peak_camera_handle hCam, peak_io_channel * ioChannelList, size_t * ioChannelCount);
586 static PEAK_API_ACCESS_STATUS peak_IOChannel_Level_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
587 static PEAK_API_BOOL peak_IOChannel_Level_IsHigh(peak_camera_handle hCam, peak_io_channel ioChannel);
588 static PEAK_API_ACCESS_STATUS peak_IOChannel_Inverter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
589 static PEAK_API_STATUS peak_IOChannel_Inverter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
590 static PEAK_API_BOOL peak_IOChannel_Inverter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel);
591 static PEAK_API_ACCESS_STATUS peak_IOChannel_NoiseFilter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
592 static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
593 static PEAK_API_BOOL peak_IOChannel_NoiseFilter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel);
594 static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Duration_GetRange(peak_camera_handle hCam, peak_io_channel ioChannel, double * minNoiseFilterDuration_us, double * maxNoiseFilterDuration_us, double * incNoiseFilterDuration_us);
595 static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Duration_Set(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us);
596 static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Duration_Get(peak_camera_handle hCam, peak_io_channel ioChannel, double * noiseFilterDuration_us);
597 static PEAK_API_ACCESS_STATUS peak_Trigger_GetAccessStatus(peak_camera_handle hCam);
598 static PEAK_API_STATUS peak_Trigger_Enable(peak_camera_handle hCam, peak_bool enabled);
599 static PEAK_API_BOOL peak_Trigger_IsEnabled(peak_camera_handle hCam);
600 static PEAK_API_BOOL peak_Trigger_IsExecutable(peak_camera_handle hCam);
601 static PEAK_API_STATUS peak_Trigger_Execute(peak_camera_handle hCam);
602 static PEAK_API_ACCESS_STATUS peak_Trigger_Mode_GetAccessStatus(peak_camera_handle hCam, peak_trigger_mode triggerMode);
603 static PEAK_API_STATUS peak_Trigger_Mode_Set(peak_camera_handle hCam, peak_trigger_mode triggerMode);
604 static PEAK_API_STATUS peak_Trigger_Mode_Get(peak_camera_handle hCam, peak_trigger_mode * triggerMode);
605 static PEAK_API_ACCESS_STATUS peak_Trigger_Edge_GetAccessStatus(peak_camera_handle hCam);
606 static PEAK_API_STATUS peak_Trigger_Edge_GetList(peak_camera_handle hCam, peak_trigger_edge * triggerEdgeList, size_t * triggerEdgeCount);
607 static PEAK_API_STATUS peak_Trigger_Edge_Set(peak_camera_handle hCam, peak_trigger_edge triggerEdge);
608 static PEAK_API_STATUS peak_Trigger_Edge_Get(peak_camera_handle hCam, peak_trigger_edge * triggerEdge);
609 static PEAK_API_ACCESS_STATUS peak_Trigger_Delay_GetAccessStatus(peak_camera_handle hCam);
610 static PEAK_API_STATUS peak_Trigger_Delay_GetRange(peak_camera_handle hCam, double * minTriggerDelay_us, double * maxTriggerDelay_us, double * incTriggerDelay_us);
611 static PEAK_API_STATUS peak_Trigger_Delay_Set(peak_camera_handle hCam, double triggerDelay_us);
612 static PEAK_API_STATUS peak_Trigger_Delay_Get(peak_camera_handle hCam, double * triggerDelay_us);
613 static PEAK_API_ACCESS_STATUS peak_Trigger_Divider_GetAccessStatus(peak_camera_handle hCam);
614 static PEAK_API_STATUS peak_Trigger_Divider_GetRange(peak_camera_handle hCam, uint32_t * minTriggerDivider, uint32_t * maxTriggerDivider, uint32_t * incTriggerDivider);
615 static PEAK_API_STATUS peak_Trigger_Divider_Set(peak_camera_handle hCam, uint32_t triggerDivider);
616 static PEAK_API_STATUS peak_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t * triggerDivider);
617 static PEAK_API_ACCESS_STATUS peak_Trigger_Burst_GetAccessStatus(peak_camera_handle hCam);
618 static PEAK_API_STATUS peak_Trigger_Burst_GetRange(peak_camera_handle hCam, uint32_t * minTriggerBurst, uint32_t * maxTriggerBurst, uint32_t * incTriggerBurst);
619 static PEAK_API_STATUS peak_Trigger_Burst_Set(peak_camera_handle hCam, uint32_t triggerBurst);
620 static PEAK_API_STATUS peak_Trigger_Burst_Get(peak_camera_handle hCam, uint32_t * triggerBurst);
621 static PEAK_API_ACCESS_STATUS peak_Flash_GetAccessStatus(peak_camera_handle hCam);
622 static PEAK_API_STATUS peak_Flash_Enable(peak_camera_handle hCam, peak_bool enabled);
623 static PEAK_API_BOOL peak_Flash_IsEnabled(peak_camera_handle hCam);
624 static PEAK_API_ACCESS_STATUS peak_Flash_Mode_GetAccessStatus(peak_camera_handle hCam, peak_flash_mode flashMode);
625 static PEAK_API_STATUS peak_Flash_Mode_Set(peak_camera_handle hCam, peak_flash_mode flashMode);
626 static PEAK_API_STATUS peak_Flash_Mode_Get(peak_camera_handle hCam, peak_flash_mode * flashMode);
627 static PEAK_API_ACCESS_STATUS peak_Flash_StartDelay_GetAccessStatus(peak_camera_handle hCam);
628 static PEAK_API_STATUS peak_Flash_StartDelay_GetRange(peak_camera_handle hCam, double * minFlashStartDelay_us, double * maxFlashStartDelay_us, double * incFlashStartDelay_us);
629 static PEAK_API_STATUS peak_Flash_StartDelay_Set(peak_camera_handle hCam, double flashStartDelay_us);
630 static PEAK_API_STATUS peak_Flash_StartDelay_Get(peak_camera_handle hCam, double * flashStartDelay_us);
631 static PEAK_API_ACCESS_STATUS peak_Flash_EndDelay_GetAccessStatus(peak_camera_handle hCam);
632 static PEAK_API_STATUS peak_Flash_EndDelay_GetRange(peak_camera_handle hCam, double * minFlashEndDelay_us, double * maxFlashEndDelay_us, double * incFlashEndDelay_us);
633 static PEAK_API_STATUS peak_Flash_EndDelay_Set(peak_camera_handle hCam, double flashEndDelay_us);
634 static PEAK_API_STATUS peak_Flash_EndDelay_Get(peak_camera_handle hCam, double * flashEndDelay_us);
635 static PEAK_API_ACCESS_STATUS peak_Flash_Duration_GetAccessStatus(peak_camera_handle hCam);
636 static PEAK_API_STATUS peak_Flash_Duration_GetRange(peak_camera_handle hCam, double * minFlashDuration_us, double * maxFlashDuration_us, double * incFlashDuration_us);
637 static PEAK_API_STATUS peak_Flash_Duration_Set(peak_camera_handle hCam, double flashDuration_us);
638 static PEAK_API_STATUS peak_Flash_Duration_Get(peak_camera_handle hCam, double * flashDuration_us);
639 static PEAK_API_ACCESS_STATUS peak_Focus_GetAccessStatus(peak_camera_handle hCam);
640 static PEAK_API_STATUS peak_Focus_GetRange(peak_camera_handle hCam, uint32_t * minFocus, uint32_t * maxFocus, uint32_t * incFocus);
641 static PEAK_API_STATUS peak_Focus_Set(peak_camera_handle hCam, uint32_t focus);
642 static PEAK_API_STATUS peak_Focus_Get(peak_camera_handle hCam, uint32_t * focus);
643 static PEAK_API_ACCESS_STATUS peak_PixelFormat_GetAccessStatus(peak_camera_handle hCam);
644 static PEAK_API_STATUS peak_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
645 static PEAK_API_STATUS peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat);
646 static PEAK_API_STATUS peak_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
647 static PEAK_API_ACCESS_STATUS peak_Gain_GetAccessStatus(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel);
648 static PEAK_API_STATUS peak_Gain_GetChannelList(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel * gainChannelList, size_t * gainChannelCount);
649 static PEAK_API_STATUS peak_Gain_GetRange(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain);
650 static PEAK_API_STATUS peak_Gain_Set(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain);
651 static PEAK_API_STATUS peak_Gain_Get(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * gain);
652 static PEAK_API_ACCESS_STATUS peak_Gamma_GetAccessStatus(peak_camera_handle hCam);
653 static PEAK_API_STATUS peak_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
654 static PEAK_API_STATUS peak_Gamma_Set(peak_camera_handle hCam, double gamma);
655 static PEAK_API_STATUS peak_Gamma_Get(peak_camera_handle hCam, double * gamma);
656 static PEAK_API_ACCESS_STATUS peak_ColorCorrection_GetAccessStatus(peak_camera_handle hCam);
657 static PEAK_API_STATUS peak_ColorCorrection_Mode_GetList(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionModeList, size_t * colorCorrectionModeCount);
658 static PEAK_API_STATUS peak_ColorCorrection_Mode_Set(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode);
659 static PEAK_API_STATUS peak_ColorCorrection_Mode_Get(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionMode);
660 static PEAK_API_ACCESS_STATUS peak_ColorCorrection_Matrix_GetAccessStatus(peak_camera_handle hCam);
661 static PEAK_API_STATUS peak_ColorCorrection_Matrix_GetRange(peak_camera_handle hCam, double * minMatrixElementValue, double * maxMatrixElementValue, double * incMatrixElementValue);
662 static PEAK_API_STATUS peak_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
663 static PEAK_API_STATUS peak_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
664 static PEAK_API_STATUS peak_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
665 static PEAK_API_BOOL peak_ColorCorrection_IsEnabled(peak_camera_handle hCam);
666 static PEAK_API_ACCESS_STATUS peak_AutoBrightness_GetAccessStatus(peak_camera_handle hCam);
667 static PEAK_API_STATUS peak_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
668 static PEAK_API_STATUS peak_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
669 static PEAK_API_STATUS peak_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
670 static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
671 static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
672 static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
673 static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
674 static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
675 static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
676 static PEAK_API_STATUS peak_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
677 static PEAK_API_STATUS peak_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
678 static PEAK_API_STATUS peak_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
679 static PEAK_API_STATUS peak_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
680 static PEAK_API_STATUS peak_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI);
681 static PEAK_API_STATUS peak_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
682 static PEAK_API_ACCESS_STATUS peak_AutoBrightness_Exposure_GetAccessStatus(peak_camera_handle hCam);
683 static PEAK_API_STATUS peak_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
684 static PEAK_API_STATUS peak_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
685 static PEAK_API_ACCESS_STATUS peak_AutoBrightness_Gain_GetAccessStatus(peak_camera_handle hCam);
686 static PEAK_API_STATUS peak_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
687 static PEAK_API_STATUS peak_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
688 static PEAK_API_ACCESS_STATUS peak_AutoWhiteBalance_GetAccessStatus(peak_camera_handle hCam);
689 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
690 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
691 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
692 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
693 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
694 static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
695 static PEAK_API_STATUS peak_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
696 static PEAK_API_STATUS peak_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
697 static PEAK_API_ACCESS_STATUS peak_ROI_GetAccessStatus(peak_camera_handle hCam);
698 static PEAK_API_STATUS peak_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minROIOffset, peak_position * maxROIOffset, peak_position * incROIOffset);
699 static PEAK_API_STATUS peak_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minROISize, peak_size * maxROISize, peak_size * incROISize);
700 static PEAK_API_STATUS peak_ROI_Set(peak_camera_handle hCam, peak_roi roi);
701 static PEAK_API_STATUS peak_ROI_Get(peak_camera_handle hCam, peak_roi * roi);
702 static PEAK_API_ACCESS_STATUS peak_Binning_GetAccessStatus(peak_camera_handle hCam);
703 static PEAK_API_STATUS peak_Binning_FactorX_GetList(peak_camera_handle hCam, uint32_t * binningFactorXList, size_t * binningFactorXCount);
704 static PEAK_API_STATUS peak_Binning_FactorY_GetList(peak_camera_handle hCam, uint32_t * binningFactorYList, size_t * binningFactorYCount);
705 static PEAK_API_STATUS peak_Binning_Set(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY);
706 static PEAK_API_STATUS peak_Binning_Get(peak_camera_handle hCam, uint32_t * binningFactorX, uint32_t * binningFactorY);
707 static PEAK_API_ACCESS_STATUS peak_Decimation_GetAccessStatus(peak_camera_handle hCam);
708 static PEAK_API_STATUS peak_Decimation_FactorX_GetList(peak_camera_handle hCam, uint32_t * decimationFactorXList, size_t * decimationFactorXCount);
709 static PEAK_API_STATUS peak_Decimation_FactorY_GetList(peak_camera_handle hCam, uint32_t * decimationFactorYList, size_t * decimationFactorYCount);
710 static PEAK_API_STATUS peak_Decimation_Set(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY);
711 static PEAK_API_STATUS peak_Decimation_Get(peak_camera_handle hCam, uint32_t * decimationFactorX, uint32_t * decimationFactorY);
712 static PEAK_API_ACCESS_STATUS peak_Mirror_LeftRight_GetAccessStatus(peak_camera_handle hCam);
713 static PEAK_API_STATUS peak_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled);
714 static PEAK_API_BOOL peak_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam);
715 static PEAK_API_ACCESS_STATUS peak_Mirror_UpDown_GetAccessStatus(peak_camera_handle hCam);
716 static PEAK_API_STATUS peak_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled);
717 static PEAK_API_BOOL peak_Mirror_UpDown_IsEnabled(peak_camera_handle hCam);
718 static PEAK_API_ACCESS_STATUS peak_CameraMemory_Area_GetAccessStatus(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
719 static PEAK_API_STATUS peak_CameraMemory_Area_GetList(peak_camera_handle hCam, peak_camera_memory_area * cameraMemoryAreaList, size_t * cameraMemoryAreaCount);
720 static PEAK_API_STATUS peak_CameraMemory_Area_Size_Get(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t * cameraMemoryAreaSize);
721 static PEAK_API_STATUS peak_CameraMemory_Area_Data_Clear(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
722 static PEAK_API_STATUS peak_CameraMemory_Area_Data_Write(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, const uint8_t * data, size_t dataSize);
723 static PEAK_API_STATUS peak_CameraMemory_Area_Data_Read(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, uint8_t * data, size_t dataSize);
724 static PEAK_API_STATUS peak_GFA_EnableWriteAccess(peak_camera_handle hCam, peak_bool enabled);
725 static PEAK_API_BOOL peak_GFA_IsWriteAccessEnabled(peak_camera_handle hCam);
726 static PEAK_API_ACCESS_STATUS peak_GFA_Feature_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * featureName);
727 static PEAK_API_BOOL peak_GFA_Float_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName);
728 static PEAK_API_STATUS peak_GFA_Float_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * minFloatValue, double * maxFloatValue, double * incFloatValue);
729 static PEAK_API_STATUS peak_GFA_Float_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatList, size_t * floatCount);
730 static PEAK_API_STATUS peak_GFA_Float_Set(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double floatValue);
731 static PEAK_API_STATUS peak_GFA_Float_Get(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatValue);
732 static PEAK_API_BOOL peak_GFA_Integer_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName);
733 static PEAK_API_STATUS peak_GFA_Integer_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * minIntegerValue, int64_t * maxIntegerValue, int64_t * incIntegerValue);
734 static PEAK_API_STATUS peak_GFA_Integer_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerList, size_t * integerCount);
735 static PEAK_API_STATUS peak_GFA_Integer_Set(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t integerValue);
736 static PEAK_API_STATUS peak_GFA_Integer_Get(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerValue);
737 static PEAK_API_STATUS peak_GFA_Boolean_Set(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool booleanValue);
738 static PEAK_API_STATUS peak_GFA_Boolean_Get(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool * booleanValue);
739 static PEAK_API_STATUS peak_GFA_String_Set(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, const char * stringValue);
740 static PEAK_API_STATUS peak_GFA_String_Get(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, char * stringValue, size_t * stringValueSize);
741 static PEAK_API_STATUS peak_GFA_Command_Execute(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName);
742 static PEAK_API_STATUS peak_GFA_Command_WaitForDone(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName, uint32_t timeout_ms);
743 static PEAK_API_STATUS peak_GFA_Enumeration_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntryList, size_t * enumerationEntryCount);
744 static PEAK_API_ACCESS_STATUS peak_GFA_EnumerationEntry_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry);
745 static PEAK_API_ACCESS_STATUS peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
746 static PEAK_API_ACCESS_STATUS peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
747 static PEAK_API_STATUS peak_GFA_Enumeration_Set(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry);
748 static PEAK_API_STATUS peak_GFA_Enumeration_SetBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
749 static PEAK_API_STATUS peak_GFA_Enumeration_SetByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
750 static PEAK_API_STATUS peak_GFA_Enumeration_Get(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntry);
751 static PEAK_API_STATUS peak_GFA_Register_Set(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, const uint8_t * registerValue, size_t registerValueSize);
752 static PEAK_API_STATUS peak_GFA_Register_Get(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, uint8_t * registerValue, size_t * registerValueSize);
753 static PEAK_API_STATUS peak_GFA_Data_Write(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, const uint8_t * data, size_t dataSize);
754 static PEAK_API_STATUS peak_GFA_Data_Read(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, uint8_t * data, size_t dataSize);
755 static PEAK_API_STATUS peak_IPL_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format * outputPixelFormatList, size_t * outputPixelFormatCount);
756 static PEAK_API_STATUS peak_IPL_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat);
757 static PEAK_API_STATUS peak_IPL_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
758 static PEAK_API_STATUS peak_IPL_Gain_GetRange(peak_camera_handle hCam, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain);
759 static PEAK_API_STATUS peak_IPL_Gain_Set(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain);
760 static PEAK_API_STATUS peak_IPL_Gain_Get(peak_camera_handle hCam, peak_gain_channel gainChannel, double * gain);
761 static PEAK_API_STATUS peak_IPL_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
762 static PEAK_API_STATUS peak_IPL_Gamma_Set(peak_camera_handle hCam, double gamma);
763 static PEAK_API_STATUS peak_IPL_Gamma_Get(peak_camera_handle hCam, double * gamma);
764 static PEAK_API_STATUS peak_IPL_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
765 static PEAK_API_STATUS peak_IPL_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
766 static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_Get(peak_camera_handle hCam, double * saturation);
767 static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_Set(peak_camera_handle hCam, double saturation);
768 static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_GetRange(peak_camera_handle hCam, double * minSaturation, double * maxSaturation, double * incSaturation);
769 static PEAK_API_STATUS peak_IPL_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
771 static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
772 static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
773 static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
774 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
775 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
776 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
777 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
778 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
779 static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
780 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
781 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
782 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
783 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
784 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI);
785 static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
786 static PEAK_API_STATUS peak_IPL_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
787 static PEAK_API_STATUS peak_IPL_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
788 static PEAK_API_STATUS peak_IPL_AutoBrightness_ExposureLimit_Get(peak_camera_handle hCam, peak_double_limit * exposureLimit);
789 static PEAK_API_STATUS peak_IPL_AutoBrightness_ExposureLimit_Set(peak_camera_handle hCam, peak_double_limit exposureLimit);
791 static PEAK_API_STATUS peak_IPL_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
802 static PEAK_API_STATUS peak_IPL_AutoBrightness_AverageLast_Get(peak_camera_handle hCam, uint32_t * lastAverage);
803 static PEAK_API_STATUS peak_IPL_AutoBrightness_GainLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit);
804 static PEAK_API_STATUS peak_IPL_AutoBrightness_GainLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit);
818 static PEAK_API_STATUS peak_IPL_AutoBrightness_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames);
819 static PEAK_API_STATUS peak_IPL_AutoBrightness_SkipFrames_Get(peak_camera_handle hCam, uint32_t * skipFrames);
820 static PEAK_API_STATUS peak_IPL_AutoBrightness_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc);
821 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
822 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
823 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
824 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
825 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
826 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
827 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
828 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
829 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames);
830 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_SkipFrames_Get(peak_camera_handle hCam, uint32_t * skipFrames);
831 static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc);
832 static PEAK_API_ACCESS_STATUS peak_IPL_AutoFocus_GetAccessStatus(peak_camera_handle hCam);
833 static PEAK_API_STATUS peak_IPL_AutoFocus_ROI_Set(peak_camera_handle hCam, const peak_focus_roi * autoFocusROIList, size_t autoFocusROICount);
834 static PEAK_API_STATUS peak_IPL_AutoFocus_ROI_Get(peak_camera_handle hCam, peak_focus_roi * autoFocusROIList, size_t * autoFocusROICount);
835 static PEAK_API_STATUS peak_IPL_AutoFocus_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoFocusMode);
836 static PEAK_API_STATUS peak_IPL_AutoFocus_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoFocusMode);
839 static PEAK_API_STATUS peak_IPL_AutoFocus_SharpnessAlgorithm_Set(peak_camera_handle hCam, peak_sharpness_algorithm sharpnessAlgorithm);
840 static PEAK_API_STATUS peak_IPL_AutoFocus_SharpnessAlgorithm_Get(peak_camera_handle hCam, peak_sharpness_algorithm * sharpnessAlgorithm);
841 static PEAK_API_STATUS peak_IPL_AutoFocus_Range_Set(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd);
842 static PEAK_API_STATUS peak_IPL_AutoFocus_Range_Get(peak_camera_handle hCam, uint32_t * rangeBegin, uint32_t * rangeEnd);
843 static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_Set(peak_camera_handle hCam, uint8_t hysteresis);
844 static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_Get(peak_camera_handle hCam, uint8_t * hysteresis);
845 static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_GetRange(peak_camera_handle hCam, uint8_t * minHysteresis, uint8_t * maxHysteresis, uint8_t * incHysteresis);
846 static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Sensitivity_Set(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity);
847 static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Sensitivity_Get(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity * hotpixelCorrectionSensitivity);
848 static PEAK_API_STATUS peak_IPL_HotpixelCorrection_GetList(peak_camera_handle hCam, peak_position * hotpixelList, size_t * hotpixelCount);
849 static PEAK_API_STATUS peak_IPL_HotpixelCorrection_SetList(peak_camera_handle hCam, const peak_position * hotpixelList, size_t hotpixelCount);
851 static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
853 static PEAK_API_STATUS peak_IPL_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled);
854 static PEAK_API_BOOL peak_IPL_Mirror_UpDown_IsEnabled(peak_camera_handle hCam);
855 static PEAK_API_STATUS peak_IPL_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled);
857 static PEAK_API_STATUS peak_IPL_ProcessFrame(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle * hResultFrame);
858 static PEAK_API_STATUS peak_IPL_ProcessFrameInplace(peak_camera_handle hCam, peak_frame_handle hFrame);
859 static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Enable(peak_camera_handle hCam, peak_bool enable);
861 static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_Set(peak_camera_handle hCam, uint32_t factor);
862 static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_Get(peak_camera_handle hCam, uint32_t * factor);
863 static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_GetDefault(peak_camera_handle hCam, uint32_t * defaultFactor);
864 static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_GetRange(peak_camera_handle hCam, uint32_t * minFactor, uint32_t * maxFactor, uint32_t * incFactor);
865 static PEAK_API_STATUS peak_IPL_Sharpness_Measure(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double * calculatedValue);
866 static PEAK_API_STATUS peak_VideoWriter_Open(peak_video_handle * hVideo, const char * fileName, peak_video_container container, peak_video_encoder encoder);
867 static PEAK_API_STATUS peak_VideoWriter_Close(peak_video_handle hVideo);
868 static PEAK_API_STATUS peak_VideoWriter_AddFrame(peak_video_handle hVideo, peak_frame_handle hFrame);
869 static PEAK_API_STATUS peak_VideoWriter_Container_GetEncoderList(peak_video_container container, peak_video_encoder * encoderList, size_t * encoderCount);
870 static PEAK_API_STATUS peak_VideoWriter_Encoder_GetPixelFormatList(peak_video_encoder encoder, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
871 static PEAK_API_STATUS peak_VideoWriter_Encoder_GetContainerList(peak_video_encoder encoder, peak_video_container * containerList, size_t * containerCount);
872 static PEAK_API_STATUS peak_VideoWriter_GetInfo(peak_video_handle hVideo, peak_video_info * videoInfo);
873 static PEAK_API_STATUS peak_VideoWriter_Container_Option_Set(peak_video_handle hVideo, peak_video_container_option containerOption, const void * value, size_t count);
874 static PEAK_API_STATUS peak_VideoWriter_Container_Option_Get(peak_video_handle hVideo, peak_video_container_option containerOption, void * value, size_t count, size_t * outCount);
875 static PEAK_API_STATUS peak_VideoWriter_Encoder_Option_Set(peak_video_handle hVideo, peak_video_encoder_option encoderOption, const void * value, size_t count);
876 static PEAK_API_STATUS peak_VideoWriter_Encoder_Option_Get(peak_video_handle hVideo, peak_video_encoder_option encoderOption, void * value, size_t count, size_t * outCount);
877 static PEAK_API_STATUS peak_VideoWriter_WaitUntilQueueEmpty(peak_video_handle hVideo, int32_t timeout_ms);
878 static PEAK_API_STATUS peak_Inference_CNN_Open(const char * path, peak_inference_handle * hInference);
879 static PEAK_API_STATUS peak_Inference_CNN_Close(peak_inference_handle hInference);
880 static PEAK_API_STATUS peak_Inference_CNN_ProcessFrame(peak_inference_handle hInference, peak_frame_handle hFrame, peak_inference_result_handle * hInferenceHandle);
881 static PEAK_API_STATUS peak_Inference_CNN_Info_Get(peak_inference_handle hInference, peak_inference_info * info);
882 static PEAK_API_STATUS peak_Inference_Result_Get(peak_inference_result_handle hInferenceHandle, peak_inference_result_data * result);
883 static PEAK_API_STATUS peak_Inference_Result_Release(peak_inference_result_handle hInferenceHandle);
884 static PEAK_API_STATUS peak_Inference_Result_Classification_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification * resultList, size_t * resultCount);
885 static PEAK_API_STATUS peak_Inference_Result_Detection_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection * resultList, size_t * resultCount);
886 static PEAK_API_STATUS peak_Inference_Statistics_Get(peak_inference_handle hInference, peak_inference_statistics * statistics);
887 static PEAK_API_STATUS peak_Inference_Statistics_Reset(peak_inference_handle hInference);
888 static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_Get(peak_inference_handle hInference, uint32_t * threshold);
889 static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_GetRange(peak_inference_handle hInference, uint32_t * minThreshold, uint32_t * maxThreshold, uint32_t * incThreshold);
890 static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_Set(peak_inference_handle hInference, uint32_t threshold);
891 static PEAK_API_STATUS peak_MessageQueue_Create(peak_message_queue_handle * hMessageQueue);
892 static PEAK_API_STATUS peak_MessageQueue_Destroy(peak_message_queue_handle hMessageQueue);
893 static PEAK_API_STATUS peak_MessageQueue_EnableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
894 static PEAK_API_STATUS peak_MessageQueue_DisableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
895 static PEAK_API_STATUS peak_MessageQueue_EnableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize);
896 static PEAK_API_STATUS peak_MessageQueue_DisableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize);
897 static PEAK_API_STATUS peak_MessageQueue_EnabledMessages_GetList(peak_message_queue_handle hMessageQueue, peak_message_type * messageTypesArray, size_t * messageTypesArraySize);
898 static PEAK_API_STATUS peak_MessageQueue_SetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode queueMode);
899 static PEAK_API_STATUS peak_MessageQueue_GetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode * queueMode);
900 static PEAK_API_STATUS peak_MessageQueue_Start(peak_message_queue_handle hMessageQueue);
901 static PEAK_API_STATUS peak_MessageQueue_Stop(peak_message_queue_handle hMessageQueue);
902 static PEAK_API_BOOL peak_MessageQueue_IsStarted(peak_message_queue_handle hMessageQueue);
903 static PEAK_API_STATUS peak_MessageQueue_WaitForMessage(peak_message_queue_handle hMessageQueue, uint32_t timeout_ms, peak_message_handle * hMessage);
904 static PEAK_API_STATUS peak_MessageQueue_Flush(peak_message_queue_handle hMessageQueue);
905 static PEAK_API_BOOL peak_MessageQueue_IsMessageSupported(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType);
906 static PEAK_API_STATUS peak_MessageQueue_Statistics_Get(peak_message_queue_handle hMessageQueue, peak_message_queue_statistics_info * messageQueueInfo);
907 static PEAK_API_STATUS peak_MessageQueue_Statistics_Reset(peak_message_queue_handle hMessageQueue);
908 static PEAK_API_STATUS peak_MessageQueue_MaxQueueSize_Set(peak_message_queue_handle hMessageQueue, size_t messageQueueMaxSize);
909 static PEAK_API_STATUS peak_MessageQueue_MaxQueueSize_Get(peak_message_queue_handle hMessageQueue, size_t * messageQueueMaxSize);
910 static PEAK_API_STATUS peak_Message_Release(peak_message_handle hMessage);
911 static PEAK_API_STATUS peak_Message_GetInfo(peak_message_handle hMessage, peak_message_info * messageInfo);
912 static PEAK_API_STATUS peak_Message_Type_Get(peak_message_handle hMessage, peak_message_type * messageType);
913 static PEAK_API_STATUS peak_Message_CameraHandle_Get(peak_message_handle hMessage, peak_camera_handle * hCam);
914 static PEAK_API_STATUS peak_Message_ID_Get(peak_message_handle hMessage, uint64_t * messageID);
915 static PEAK_API_STATUS peak_Message_HostTimestamp_Get(peak_message_handle hMessage, uint64_t * hostTimestamp_ns);
916 static PEAK_API_STATUS peak_Message_Data_Type_Get(peak_message_handle hMessage, peak_message_data_type * messageType);
927 static PEAK_API_STATUS peak_I2C_Create(peak_camera_handle hCam, peak_i2c_handle * hI2C);
928 static PEAK_API_STATUS peak_I2C_Destroy(peak_i2c_handle hI2C);
929 static PEAK_API_ACCESS_STATUS peak_I2C_GetAccessStatus(peak_i2c_handle hI2C);
930 static PEAK_API_STATUS peak_I2C_Mode_GetList(peak_i2c_handle hI2C, peak_i2c_mode * modeList, size_t * modeListSize);
931 static PEAK_API_STATUS peak_I2C_Mode_Set(peak_i2c_handle hI2C, peak_i2c_mode mode);
932 static PEAK_API_STATUS peak_I2C_Mode_Get(peak_i2c_handle hI2C, peak_i2c_mode * mode);
933 static PEAK_API_STATUS peak_I2C_DeviceAddress_GetRange(peak_i2c_handle hI2C, uint32_t * minAddress, uint32_t * maxAddress);
934 static PEAK_API_STATUS peak_I2C_DeviceAddress_Set(peak_i2c_handle hI2C, uint32_t address);
935 static PEAK_API_STATUS peak_I2C_DeviceAddress_Get(peak_i2c_handle hI2C, uint32_t * address);
936 static PEAK_API_STATUS peak_I2C_RegisterAddress_Length_GetList(peak_i2c_handle hI2C, peak_i2c_register_address_length * i2cLengthList, size_t * i2cLengthCount);
939 static PEAK_API_STATUS peak_I2C_RegisterAddress_Endianness_Set(peak_i2c_handle hI2C, peak_endianness endianness);
940 static PEAK_API_STATUS peak_I2C_RegisterAddress_Endianness_Get(peak_i2c_handle hI2C, peak_endianness * endianness);
941 static PEAK_API_STATUS peak_I2C_RegisterAddress_Set(peak_i2c_handle hI2C, uint32_t address);
942 static PEAK_API_STATUS peak_I2C_RegisterAddress_Get(peak_i2c_handle hI2C, uint32_t * address);
943 static PEAK_API_STATUS peak_I2C_AckPolling_Enable(peak_i2c_handle hI2C, peak_bool enabled);
944 static PEAK_API_BOOL peak_I2C_AckPolling_IsEnabled(peak_i2c_handle hI2C);
945 static PEAK_API_ACCESS_STATUS peak_I2C_AckPolling_Timeout_GetAccessStatus(peak_i2c_handle hI2C);
946 static PEAK_API_STATUS peak_I2C_AckPolling_Timeout_GetRange(peak_i2c_handle hI2C, uint32_t * minTimeout_ms, uint32_t * maxTimeout_ms, uint32_t * incTimeout_ms);
947 static PEAK_API_STATUS peak_I2C_AckPolling_Timeout_Set(peak_i2c_handle hI2C, uint32_t timeout_ms);
948 static PEAK_API_STATUS peak_I2C_AckPolling_Timeout_Get(peak_i2c_handle hI2C, uint32_t * timeout_ms);
949 static PEAK_API_STATUS peak_I2C_Data_Write(peak_i2c_handle hI2C, const uint8_t * data, size_t dataSize);
950 static PEAK_API_STATUS peak_I2C_Data_Read(peak_i2c_handle hI2C, size_t maxDataSize, uint8_t * data, size_t * dataSize);
951 static PEAK_API_STATUS peak_I2C_Data_MaxSize_Get(peak_i2c_handle hI2C, size_t * maxDataSize);
952 static PEAK_API_STATUS peak_I2C_OperationStatus_Get(peak_i2c_handle hI2C, peak_i2c_operation_status * operationStatus);
953
954private:
955 void* m_handle = nullptr;
956 dyn_peak_Library_Init m_peak_Library_Init{};
957 dyn_peak_Library_Exit m_peak_Library_Exit{};
958 dyn_peak_Library_GetVersion m_peak_Library_GetVersion{};
959 dyn_peak_Library_GetLastError m_peak_Library_GetLastError{};
960 dyn_peak_Library_InterfaceTechnology_IsSupported m_peak_Library_InterfaceTechnology_IsSupported{};
961 dyn_peak_Reconnect_Enable m_peak_Reconnect_Enable{};
962 dyn_peak_Reconnect_IsEnabled m_peak_Reconnect_IsEnabled{};
963 dyn_peak_Reconnect_GetAccessStatus m_peak_Reconnect_GetAccessStatus{};
964 dyn_peak_CameraList_Update m_peak_CameraList_Update{};
965 dyn_peak_CameraList_Get m_peak_CameraList_Get{};
966 dyn_peak_Camera_ID_FromHandle m_peak_Camera_ID_FromHandle{};
967 dyn_peak_Camera_ID_FromSerialNumber m_peak_Camera_ID_FromSerialNumber{};
968 dyn_peak_Camera_ID_FromUserDefinedName m_peak_Camera_ID_FromUserDefinedName{};
969 dyn_peak_Camera_ID_FromMAC m_peak_Camera_ID_FromMAC{};
970 dyn_peak_Camera_GetAccessStatus m_peak_Camera_GetAccessStatus{};
971 dyn_peak_Camera_GetDescriptor m_peak_Camera_GetDescriptor{};
972 dyn_peak_Camera_Open m_peak_Camera_Open{};
973 dyn_peak_Camera_OpenFirstAvailable m_peak_Camera_OpenFirstAvailable{};
974 dyn_peak_Camera_Close m_peak_Camera_Close{};
975 dyn_peak_Camera_ResetToDefaultSettings m_peak_Camera_ResetToDefaultSettings{};
976 dyn_peak_Camera_UserDefinedName_Set m_peak_Camera_UserDefinedName_Set{};
977 dyn_peak_Camera_UserDefinedName_Get m_peak_Camera_UserDefinedName_Get{};
978 dyn_peak_Camera_IsConnected m_peak_Camera_IsConnected{};
979 dyn_peak_Camera_Reboot m_peak_Camera_Reboot{};
980 dyn_peak_EthernetConfig_GetAccessStatus m_peak_EthernetConfig_GetAccessStatus{};
981 dyn_peak_EthernetConfig_GetInfo m_peak_EthernetConfig_GetInfo{};
982 dyn_peak_EthernetConfig_DHCP_GetAccessStatus m_peak_EthernetConfig_DHCP_GetAccessStatus{};
983 dyn_peak_EthernetConfig_DHCP_Enable m_peak_EthernetConfig_DHCP_Enable{};
984 dyn_peak_EthernetConfig_DHCP_IsEnabled m_peak_EthernetConfig_DHCP_IsEnabled{};
985 dyn_peak_EthernetConfig_PersistentIP_GetAccessStatus m_peak_EthernetConfig_PersistentIP_GetAccessStatus{};
986 dyn_peak_EthernetConfig_PersistentIP_Set m_peak_EthernetConfig_PersistentIP_Set{};
987 dyn_peak_EthernetConfig_PersistentIP_Get m_peak_EthernetConfig_PersistentIP_Get{};
988 dyn_peak_Acquisition_Start m_peak_Acquisition_Start{};
989 dyn_peak_Acquisition_Stop m_peak_Acquisition_Stop{};
990 dyn_peak_Acquisition_IsStarted m_peak_Acquisition_IsStarted{};
991 dyn_peak_Acquisition_WaitForFrame m_peak_Acquisition_WaitForFrame{};
992 dyn_peak_Acquisition_GetInfo m_peak_Acquisition_GetInfo{};
993 dyn_peak_Acquisition_Buffer_GetRequiredSize m_peak_Acquisition_Buffer_GetRequiredSize{};
994 dyn_peak_Acquisition_Buffer_GetRequiredCount m_peak_Acquisition_Buffer_GetRequiredCount{};
995 dyn_peak_Acquisition_Buffer_Announce m_peak_Acquisition_Buffer_Announce{};
996 dyn_peak_Acquisition_Buffer_Revoke m_peak_Acquisition_Buffer_Revoke{};
997 dyn_peak_Acquisition_Buffer_RevokeAll m_peak_Acquisition_Buffer_RevokeAll{};
998 dyn_peak_PixelFormat_GetInfo m_peak_PixelFormat_GetInfo{};
999 dyn_peak_Frame_Release m_peak_Frame_Release{};
1000 dyn_peak_Frame_GetInfo m_peak_Frame_GetInfo{};
1001 dyn_peak_Frame_Type_Get m_peak_Frame_Type_Get{};
1002 dyn_peak_Frame_Buffer_Get m_peak_Frame_Buffer_Get{};
1003 dyn_peak_Frame_ID_Get m_peak_Frame_ID_Get{};
1004 dyn_peak_Frame_Timestamp_Get m_peak_Frame_Timestamp_Get{};
1005 dyn_peak_Frame_ROI_Get m_peak_Frame_ROI_Get{};
1006 dyn_peak_Frame_PixelFormat_Get m_peak_Frame_PixelFormat_Get{};
1007 dyn_peak_Frame_IsComplete m_peak_Frame_IsComplete{};
1008 dyn_peak_Frame_BytesExpected_Get m_peak_Frame_BytesExpected_Get{};
1009 dyn_peak_Frame_BytesWritten_Get m_peak_Frame_BytesWritten_Get{};
1010 dyn_peak_Frame_ProcessingTime_Get m_peak_Frame_ProcessingTime_Get{};
1011 dyn_peak_CameraSettings_ParameterSet_GetAccessStatus m_peak_CameraSettings_ParameterSet_GetAccessStatus{};
1012 dyn_peak_CameraSettings_ParameterSet_GetList m_peak_CameraSettings_ParameterSet_GetList{};
1013 dyn_peak_CameraSettings_ParameterSet_Store m_peak_CameraSettings_ParameterSet_Store{};
1014 dyn_peak_CameraSettings_ParameterSet_Apply m_peak_CameraSettings_ParameterSet_Apply{};
1015 dyn_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus{};
1016 dyn_peak_CameraSettings_ParameterSet_Startup_Set m_peak_CameraSettings_ParameterSet_Startup_Set{};
1017 dyn_peak_CameraSettings_ParameterSet_Startup_Get m_peak_CameraSettings_ParameterSet_Startup_Get{};
1018 dyn_peak_CameraSettings_DiskFile_GetAccessStatus m_peak_CameraSettings_DiskFile_GetAccessStatus{};
1019 dyn_peak_CameraSettings_DiskFile_Store m_peak_CameraSettings_DiskFile_Store{};
1020 dyn_peak_CameraSettings_DiskFile_Apply m_peak_CameraSettings_DiskFile_Apply{};
1021 dyn_peak_FrameRate_GetAccessStatus m_peak_FrameRate_GetAccessStatus{};
1022 dyn_peak_FrameRate_GetRange m_peak_FrameRate_GetRange{};
1023 dyn_peak_FrameRate_Set m_peak_FrameRate_Set{};
1024 dyn_peak_FrameRate_Get m_peak_FrameRate_Get{};
1025 dyn_peak_ExposureTime_GetAccessStatus m_peak_ExposureTime_GetAccessStatus{};
1026 dyn_peak_ExposureTime_GetRange m_peak_ExposureTime_GetRange{};
1027 dyn_peak_ExposureTime_Set m_peak_ExposureTime_Set{};
1028 dyn_peak_ExposureTime_Get m_peak_ExposureTime_Get{};
1029 dyn_peak_PixelClock_GetAccessStatus m_peak_PixelClock_GetAccessStatus{};
1030 dyn_peak_PixelClock_HasRange m_peak_PixelClock_HasRange{};
1031 dyn_peak_PixelClock_GetRange m_peak_PixelClock_GetRange{};
1032 dyn_peak_PixelClock_GetList m_peak_PixelClock_GetList{};
1033 dyn_peak_PixelClock_Set m_peak_PixelClock_Set{};
1034 dyn_peak_PixelClock_Get m_peak_PixelClock_Get{};
1035 dyn_peak_IOChannel_GetAccessStatus m_peak_IOChannel_GetAccessStatus{};
1036 dyn_peak_IOChannel_GetList m_peak_IOChannel_GetList{};
1037 dyn_peak_IOChannel_Level_GetAccessStatus m_peak_IOChannel_Level_GetAccessStatus{};
1038 dyn_peak_IOChannel_Level_IsHigh m_peak_IOChannel_Level_IsHigh{};
1039 dyn_peak_IOChannel_Inverter_GetAccessStatus m_peak_IOChannel_Inverter_GetAccessStatus{};
1040 dyn_peak_IOChannel_Inverter_Enable m_peak_IOChannel_Inverter_Enable{};
1041 dyn_peak_IOChannel_Inverter_IsEnabled m_peak_IOChannel_Inverter_IsEnabled{};
1042 dyn_peak_IOChannel_NoiseFilter_GetAccessStatus m_peak_IOChannel_NoiseFilter_GetAccessStatus{};
1043 dyn_peak_IOChannel_NoiseFilter_Enable m_peak_IOChannel_NoiseFilter_Enable{};
1044 dyn_peak_IOChannel_NoiseFilter_IsEnabled m_peak_IOChannel_NoiseFilter_IsEnabled{};
1045 dyn_peak_IOChannel_NoiseFilter_Duration_GetRange m_peak_IOChannel_NoiseFilter_Duration_GetRange{};
1046 dyn_peak_IOChannel_NoiseFilter_Duration_Set m_peak_IOChannel_NoiseFilter_Duration_Set{};
1047 dyn_peak_IOChannel_NoiseFilter_Duration_Get m_peak_IOChannel_NoiseFilter_Duration_Get{};
1048 dyn_peak_Trigger_GetAccessStatus m_peak_Trigger_GetAccessStatus{};
1049 dyn_peak_Trigger_Enable m_peak_Trigger_Enable{};
1050 dyn_peak_Trigger_IsEnabled m_peak_Trigger_IsEnabled{};
1051 dyn_peak_Trigger_IsExecutable m_peak_Trigger_IsExecutable{};
1052 dyn_peak_Trigger_Execute m_peak_Trigger_Execute{};
1053 dyn_peak_Trigger_Mode_GetAccessStatus m_peak_Trigger_Mode_GetAccessStatus{};
1054 dyn_peak_Trigger_Mode_Set m_peak_Trigger_Mode_Set{};
1055 dyn_peak_Trigger_Mode_Get m_peak_Trigger_Mode_Get{};
1056 dyn_peak_Trigger_Edge_GetAccessStatus m_peak_Trigger_Edge_GetAccessStatus{};
1057 dyn_peak_Trigger_Edge_GetList m_peak_Trigger_Edge_GetList{};
1058 dyn_peak_Trigger_Edge_Set m_peak_Trigger_Edge_Set{};
1059 dyn_peak_Trigger_Edge_Get m_peak_Trigger_Edge_Get{};
1060 dyn_peak_Trigger_Delay_GetAccessStatus m_peak_Trigger_Delay_GetAccessStatus{};
1061 dyn_peak_Trigger_Delay_GetRange m_peak_Trigger_Delay_GetRange{};
1062 dyn_peak_Trigger_Delay_Set m_peak_Trigger_Delay_Set{};
1063 dyn_peak_Trigger_Delay_Get m_peak_Trigger_Delay_Get{};
1064 dyn_peak_Trigger_Divider_GetAccessStatus m_peak_Trigger_Divider_GetAccessStatus{};
1065 dyn_peak_Trigger_Divider_GetRange m_peak_Trigger_Divider_GetRange{};
1066 dyn_peak_Trigger_Divider_Set m_peak_Trigger_Divider_Set{};
1067 dyn_peak_Trigger_Divider_Get m_peak_Trigger_Divider_Get{};
1068 dyn_peak_Trigger_Burst_GetAccessStatus m_peak_Trigger_Burst_GetAccessStatus{};
1069 dyn_peak_Trigger_Burst_GetRange m_peak_Trigger_Burst_GetRange{};
1070 dyn_peak_Trigger_Burst_Set m_peak_Trigger_Burst_Set{};
1071 dyn_peak_Trigger_Burst_Get m_peak_Trigger_Burst_Get{};
1072 dyn_peak_Flash_GetAccessStatus m_peak_Flash_GetAccessStatus{};
1073 dyn_peak_Flash_Enable m_peak_Flash_Enable{};
1074 dyn_peak_Flash_IsEnabled m_peak_Flash_IsEnabled{};
1075 dyn_peak_Flash_Mode_GetAccessStatus m_peak_Flash_Mode_GetAccessStatus{};
1076 dyn_peak_Flash_Mode_Set m_peak_Flash_Mode_Set{};
1077 dyn_peak_Flash_Mode_Get m_peak_Flash_Mode_Get{};
1078 dyn_peak_Flash_StartDelay_GetAccessStatus m_peak_Flash_StartDelay_GetAccessStatus{};
1079 dyn_peak_Flash_StartDelay_GetRange m_peak_Flash_StartDelay_GetRange{};
1080 dyn_peak_Flash_StartDelay_Set m_peak_Flash_StartDelay_Set{};
1081 dyn_peak_Flash_StartDelay_Get m_peak_Flash_StartDelay_Get{};
1082 dyn_peak_Flash_EndDelay_GetAccessStatus m_peak_Flash_EndDelay_GetAccessStatus{};
1083 dyn_peak_Flash_EndDelay_GetRange m_peak_Flash_EndDelay_GetRange{};
1084 dyn_peak_Flash_EndDelay_Set m_peak_Flash_EndDelay_Set{};
1085 dyn_peak_Flash_EndDelay_Get m_peak_Flash_EndDelay_Get{};
1086 dyn_peak_Flash_Duration_GetAccessStatus m_peak_Flash_Duration_GetAccessStatus{};
1087 dyn_peak_Flash_Duration_GetRange m_peak_Flash_Duration_GetRange{};
1088 dyn_peak_Flash_Duration_Set m_peak_Flash_Duration_Set{};
1089 dyn_peak_Flash_Duration_Get m_peak_Flash_Duration_Get{};
1090 dyn_peak_Focus_GetAccessStatus m_peak_Focus_GetAccessStatus{};
1091 dyn_peak_Focus_GetRange m_peak_Focus_GetRange{};
1092 dyn_peak_Focus_Set m_peak_Focus_Set{};
1093 dyn_peak_Focus_Get m_peak_Focus_Get{};
1094 dyn_peak_PixelFormat_GetAccessStatus m_peak_PixelFormat_GetAccessStatus{};
1095 dyn_peak_PixelFormat_GetList m_peak_PixelFormat_GetList{};
1096 dyn_peak_PixelFormat_Set m_peak_PixelFormat_Set{};
1097 dyn_peak_PixelFormat_Get m_peak_PixelFormat_Get{};
1098 dyn_peak_Gain_GetAccessStatus m_peak_Gain_GetAccessStatus{};
1099 dyn_peak_Gain_GetChannelList m_peak_Gain_GetChannelList{};
1100 dyn_peak_Gain_GetRange m_peak_Gain_GetRange{};
1101 dyn_peak_Gain_Set m_peak_Gain_Set{};
1102 dyn_peak_Gain_Get m_peak_Gain_Get{};
1103 dyn_peak_Gamma_GetAccessStatus m_peak_Gamma_GetAccessStatus{};
1104 dyn_peak_Gamma_GetRange m_peak_Gamma_GetRange{};
1105 dyn_peak_Gamma_Set m_peak_Gamma_Set{};
1106 dyn_peak_Gamma_Get m_peak_Gamma_Get{};
1107 dyn_peak_ColorCorrection_GetAccessStatus m_peak_ColorCorrection_GetAccessStatus{};
1108 dyn_peak_ColorCorrection_Mode_GetList m_peak_ColorCorrection_Mode_GetList{};
1109 dyn_peak_ColorCorrection_Mode_Set m_peak_ColorCorrection_Mode_Set{};
1110 dyn_peak_ColorCorrection_Mode_Get m_peak_ColorCorrection_Mode_Get{};
1111 dyn_peak_ColorCorrection_Matrix_GetAccessStatus m_peak_ColorCorrection_Matrix_GetAccessStatus{};
1112 dyn_peak_ColorCorrection_Matrix_GetRange m_peak_ColorCorrection_Matrix_GetRange{};
1113 dyn_peak_ColorCorrection_Matrix_Set m_peak_ColorCorrection_Matrix_Set{};
1114 dyn_peak_ColorCorrection_Matrix_Get m_peak_ColorCorrection_Matrix_Get{};
1115 dyn_peak_ColorCorrection_Enable m_peak_ColorCorrection_Enable{};
1116 dyn_peak_ColorCorrection_IsEnabled m_peak_ColorCorrection_IsEnabled{};
1117 dyn_peak_AutoBrightness_GetAccessStatus m_peak_AutoBrightness_GetAccessStatus{};
1118 dyn_peak_AutoBrightness_Target_GetRange m_peak_AutoBrightness_Target_GetRange{};
1119 dyn_peak_AutoBrightness_Target_Set m_peak_AutoBrightness_Target_Set{};
1120 dyn_peak_AutoBrightness_Target_Get m_peak_AutoBrightness_Target_Get{};
1121 dyn_peak_AutoBrightness_TargetTolerance_GetRange m_peak_AutoBrightness_TargetTolerance_GetRange{};
1122 dyn_peak_AutoBrightness_TargetTolerance_Set m_peak_AutoBrightness_TargetTolerance_Set{};
1123 dyn_peak_AutoBrightness_TargetTolerance_Get m_peak_AutoBrightness_TargetTolerance_Get{};
1124 dyn_peak_AutoBrightness_TargetPercentile_GetRange m_peak_AutoBrightness_TargetPercentile_GetRange{};
1125 dyn_peak_AutoBrightness_TargetPercentile_Set m_peak_AutoBrightness_TargetPercentile_Set{};
1126 dyn_peak_AutoBrightness_TargetPercentile_Get m_peak_AutoBrightness_TargetPercentile_Get{};
1127 dyn_peak_AutoBrightness_ROI_Mode_Set m_peak_AutoBrightness_ROI_Mode_Set{};
1128 dyn_peak_AutoBrightness_ROI_Mode_Get m_peak_AutoBrightness_ROI_Mode_Get{};
1129 dyn_peak_AutoBrightness_ROI_Offset_GetRange m_peak_AutoBrightness_ROI_Offset_GetRange{};
1130 dyn_peak_AutoBrightness_ROI_Size_GetRange m_peak_AutoBrightness_ROI_Size_GetRange{};
1131 dyn_peak_AutoBrightness_ROI_Set m_peak_AutoBrightness_ROI_Set{};
1132 dyn_peak_AutoBrightness_ROI_Get m_peak_AutoBrightness_ROI_Get{};
1133 dyn_peak_AutoBrightness_Exposure_GetAccessStatus m_peak_AutoBrightness_Exposure_GetAccessStatus{};
1134 dyn_peak_AutoBrightness_Exposure_Mode_Set m_peak_AutoBrightness_Exposure_Mode_Set{};
1135 dyn_peak_AutoBrightness_Exposure_Mode_Get m_peak_AutoBrightness_Exposure_Mode_Get{};
1136 dyn_peak_AutoBrightness_Gain_GetAccessStatus m_peak_AutoBrightness_Gain_GetAccessStatus{};
1137 dyn_peak_AutoBrightness_Gain_Mode_Set m_peak_AutoBrightness_Gain_Mode_Set{};
1138 dyn_peak_AutoBrightness_Gain_Mode_Get m_peak_AutoBrightness_Gain_Mode_Get{};
1139 dyn_peak_AutoWhiteBalance_GetAccessStatus m_peak_AutoWhiteBalance_GetAccessStatus{};
1140 dyn_peak_AutoWhiteBalance_ROI_Mode_Set m_peak_AutoWhiteBalance_ROI_Mode_Set{};
1141 dyn_peak_AutoWhiteBalance_ROI_Mode_Get m_peak_AutoWhiteBalance_ROI_Mode_Get{};
1142 dyn_peak_AutoWhiteBalance_ROI_Offset_GetRange m_peak_AutoWhiteBalance_ROI_Offset_GetRange{};
1143 dyn_peak_AutoWhiteBalance_ROI_Size_GetRange m_peak_AutoWhiteBalance_ROI_Size_GetRange{};
1144 dyn_peak_AutoWhiteBalance_ROI_Set m_peak_AutoWhiteBalance_ROI_Set{};
1145 dyn_peak_AutoWhiteBalance_ROI_Get m_peak_AutoWhiteBalance_ROI_Get{};
1146 dyn_peak_AutoWhiteBalance_Mode_Set m_peak_AutoWhiteBalance_Mode_Set{};
1147 dyn_peak_AutoWhiteBalance_Mode_Get m_peak_AutoWhiteBalance_Mode_Get{};
1148 dyn_peak_ROI_GetAccessStatus m_peak_ROI_GetAccessStatus{};
1149 dyn_peak_ROI_Offset_GetRange m_peak_ROI_Offset_GetRange{};
1150 dyn_peak_ROI_Size_GetRange m_peak_ROI_Size_GetRange{};
1151 dyn_peak_ROI_Set m_peak_ROI_Set{};
1152 dyn_peak_ROI_Get m_peak_ROI_Get{};
1153 dyn_peak_Binning_GetAccessStatus m_peak_Binning_GetAccessStatus{};
1154 dyn_peak_Binning_FactorX_GetList m_peak_Binning_FactorX_GetList{};
1155 dyn_peak_Binning_FactorY_GetList m_peak_Binning_FactorY_GetList{};
1156 dyn_peak_Binning_Set m_peak_Binning_Set{};
1157 dyn_peak_Binning_Get m_peak_Binning_Get{};
1158 dyn_peak_Decimation_GetAccessStatus m_peak_Decimation_GetAccessStatus{};
1159 dyn_peak_Decimation_FactorX_GetList m_peak_Decimation_FactorX_GetList{};
1160 dyn_peak_Decimation_FactorY_GetList m_peak_Decimation_FactorY_GetList{};
1161 dyn_peak_Decimation_Set m_peak_Decimation_Set{};
1162 dyn_peak_Decimation_Get m_peak_Decimation_Get{};
1163 dyn_peak_Mirror_LeftRight_GetAccessStatus m_peak_Mirror_LeftRight_GetAccessStatus{};
1164 dyn_peak_Mirror_LeftRight_Enable m_peak_Mirror_LeftRight_Enable{};
1165 dyn_peak_Mirror_LeftRight_IsEnabled m_peak_Mirror_LeftRight_IsEnabled{};
1166 dyn_peak_Mirror_UpDown_GetAccessStatus m_peak_Mirror_UpDown_GetAccessStatus{};
1167 dyn_peak_Mirror_UpDown_Enable m_peak_Mirror_UpDown_Enable{};
1168 dyn_peak_Mirror_UpDown_IsEnabled m_peak_Mirror_UpDown_IsEnabled{};
1169 dyn_peak_CameraMemory_Area_GetAccessStatus m_peak_CameraMemory_Area_GetAccessStatus{};
1170 dyn_peak_CameraMemory_Area_GetList m_peak_CameraMemory_Area_GetList{};
1171 dyn_peak_CameraMemory_Area_Size_Get m_peak_CameraMemory_Area_Size_Get{};
1172 dyn_peak_CameraMemory_Area_Data_Clear m_peak_CameraMemory_Area_Data_Clear{};
1173 dyn_peak_CameraMemory_Area_Data_Write m_peak_CameraMemory_Area_Data_Write{};
1174 dyn_peak_CameraMemory_Area_Data_Read m_peak_CameraMemory_Area_Data_Read{};
1175 dyn_peak_GFA_EnableWriteAccess m_peak_GFA_EnableWriteAccess{};
1176 dyn_peak_GFA_IsWriteAccessEnabled m_peak_GFA_IsWriteAccessEnabled{};
1177 dyn_peak_GFA_Feature_GetAccessStatus m_peak_GFA_Feature_GetAccessStatus{};
1178 dyn_peak_GFA_Float_HasRange m_peak_GFA_Float_HasRange{};
1179 dyn_peak_GFA_Float_GetRange m_peak_GFA_Float_GetRange{};
1180 dyn_peak_GFA_Float_GetList m_peak_GFA_Float_GetList{};
1181 dyn_peak_GFA_Float_Set m_peak_GFA_Float_Set{};
1182 dyn_peak_GFA_Float_Get m_peak_GFA_Float_Get{};
1183 dyn_peak_GFA_Integer_HasRange m_peak_GFA_Integer_HasRange{};
1184 dyn_peak_GFA_Integer_GetRange m_peak_GFA_Integer_GetRange{};
1185 dyn_peak_GFA_Integer_GetList m_peak_GFA_Integer_GetList{};
1186 dyn_peak_GFA_Integer_Set m_peak_GFA_Integer_Set{};
1187 dyn_peak_GFA_Integer_Get m_peak_GFA_Integer_Get{};
1188 dyn_peak_GFA_Boolean_Set m_peak_GFA_Boolean_Set{};
1189 dyn_peak_GFA_Boolean_Get m_peak_GFA_Boolean_Get{};
1190 dyn_peak_GFA_String_Set m_peak_GFA_String_Set{};
1191 dyn_peak_GFA_String_Get m_peak_GFA_String_Get{};
1192 dyn_peak_GFA_Command_Execute m_peak_GFA_Command_Execute{};
1193 dyn_peak_GFA_Command_WaitForDone m_peak_GFA_Command_WaitForDone{};
1194 dyn_peak_GFA_Enumeration_GetList m_peak_GFA_Enumeration_GetList{};
1195 dyn_peak_GFA_EnumerationEntry_GetAccessStatus m_peak_GFA_EnumerationEntry_GetAccessStatus{};
1196 dyn_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue{};
1197 dyn_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue{};
1198 dyn_peak_GFA_Enumeration_Set m_peak_GFA_Enumeration_Set{};
1199 dyn_peak_GFA_Enumeration_SetBySymbolicValue m_peak_GFA_Enumeration_SetBySymbolicValue{};
1200 dyn_peak_GFA_Enumeration_SetByIntegerValue m_peak_GFA_Enumeration_SetByIntegerValue{};
1201 dyn_peak_GFA_Enumeration_Get m_peak_GFA_Enumeration_Get{};
1202 dyn_peak_GFA_Register_Set m_peak_GFA_Register_Set{};
1203 dyn_peak_GFA_Register_Get m_peak_GFA_Register_Get{};
1204 dyn_peak_GFA_Data_Write m_peak_GFA_Data_Write{};
1205 dyn_peak_GFA_Data_Read m_peak_GFA_Data_Read{};
1206 dyn_peak_IPL_PixelFormat_GetList m_peak_IPL_PixelFormat_GetList{};
1207 dyn_peak_IPL_PixelFormat_Set m_peak_IPL_PixelFormat_Set{};
1208 dyn_peak_IPL_PixelFormat_Get m_peak_IPL_PixelFormat_Get{};
1209 dyn_peak_IPL_Gain_GetRange m_peak_IPL_Gain_GetRange{};
1210 dyn_peak_IPL_Gain_Set m_peak_IPL_Gain_Set{};
1211 dyn_peak_IPL_Gain_Get m_peak_IPL_Gain_Get{};
1212 dyn_peak_IPL_Gamma_GetRange m_peak_IPL_Gamma_GetRange{};
1213 dyn_peak_IPL_Gamma_Set m_peak_IPL_Gamma_Set{};
1214 dyn_peak_IPL_Gamma_Get m_peak_IPL_Gamma_Get{};
1215 dyn_peak_IPL_ColorCorrection_Matrix_Set m_peak_IPL_ColorCorrection_Matrix_Set{};
1216 dyn_peak_IPL_ColorCorrection_Matrix_Get m_peak_IPL_ColorCorrection_Matrix_Get{};
1217 dyn_peak_IPL_ColorCorrection_Saturation_Get m_peak_IPL_ColorCorrection_Saturation_Get{};
1218 dyn_peak_IPL_ColorCorrection_Saturation_Set m_peak_IPL_ColorCorrection_Saturation_Set{};
1219 dyn_peak_IPL_ColorCorrection_Saturation_GetRange m_peak_IPL_ColorCorrection_Saturation_GetRange{};
1220 dyn_peak_IPL_ColorCorrection_Enable m_peak_IPL_ColorCorrection_Enable{};
1221 dyn_peak_IPL_ColorCorrection_IsEnabled m_peak_IPL_ColorCorrection_IsEnabled{};
1222 dyn_peak_IPL_AutoBrightness_Target_GetRange m_peak_IPL_AutoBrightness_Target_GetRange{};
1223 dyn_peak_IPL_AutoBrightness_Target_Set m_peak_IPL_AutoBrightness_Target_Set{};
1224 dyn_peak_IPL_AutoBrightness_Target_Get m_peak_IPL_AutoBrightness_Target_Get{};
1225 dyn_peak_IPL_AutoBrightness_TargetTolerance_GetRange m_peak_IPL_AutoBrightness_TargetTolerance_GetRange{};
1226 dyn_peak_IPL_AutoBrightness_TargetTolerance_Set m_peak_IPL_AutoBrightness_TargetTolerance_Set{};
1227 dyn_peak_IPL_AutoBrightness_TargetTolerance_Get m_peak_IPL_AutoBrightness_TargetTolerance_Get{};
1228 dyn_peak_IPL_AutoBrightness_TargetPercentile_GetRange m_peak_IPL_AutoBrightness_TargetPercentile_GetRange{};
1229 dyn_peak_IPL_AutoBrightness_TargetPercentile_Set m_peak_IPL_AutoBrightness_TargetPercentile_Set{};
1230 dyn_peak_IPL_AutoBrightness_TargetPercentile_Get m_peak_IPL_AutoBrightness_TargetPercentile_Get{};
1231 dyn_peak_IPL_AutoBrightness_ROI_Mode_Set m_peak_IPL_AutoBrightness_ROI_Mode_Set{};
1232 dyn_peak_IPL_AutoBrightness_ROI_Mode_Get m_peak_IPL_AutoBrightness_ROI_Mode_Get{};
1233 dyn_peak_IPL_AutoBrightness_ROI_Offset_GetRange m_peak_IPL_AutoBrightness_ROI_Offset_GetRange{};
1234 dyn_peak_IPL_AutoBrightness_ROI_Size_GetRange m_peak_IPL_AutoBrightness_ROI_Size_GetRange{};
1235 dyn_peak_IPL_AutoBrightness_ROI_Set m_peak_IPL_AutoBrightness_ROI_Set{};
1236 dyn_peak_IPL_AutoBrightness_ROI_Get m_peak_IPL_AutoBrightness_ROI_Get{};
1237 dyn_peak_IPL_AutoBrightness_Exposure_Mode_Set m_peak_IPL_AutoBrightness_Exposure_Mode_Set{};
1238 dyn_peak_IPL_AutoBrightness_Exposure_Mode_Get m_peak_IPL_AutoBrightness_Exposure_Mode_Get{};
1239 dyn_peak_IPL_AutoBrightness_ExposureLimit_Get m_peak_IPL_AutoBrightness_ExposureLimit_Get{};
1240 dyn_peak_IPL_AutoBrightness_ExposureLimit_Set m_peak_IPL_AutoBrightness_ExposureLimit_Set{};
1241 dyn_peak_IPL_AutoBrightness_Gain_Mode_Set m_peak_IPL_AutoBrightness_Gain_Mode_Set{};
1242 dyn_peak_IPL_AutoBrightness_Gain_Mode_Get m_peak_IPL_AutoBrightness_Gain_Mode_Get{};
1243 dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Set m_peak_IPL_AutoBrightness_GainAnalog_Mode_Set{};
1244 dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Get m_peak_IPL_AutoBrightness_GainAnalog_Mode_Get{};
1245 dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Set m_peak_IPL_AutoBrightness_GainDigital_Mode_Set{};
1246 dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Get m_peak_IPL_AutoBrightness_GainDigital_Mode_Get{};
1247 dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Set m_peak_IPL_AutoBrightness_GainCombined_Mode_Set{};
1248 dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Get m_peak_IPL_AutoBrightness_GainCombined_Mode_Get{};
1249 dyn_peak_IPL_AutoBrightness_GainHost_Mode_Set m_peak_IPL_AutoBrightness_GainHost_Mode_Set{};
1250 dyn_peak_IPL_AutoBrightness_GainHost_Mode_Get m_peak_IPL_AutoBrightness_GainHost_Mode_Get{};
1251 dyn_peak_IPL_AutoBrightness_Algorithm_Set m_peak_IPL_AutoBrightness_Algorithm_Set{};
1252 dyn_peak_IPL_AutoBrightness_Algorithm_Get m_peak_IPL_AutoBrightness_Algorithm_Get{};
1253 dyn_peak_IPL_AutoBrightness_AverageLast_Get m_peak_IPL_AutoBrightness_AverageLast_Get{};
1254 dyn_peak_IPL_AutoBrightness_GainLimit_Set m_peak_IPL_AutoBrightness_GainLimit_Set{};
1255 dyn_peak_IPL_AutoBrightness_GainLimit_Get m_peak_IPL_AutoBrightness_GainLimit_Get{};
1256 dyn_peak_IPL_AutoBrightness_GainLimit_GetRange m_peak_IPL_AutoBrightness_GainLimit_GetRange{};
1257 dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Set m_peak_IPL_AutoBrightness_GainAnalogLimit_Set{};
1258 dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Get m_peak_IPL_AutoBrightness_GainAnalogLimit_Get{};
1259 dyn_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange m_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange{};
1260 dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Set m_peak_IPL_AutoBrightness_GainDigitalLimit_Set{};
1261 dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Get m_peak_IPL_AutoBrightness_GainDigitalLimit_Get{};
1262 dyn_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange m_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange{};
1263 dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Set m_peak_IPL_AutoBrightness_GainCombinedLimit_Set{};
1264 dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Get m_peak_IPL_AutoBrightness_GainCombinedLimit_Get{};
1265 dyn_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange m_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange{};
1266 dyn_peak_IPL_AutoBrightness_GainHostLimit_Set m_peak_IPL_AutoBrightness_GainHostLimit_Set{};
1267 dyn_peak_IPL_AutoBrightness_GainHostLimit_Get m_peak_IPL_AutoBrightness_GainHostLimit_Get{};
1268 dyn_peak_IPL_AutoBrightness_GainHostLimit_GetRange m_peak_IPL_AutoBrightness_GainHostLimit_GetRange{};
1269 dyn_peak_IPL_AutoBrightness_SkipFrames_Set m_peak_IPL_AutoBrightness_SkipFrames_Set{};
1270 dyn_peak_IPL_AutoBrightness_SkipFrames_Get m_peak_IPL_AutoBrightness_SkipFrames_Get{};
1271 dyn_peak_IPL_AutoBrightness_SkipFrames_GetRange m_peak_IPL_AutoBrightness_SkipFrames_GetRange{};
1272 dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Set m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set{};
1273 dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Get m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get{};
1274 dyn_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange{};
1275 dyn_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange{};
1276 dyn_peak_IPL_AutoWhiteBalance_ROI_Set m_peak_IPL_AutoWhiteBalance_ROI_Set{};
1277 dyn_peak_IPL_AutoWhiteBalance_ROI_Get m_peak_IPL_AutoWhiteBalance_ROI_Get{};
1278 dyn_peak_IPL_AutoWhiteBalance_Mode_Set m_peak_IPL_AutoWhiteBalance_Mode_Set{};
1279 dyn_peak_IPL_AutoWhiteBalance_Mode_Get m_peak_IPL_AutoWhiteBalance_Mode_Get{};
1280 dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Set m_peak_IPL_AutoWhiteBalance_SkipFrames_Set{};
1281 dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Get m_peak_IPL_AutoWhiteBalance_SkipFrames_Get{};
1282 dyn_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange m_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange{};
1283 dyn_peak_IPL_AutoFocus_GetAccessStatus m_peak_IPL_AutoFocus_GetAccessStatus{};
1284 dyn_peak_IPL_AutoFocus_ROI_Set m_peak_IPL_AutoFocus_ROI_Set{};
1285 dyn_peak_IPL_AutoFocus_ROI_Get m_peak_IPL_AutoFocus_ROI_Get{};
1286 dyn_peak_IPL_AutoFocus_Mode_Set m_peak_IPL_AutoFocus_Mode_Set{};
1287 dyn_peak_IPL_AutoFocus_Mode_Get m_peak_IPL_AutoFocus_Mode_Get{};
1288 dyn_peak_IPL_AutoFocus_SearchAlgorithm_Set m_peak_IPL_AutoFocus_SearchAlgorithm_Set{};
1289 dyn_peak_IPL_AutoFocus_SearchAlgorithm_Get m_peak_IPL_AutoFocus_SearchAlgorithm_Get{};
1290 dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Set m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set{};
1291 dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Get m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get{};
1292 dyn_peak_IPL_AutoFocus_Range_Set m_peak_IPL_AutoFocus_Range_Set{};
1293 dyn_peak_IPL_AutoFocus_Range_Get m_peak_IPL_AutoFocus_Range_Get{};
1294 dyn_peak_IPL_AutoFocus_Hysteresis_Set m_peak_IPL_AutoFocus_Hysteresis_Set{};
1295 dyn_peak_IPL_AutoFocus_Hysteresis_Get m_peak_IPL_AutoFocus_Hysteresis_Get{};
1296 dyn_peak_IPL_AutoFocus_Hysteresis_GetRange m_peak_IPL_AutoFocus_Hysteresis_GetRange{};
1297 dyn_peak_IPL_HotpixelCorrection_Sensitivity_Set m_peak_IPL_HotpixelCorrection_Sensitivity_Set{};
1298 dyn_peak_IPL_HotpixelCorrection_Sensitivity_Get m_peak_IPL_HotpixelCorrection_Sensitivity_Get{};
1299 dyn_peak_IPL_HotpixelCorrection_GetList m_peak_IPL_HotpixelCorrection_GetList{};
1300 dyn_peak_IPL_HotpixelCorrection_SetList m_peak_IPL_HotpixelCorrection_SetList{};
1301 dyn_peak_IPL_HotpixelCorrection_ResetList m_peak_IPL_HotpixelCorrection_ResetList{};
1302 dyn_peak_IPL_HotpixelCorrection_Enable m_peak_IPL_HotpixelCorrection_Enable{};
1303 dyn_peak_IPL_HotpixelCorrection_IsEnabled m_peak_IPL_HotpixelCorrection_IsEnabled{};
1304 dyn_peak_IPL_Mirror_UpDown_Enable m_peak_IPL_Mirror_UpDown_Enable{};
1305 dyn_peak_IPL_Mirror_UpDown_IsEnabled m_peak_IPL_Mirror_UpDown_IsEnabled{};
1306 dyn_peak_IPL_Mirror_LeftRight_Enable m_peak_IPL_Mirror_LeftRight_Enable{};
1307 dyn_peak_IPL_Mirror_LeftRight_IsEnabled m_peak_IPL_Mirror_LeftRight_IsEnabled{};
1308 dyn_peak_IPL_ProcessFrame m_peak_IPL_ProcessFrame{};
1309 dyn_peak_IPL_ProcessFrameInplace m_peak_IPL_ProcessFrameInplace{};
1310 dyn_peak_IPL_EdgeEnhancement_Enable m_peak_IPL_EdgeEnhancement_Enable{};
1311 dyn_peak_IPL_EdgeEnhancement_IsEnabled m_peak_IPL_EdgeEnhancement_IsEnabled{};
1312 dyn_peak_IPL_EdgeEnhancement_Factor_Set m_peak_IPL_EdgeEnhancement_Factor_Set{};
1313 dyn_peak_IPL_EdgeEnhancement_Factor_Get m_peak_IPL_EdgeEnhancement_Factor_Get{};
1314 dyn_peak_IPL_EdgeEnhancement_Factor_GetDefault m_peak_IPL_EdgeEnhancement_Factor_GetDefault{};
1315 dyn_peak_IPL_EdgeEnhancement_Factor_GetRange m_peak_IPL_EdgeEnhancement_Factor_GetRange{};
1316 dyn_peak_IPL_Sharpness_Measure m_peak_IPL_Sharpness_Measure{};
1317 dyn_peak_VideoWriter_Open m_peak_VideoWriter_Open{};
1318 dyn_peak_VideoWriter_Close m_peak_VideoWriter_Close{};
1319 dyn_peak_VideoWriter_AddFrame m_peak_VideoWriter_AddFrame{};
1320 dyn_peak_VideoWriter_Container_GetEncoderList m_peak_VideoWriter_Container_GetEncoderList{};
1321 dyn_peak_VideoWriter_Encoder_GetPixelFormatList m_peak_VideoWriter_Encoder_GetPixelFormatList{};
1322 dyn_peak_VideoWriter_Encoder_GetContainerList m_peak_VideoWriter_Encoder_GetContainerList{};
1323 dyn_peak_VideoWriter_GetInfo m_peak_VideoWriter_GetInfo{};
1324 dyn_peak_VideoWriter_Container_Option_Set m_peak_VideoWriter_Container_Option_Set{};
1325 dyn_peak_VideoWriter_Container_Option_Get m_peak_VideoWriter_Container_Option_Get{};
1326 dyn_peak_VideoWriter_Encoder_Option_Set m_peak_VideoWriter_Encoder_Option_Set{};
1327 dyn_peak_VideoWriter_Encoder_Option_Get m_peak_VideoWriter_Encoder_Option_Get{};
1328 dyn_peak_VideoWriter_WaitUntilQueueEmpty m_peak_VideoWriter_WaitUntilQueueEmpty{};
1329 dyn_peak_Inference_CNN_Open m_peak_Inference_CNN_Open{};
1330 dyn_peak_Inference_CNN_Close m_peak_Inference_CNN_Close{};
1331 dyn_peak_Inference_CNN_ProcessFrame m_peak_Inference_CNN_ProcessFrame{};
1332 dyn_peak_Inference_CNN_Info_Get m_peak_Inference_CNN_Info_Get{};
1333 dyn_peak_Inference_Result_Get m_peak_Inference_Result_Get{};
1334 dyn_peak_Inference_Result_Release m_peak_Inference_Result_Release{};
1335 dyn_peak_Inference_Result_Classification_GetList m_peak_Inference_Result_Classification_GetList{};
1336 dyn_peak_Inference_Result_Detection_GetList m_peak_Inference_Result_Detection_GetList{};
1337 dyn_peak_Inference_Statistics_Get m_peak_Inference_Statistics_Get{};
1338 dyn_peak_Inference_Statistics_Reset m_peak_Inference_Statistics_Reset{};
1339 dyn_peak_Inference_ConfidenceThreshold_Get m_peak_Inference_ConfidenceThreshold_Get{};
1340 dyn_peak_Inference_ConfidenceThreshold_GetRange m_peak_Inference_ConfidenceThreshold_GetRange{};
1341 dyn_peak_Inference_ConfidenceThreshold_Set m_peak_Inference_ConfidenceThreshold_Set{};
1342 dyn_peak_MessageQueue_Create m_peak_MessageQueue_Create{};
1343 dyn_peak_MessageQueue_Destroy m_peak_MessageQueue_Destroy{};
1344 dyn_peak_MessageQueue_EnableMessage m_peak_MessageQueue_EnableMessage{};
1345 dyn_peak_MessageQueue_DisableMessage m_peak_MessageQueue_DisableMessage{};
1346 dyn_peak_MessageQueue_EnableMessageList m_peak_MessageQueue_EnableMessageList{};
1347 dyn_peak_MessageQueue_DisableMessageList m_peak_MessageQueue_DisableMessageList{};
1348 dyn_peak_MessageQueue_EnabledMessages_GetList m_peak_MessageQueue_EnabledMessages_GetList{};
1349 dyn_peak_MessageQueue_SetMode m_peak_MessageQueue_SetMode{};
1350 dyn_peak_MessageQueue_GetMode m_peak_MessageQueue_GetMode{};
1351 dyn_peak_MessageQueue_Start m_peak_MessageQueue_Start{};
1352 dyn_peak_MessageQueue_Stop m_peak_MessageQueue_Stop{};
1353 dyn_peak_MessageQueue_IsStarted m_peak_MessageQueue_IsStarted{};
1354 dyn_peak_MessageQueue_WaitForMessage m_peak_MessageQueue_WaitForMessage{};
1355 dyn_peak_MessageQueue_Flush m_peak_MessageQueue_Flush{};
1356 dyn_peak_MessageQueue_IsMessageSupported m_peak_MessageQueue_IsMessageSupported{};
1357 dyn_peak_MessageQueue_Statistics_Get m_peak_MessageQueue_Statistics_Get{};
1358 dyn_peak_MessageQueue_Statistics_Reset m_peak_MessageQueue_Statistics_Reset{};
1359 dyn_peak_MessageQueue_MaxQueueSize_Set m_peak_MessageQueue_MaxQueueSize_Set{};
1360 dyn_peak_MessageQueue_MaxQueueSize_Get m_peak_MessageQueue_MaxQueueSize_Get{};
1361 dyn_peak_Message_Release m_peak_Message_Release{};
1362 dyn_peak_Message_GetInfo m_peak_Message_GetInfo{};
1363 dyn_peak_Message_Type_Get m_peak_Message_Type_Get{};
1364 dyn_peak_Message_CameraHandle_Get m_peak_Message_CameraHandle_Get{};
1365 dyn_peak_Message_ID_Get m_peak_Message_ID_Get{};
1366 dyn_peak_Message_HostTimestamp_Get m_peak_Message_HostTimestamp_Get{};
1367 dyn_peak_Message_Data_Type_Get m_peak_Message_Data_Type_Get{};
1368 dyn_peak_Message_Data_RemoteDevice_Get m_peak_Message_Data_RemoteDevice_Get{};
1369 dyn_peak_Message_Data_RemoteDeviceError_Get m_peak_Message_Data_RemoteDeviceError_Get{};
1370 dyn_peak_Message_Data_RemoteDeviceDropped_Get m_peak_Message_Data_RemoteDeviceDropped_Get{};
1371 dyn_peak_Message_Data_RemoteDeviceFrame_Get m_peak_Message_Data_RemoteDeviceFrame_Get{};
1372 dyn_peak_Message_Data_RemoteDeviceTemperature_Get m_peak_Message_Data_RemoteDeviceTemperature_Get{};
1373 dyn_peak_Message_Data_AutoFocusData_Get m_peak_Message_Data_AutoFocusData_Get{};
1374 dyn_peak_Message_Data_DeviceFound_Get m_peak_Message_Data_DeviceFound_Get{};
1375 dyn_peak_Message_Data_DeviceLost_Get m_peak_Message_Data_DeviceLost_Get{};
1376 dyn_peak_Message_Data_DeviceReconnected_Get m_peak_Message_Data_DeviceReconnected_Get{};
1377 dyn_peak_Message_Data_DeviceDisconnected_Get m_peak_Message_Data_DeviceDisconnected_Get{};
1378 dyn_peak_I2C_Create m_peak_I2C_Create{};
1379 dyn_peak_I2C_Destroy m_peak_I2C_Destroy{};
1380 dyn_peak_I2C_GetAccessStatus m_peak_I2C_GetAccessStatus{};
1381 dyn_peak_I2C_Mode_GetList m_peak_I2C_Mode_GetList{};
1382 dyn_peak_I2C_Mode_Set m_peak_I2C_Mode_Set{};
1383 dyn_peak_I2C_Mode_Get m_peak_I2C_Mode_Get{};
1384 dyn_peak_I2C_DeviceAddress_GetRange m_peak_I2C_DeviceAddress_GetRange{};
1385 dyn_peak_I2C_DeviceAddress_Set m_peak_I2C_DeviceAddress_Set{};
1386 dyn_peak_I2C_DeviceAddress_Get m_peak_I2C_DeviceAddress_Get{};
1387 dyn_peak_I2C_RegisterAddress_Length_GetList m_peak_I2C_RegisterAddress_Length_GetList{};
1388 dyn_peak_I2C_RegisterAddress_Length_Set m_peak_I2C_RegisterAddress_Length_Set{};
1389 dyn_peak_I2C_RegisterAddress_Length_Get m_peak_I2C_RegisterAddress_Length_Get{};
1390 dyn_peak_I2C_RegisterAddress_Endianness_Set m_peak_I2C_RegisterAddress_Endianness_Set{};
1391 dyn_peak_I2C_RegisterAddress_Endianness_Get m_peak_I2C_RegisterAddress_Endianness_Get{};
1392 dyn_peak_I2C_RegisterAddress_Set m_peak_I2C_RegisterAddress_Set{};
1393 dyn_peak_I2C_RegisterAddress_Get m_peak_I2C_RegisterAddress_Get{};
1394 dyn_peak_I2C_AckPolling_Enable m_peak_I2C_AckPolling_Enable{};
1395 dyn_peak_I2C_AckPolling_IsEnabled m_peak_I2C_AckPolling_IsEnabled{};
1396 dyn_peak_I2C_AckPolling_Timeout_GetAccessStatus m_peak_I2C_AckPolling_Timeout_GetAccessStatus{};
1397 dyn_peak_I2C_AckPolling_Timeout_GetRange m_peak_I2C_AckPolling_Timeout_GetRange{};
1398 dyn_peak_I2C_AckPolling_Timeout_Set m_peak_I2C_AckPolling_Timeout_Set{};
1399 dyn_peak_I2C_AckPolling_Timeout_Get m_peak_I2C_AckPolling_Timeout_Get{};
1400 dyn_peak_I2C_Data_Write m_peak_I2C_Data_Write{};
1401 dyn_peak_I2C_Data_Read m_peak_I2C_Data_Read{};
1402 dyn_peak_I2C_Data_MaxSize_Get m_peak_I2C_Data_MaxSize_Get{};
1403 dyn_peak_I2C_OperationStatus_Get m_peak_I2C_OperationStatus_Get{};
1404
1405};
1406
1407inline void* import_function(void *module, const char* proc_name)
1408{
1409#ifdef __linux__
1410 return dlsym(module, proc_name);
1411#else
1412 return GetProcAddress(static_cast<HMODULE>(module), proc_name);
1413#endif
1414}
1415
1416inline DynamicLoader::DynamicLoader()
1417{
1418#if defined _WIN32 || defined _WIN64
1419 size_t sz = 0;
1420 if (_wgetenv_s(&sz, NULL, 0, L"IDS_PEAK_COMFORT_SDK_PATH") == 0
1421 && sz > 0)
1422 {
1423 std::vector<wchar_t> env_ids_peak_comfort_c(sz);
1424 if (_wgetenv_s(&sz, env_ids_peak_comfort_c.data(), sz, L"IDS_PEAK_COMFORT_SDK_PATH") == 0)
1425 {
1426 if (_wgetenv_s(&sz, NULL, 0, L"PATH") == 0
1427 && sz > 0)
1428 {
1429 std::vector<wchar_t> env_path(sz);
1430 if (_wgetenv_s(&sz, env_path.data(), sz, L"PATH") == 0)
1431 {
1432 std::wstring ids_peak_comfort_c_path(env_ids_peak_comfort_c.data());
1433#ifdef _WIN64
1434 ids_peak_comfort_c_path.append(L"\\api\\lib\\x86_64");
1435#else
1436 ids_peak_comfort_c_path.append(L"\\api\\lib\\x86_32");
1437#endif
1438 AddDllDirectory(ids_peak_comfort_c_path.c_str());
1439 }
1440 }
1441 }
1442 }
1443
1444 loadLib("ids_peak_comfort_c.dll");
1445#else
1446 loadLib("libids_peak_comfort_c.so");
1447#endif
1448}
1449
1450inline DynamicLoader::~DynamicLoader()
1451{
1452 if(m_handle != nullptr)
1453 {
1454 unload();
1455 }
1456}
1457
1458inline bool DynamicLoader::isLoaded()
1459{
1460 auto&& inst = instance();
1461 return inst.m_handle != nullptr;
1462}
1463
1464inline void DynamicLoader::unload()
1465{
1466 setPointers(false);
1467
1468 if (m_handle != nullptr)
1469 {
1470#ifdef __linux__
1471 dlclose(m_handle);
1472#else
1473 FreeLibrary(static_cast<HMODULE>(m_handle));
1474#endif
1475 }
1476 m_handle = nullptr;
1477}
1478
1479
1480inline bool DynamicLoader::loadLib(const char* file)
1481{
1482 bool ret = false;
1483
1484 if (file)
1485 {
1486#ifdef __linux__
1487 m_handle = dlopen(file, RTLD_NOW);
1488#else
1489 m_handle = LoadLibraryExA(file, nullptr, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS);
1490#endif
1491 if (m_handle != nullptr)
1492 {
1493 try {
1494 setPointers(true);
1495 ret = true;
1496 } catch (const std::exception&) {
1497 unload();
1498 throw;
1499 }
1500 }
1501 else
1502 {
1503 throw std::runtime_error(std::string("Lib load failed: ") + file);
1504 }
1505 }
1506 else
1507 {
1508 throw std::runtime_error("Filename empty");
1509 }
1510
1511 return ret;
1512}
1513
1514inline bool DynamicLoader::setPointers(bool load)
1515{
1516
1517 m_peak_Library_Init = (dyn_peak_Library_Init) (load ? import_function(m_handle, "peak_Library_Init") : nullptr);
1518 if(m_peak_Library_Init == nullptr && load)
1519 {
1520 throw std::runtime_error("Failed to load peak_Library_Init");
1521 }
1522
1523 m_peak_Library_Exit = (dyn_peak_Library_Exit) (load ? import_function(m_handle, "peak_Library_Exit") : nullptr);
1524 if(m_peak_Library_Exit == nullptr && load)
1525 {
1526 throw std::runtime_error("Failed to load peak_Library_Exit");
1527 }
1528
1529 m_peak_Library_GetVersion = (dyn_peak_Library_GetVersion) (load ? import_function(m_handle, "peak_Library_GetVersion") : nullptr);
1530 if(m_peak_Library_GetVersion == nullptr && load)
1531 {
1532 throw std::runtime_error("Failed to load peak_Library_GetVersion");
1533 }
1534
1535 m_peak_Library_GetLastError = (dyn_peak_Library_GetLastError) (load ? import_function(m_handle, "peak_Library_GetLastError") : nullptr);
1536 if(m_peak_Library_GetLastError == nullptr && load)
1537 {
1538 throw std::runtime_error("Failed to load peak_Library_GetLastError");
1539 }
1540
1541 m_peak_Library_InterfaceTechnology_IsSupported = (dyn_peak_Library_InterfaceTechnology_IsSupported) (load ? import_function(m_handle, "peak_Library_InterfaceTechnology_IsSupported") : nullptr);
1542 if(m_peak_Library_InterfaceTechnology_IsSupported == nullptr && load)
1543 {
1544 throw std::runtime_error("Failed to load peak_Library_InterfaceTechnology_IsSupported");
1545 }
1546
1547 m_peak_Reconnect_Enable = (dyn_peak_Reconnect_Enable) (load ? import_function(m_handle, "peak_Reconnect_Enable") : nullptr);
1548 if(m_peak_Reconnect_Enable == nullptr && load)
1549 {
1550 throw std::runtime_error("Failed to load peak_Reconnect_Enable");
1551 }
1552
1553 m_peak_Reconnect_IsEnabled = (dyn_peak_Reconnect_IsEnabled) (load ? import_function(m_handle, "peak_Reconnect_IsEnabled") : nullptr);
1554 if(m_peak_Reconnect_IsEnabled == nullptr && load)
1555 {
1556 throw std::runtime_error("Failed to load peak_Reconnect_IsEnabled");
1557 }
1558
1559 m_peak_Reconnect_GetAccessStatus = (dyn_peak_Reconnect_GetAccessStatus) (load ? import_function(m_handle, "peak_Reconnect_GetAccessStatus") : nullptr);
1560 if(m_peak_Reconnect_GetAccessStatus == nullptr && load)
1561 {
1562 throw std::runtime_error("Failed to load peak_Reconnect_GetAccessStatus");
1563 }
1564
1565 m_peak_CameraList_Update = (dyn_peak_CameraList_Update) (load ? import_function(m_handle, "peak_CameraList_Update") : nullptr);
1566 if(m_peak_CameraList_Update == nullptr && load)
1567 {
1568 throw std::runtime_error("Failed to load peak_CameraList_Update");
1569 }
1570
1571 m_peak_CameraList_Get = (dyn_peak_CameraList_Get) (load ? import_function(m_handle, "peak_CameraList_Get") : nullptr);
1572 if(m_peak_CameraList_Get == nullptr && load)
1573 {
1574 throw std::runtime_error("Failed to load peak_CameraList_Get");
1575 }
1576
1577 m_peak_Camera_ID_FromHandle = (dyn_peak_Camera_ID_FromHandle) (load ? import_function(m_handle, "peak_Camera_ID_FromHandle") : nullptr);
1578 if(m_peak_Camera_ID_FromHandle == nullptr && load)
1579 {
1580 throw std::runtime_error("Failed to load peak_Camera_ID_FromHandle");
1581 }
1582
1583 m_peak_Camera_ID_FromSerialNumber = (dyn_peak_Camera_ID_FromSerialNumber) (load ? import_function(m_handle, "peak_Camera_ID_FromSerialNumber") : nullptr);
1584 if(m_peak_Camera_ID_FromSerialNumber == nullptr && load)
1585 {
1586 throw std::runtime_error("Failed to load peak_Camera_ID_FromSerialNumber");
1587 }
1588
1589 m_peak_Camera_ID_FromUserDefinedName = (dyn_peak_Camera_ID_FromUserDefinedName) (load ? import_function(m_handle, "peak_Camera_ID_FromUserDefinedName") : nullptr);
1590 if(m_peak_Camera_ID_FromUserDefinedName == nullptr && load)
1591 {
1592 throw std::runtime_error("Failed to load peak_Camera_ID_FromUserDefinedName");
1593 }
1594
1595 m_peak_Camera_ID_FromMAC = (dyn_peak_Camera_ID_FromMAC) (load ? import_function(m_handle, "peak_Camera_ID_FromMAC") : nullptr);
1596 if(m_peak_Camera_ID_FromMAC == nullptr && load)
1597 {
1598 throw std::runtime_error("Failed to load peak_Camera_ID_FromMAC");
1599 }
1600
1601 m_peak_Camera_GetAccessStatus = (dyn_peak_Camera_GetAccessStatus) (load ? import_function(m_handle, "peak_Camera_GetAccessStatus") : nullptr);
1602 if(m_peak_Camera_GetAccessStatus == nullptr && load)
1603 {
1604 throw std::runtime_error("Failed to load peak_Camera_GetAccessStatus");
1605 }
1606
1607 m_peak_Camera_GetDescriptor = (dyn_peak_Camera_GetDescriptor) (load ? import_function(m_handle, "peak_Camera_GetDescriptor") : nullptr);
1608 if(m_peak_Camera_GetDescriptor == nullptr && load)
1609 {
1610 throw std::runtime_error("Failed to load peak_Camera_GetDescriptor");
1611 }
1612
1613 m_peak_Camera_Open = (dyn_peak_Camera_Open) (load ? import_function(m_handle, "peak_Camera_Open") : nullptr);
1614 if(m_peak_Camera_Open == nullptr && load)
1615 {
1616 throw std::runtime_error("Failed to load peak_Camera_Open");
1617 }
1618
1619 m_peak_Camera_OpenFirstAvailable = (dyn_peak_Camera_OpenFirstAvailable) (load ? import_function(m_handle, "peak_Camera_OpenFirstAvailable") : nullptr);
1620 if(m_peak_Camera_OpenFirstAvailable == nullptr && load)
1621 {
1622 throw std::runtime_error("Failed to load peak_Camera_OpenFirstAvailable");
1623 }
1624
1625 m_peak_Camera_Close = (dyn_peak_Camera_Close) (load ? import_function(m_handle, "peak_Camera_Close") : nullptr);
1626 if(m_peak_Camera_Close == nullptr && load)
1627 {
1628 throw std::runtime_error("Failed to load peak_Camera_Close");
1629 }
1630
1631 m_peak_Camera_ResetToDefaultSettings = (dyn_peak_Camera_ResetToDefaultSettings) (load ? import_function(m_handle, "peak_Camera_ResetToDefaultSettings") : nullptr);
1632 if(m_peak_Camera_ResetToDefaultSettings == nullptr && load)
1633 {
1634 throw std::runtime_error("Failed to load peak_Camera_ResetToDefaultSettings");
1635 }
1636
1637 m_peak_Camera_UserDefinedName_Set = (dyn_peak_Camera_UserDefinedName_Set) (load ? import_function(m_handle, "peak_Camera_UserDefinedName_Set") : nullptr);
1638 if(m_peak_Camera_UserDefinedName_Set == nullptr && load)
1639 {
1640 throw std::runtime_error("Failed to load peak_Camera_UserDefinedName_Set");
1641 }
1642
1643 m_peak_Camera_UserDefinedName_Get = (dyn_peak_Camera_UserDefinedName_Get) (load ? import_function(m_handle, "peak_Camera_UserDefinedName_Get") : nullptr);
1644 if(m_peak_Camera_UserDefinedName_Get == nullptr && load)
1645 {
1646 throw std::runtime_error("Failed to load peak_Camera_UserDefinedName_Get");
1647 }
1648
1649 m_peak_Camera_IsConnected = (dyn_peak_Camera_IsConnected) (load ? import_function(m_handle, "peak_Camera_IsConnected") : nullptr);
1650 if(m_peak_Camera_IsConnected == nullptr && load)
1651 {
1652 throw std::runtime_error("Failed to load peak_Camera_IsConnected");
1653 }
1654
1655 m_peak_Camera_Reboot = (dyn_peak_Camera_Reboot) (load ? import_function(m_handle, "peak_Camera_Reboot") : nullptr);
1656 if(m_peak_Camera_Reboot == nullptr && load)
1657 {
1658 throw std::runtime_error("Failed to load peak_Camera_Reboot");
1659 }
1660
1661 m_peak_EthernetConfig_GetAccessStatus = (dyn_peak_EthernetConfig_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_GetAccessStatus") : nullptr);
1662 if(m_peak_EthernetConfig_GetAccessStatus == nullptr && load)
1663 {
1664 throw std::runtime_error("Failed to load peak_EthernetConfig_GetAccessStatus");
1665 }
1666
1667 m_peak_EthernetConfig_GetInfo = (dyn_peak_EthernetConfig_GetInfo) (load ? import_function(m_handle, "peak_EthernetConfig_GetInfo") : nullptr);
1668 if(m_peak_EthernetConfig_GetInfo == nullptr && load)
1669 {
1670 throw std::runtime_error("Failed to load peak_EthernetConfig_GetInfo");
1671 }
1672
1673 m_peak_EthernetConfig_DHCP_GetAccessStatus = (dyn_peak_EthernetConfig_DHCP_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_GetAccessStatus") : nullptr);
1674 if(m_peak_EthernetConfig_DHCP_GetAccessStatus == nullptr && load)
1675 {
1676 throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_GetAccessStatus");
1677 }
1678
1679 m_peak_EthernetConfig_DHCP_Enable = (dyn_peak_EthernetConfig_DHCP_Enable) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_Enable") : nullptr);
1680 if(m_peak_EthernetConfig_DHCP_Enable == nullptr && load)
1681 {
1682 throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_Enable");
1683 }
1684
1685 m_peak_EthernetConfig_DHCP_IsEnabled = (dyn_peak_EthernetConfig_DHCP_IsEnabled) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_IsEnabled") : nullptr);
1686 if(m_peak_EthernetConfig_DHCP_IsEnabled == nullptr && load)
1687 {
1688 throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_IsEnabled");
1689 }
1690
1691 m_peak_EthernetConfig_PersistentIP_GetAccessStatus = (dyn_peak_EthernetConfig_PersistentIP_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_GetAccessStatus") : nullptr);
1692 if(m_peak_EthernetConfig_PersistentIP_GetAccessStatus == nullptr && load)
1693 {
1694 throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_GetAccessStatus");
1695 }
1696
1697 m_peak_EthernetConfig_PersistentIP_Set = (dyn_peak_EthernetConfig_PersistentIP_Set) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_Set") : nullptr);
1698 if(m_peak_EthernetConfig_PersistentIP_Set == nullptr && load)
1699 {
1700 throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_Set");
1701 }
1702
1703 m_peak_EthernetConfig_PersistentIP_Get = (dyn_peak_EthernetConfig_PersistentIP_Get) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_Get") : nullptr);
1704 if(m_peak_EthernetConfig_PersistentIP_Get == nullptr && load)
1705 {
1706 throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_Get");
1707 }
1708
1709 m_peak_Acquisition_Start = (dyn_peak_Acquisition_Start) (load ? import_function(m_handle, "peak_Acquisition_Start") : nullptr);
1710 if(m_peak_Acquisition_Start == nullptr && load)
1711 {
1712 throw std::runtime_error("Failed to load peak_Acquisition_Start");
1713 }
1714
1715 m_peak_Acquisition_Stop = (dyn_peak_Acquisition_Stop) (load ? import_function(m_handle, "peak_Acquisition_Stop") : nullptr);
1716 if(m_peak_Acquisition_Stop == nullptr && load)
1717 {
1718 throw std::runtime_error("Failed to load peak_Acquisition_Stop");
1719 }
1720
1721 m_peak_Acquisition_IsStarted = (dyn_peak_Acquisition_IsStarted) (load ? import_function(m_handle, "peak_Acquisition_IsStarted") : nullptr);
1722 if(m_peak_Acquisition_IsStarted == nullptr && load)
1723 {
1724 throw std::runtime_error("Failed to load peak_Acquisition_IsStarted");
1725 }
1726
1727 m_peak_Acquisition_WaitForFrame = (dyn_peak_Acquisition_WaitForFrame) (load ? import_function(m_handle, "peak_Acquisition_WaitForFrame") : nullptr);
1728 if(m_peak_Acquisition_WaitForFrame == nullptr && load)
1729 {
1730 throw std::runtime_error("Failed to load peak_Acquisition_WaitForFrame");
1731 }
1732
1733 m_peak_Acquisition_GetInfo = (dyn_peak_Acquisition_GetInfo) (load ? import_function(m_handle, "peak_Acquisition_GetInfo") : nullptr);
1734 if(m_peak_Acquisition_GetInfo == nullptr && load)
1735 {
1736 throw std::runtime_error("Failed to load peak_Acquisition_GetInfo");
1737 }
1738
1739 m_peak_Acquisition_Buffer_GetRequiredSize = (dyn_peak_Acquisition_Buffer_GetRequiredSize) (load ? import_function(m_handle, "peak_Acquisition_Buffer_GetRequiredSize") : nullptr);
1740 if(m_peak_Acquisition_Buffer_GetRequiredSize == nullptr && load)
1741 {
1742 throw std::runtime_error("Failed to load peak_Acquisition_Buffer_GetRequiredSize");
1743 }
1744
1745 m_peak_Acquisition_Buffer_GetRequiredCount = (dyn_peak_Acquisition_Buffer_GetRequiredCount) (load ? import_function(m_handle, "peak_Acquisition_Buffer_GetRequiredCount") : nullptr);
1746 if(m_peak_Acquisition_Buffer_GetRequiredCount == nullptr && load)
1747 {
1748 throw std::runtime_error("Failed to load peak_Acquisition_Buffer_GetRequiredCount");
1749 }
1750
1751 m_peak_Acquisition_Buffer_Announce = (dyn_peak_Acquisition_Buffer_Announce) (load ? import_function(m_handle, "peak_Acquisition_Buffer_Announce") : nullptr);
1752 if(m_peak_Acquisition_Buffer_Announce == nullptr && load)
1753 {
1754 throw std::runtime_error("Failed to load peak_Acquisition_Buffer_Announce");
1755 }
1756
1757 m_peak_Acquisition_Buffer_Revoke = (dyn_peak_Acquisition_Buffer_Revoke) (load ? import_function(m_handle, "peak_Acquisition_Buffer_Revoke") : nullptr);
1758 if(m_peak_Acquisition_Buffer_Revoke == nullptr && load)
1759 {
1760 throw std::runtime_error("Failed to load peak_Acquisition_Buffer_Revoke");
1761 }
1762
1763 m_peak_Acquisition_Buffer_RevokeAll = (dyn_peak_Acquisition_Buffer_RevokeAll) (load ? import_function(m_handle, "peak_Acquisition_Buffer_RevokeAll") : nullptr);
1764 if(m_peak_Acquisition_Buffer_RevokeAll == nullptr && load)
1765 {
1766 throw std::runtime_error("Failed to load peak_Acquisition_Buffer_RevokeAll");
1767 }
1768
1769 m_peak_PixelFormat_GetInfo = (dyn_peak_PixelFormat_GetInfo) (load ? import_function(m_handle, "peak_PixelFormat_GetInfo") : nullptr);
1770 if(m_peak_PixelFormat_GetInfo == nullptr && load)
1771 {
1772 throw std::runtime_error("Failed to load peak_PixelFormat_GetInfo");
1773 }
1774
1775 m_peak_Frame_Release = (dyn_peak_Frame_Release) (load ? import_function(m_handle, "peak_Frame_Release") : nullptr);
1776 if(m_peak_Frame_Release == nullptr && load)
1777 {
1778 throw std::runtime_error("Failed to load peak_Frame_Release");
1779 }
1780
1781 m_peak_Frame_GetInfo = (dyn_peak_Frame_GetInfo) (load ? import_function(m_handle, "peak_Frame_GetInfo") : nullptr);
1782 if(m_peak_Frame_GetInfo == nullptr && load)
1783 {
1784 throw std::runtime_error("Failed to load peak_Frame_GetInfo");
1785 }
1786
1787 m_peak_Frame_Type_Get = (dyn_peak_Frame_Type_Get) (load ? import_function(m_handle, "peak_Frame_Type_Get") : nullptr);
1788 if(m_peak_Frame_Type_Get == nullptr && load)
1789 {
1790 throw std::runtime_error("Failed to load peak_Frame_Type_Get");
1791 }
1792
1793 m_peak_Frame_Buffer_Get = (dyn_peak_Frame_Buffer_Get) (load ? import_function(m_handle, "peak_Frame_Buffer_Get") : nullptr);
1794 if(m_peak_Frame_Buffer_Get == nullptr && load)
1795 {
1796 throw std::runtime_error("Failed to load peak_Frame_Buffer_Get");
1797 }
1798
1799 m_peak_Frame_ID_Get = (dyn_peak_Frame_ID_Get) (load ? import_function(m_handle, "peak_Frame_ID_Get") : nullptr);
1800 if(m_peak_Frame_ID_Get == nullptr && load)
1801 {
1802 throw std::runtime_error("Failed to load peak_Frame_ID_Get");
1803 }
1804
1805 m_peak_Frame_Timestamp_Get = (dyn_peak_Frame_Timestamp_Get) (load ? import_function(m_handle, "peak_Frame_Timestamp_Get") : nullptr);
1806 if(m_peak_Frame_Timestamp_Get == nullptr && load)
1807 {
1808 throw std::runtime_error("Failed to load peak_Frame_Timestamp_Get");
1809 }
1810
1811 m_peak_Frame_ROI_Get = (dyn_peak_Frame_ROI_Get) (load ? import_function(m_handle, "peak_Frame_ROI_Get") : nullptr);
1812 if(m_peak_Frame_ROI_Get == nullptr && load)
1813 {
1814 throw std::runtime_error("Failed to load peak_Frame_ROI_Get");
1815 }
1816
1817 m_peak_Frame_PixelFormat_Get = (dyn_peak_Frame_PixelFormat_Get) (load ? import_function(m_handle, "peak_Frame_PixelFormat_Get") : nullptr);
1818 if(m_peak_Frame_PixelFormat_Get == nullptr && load)
1819 {
1820 throw std::runtime_error("Failed to load peak_Frame_PixelFormat_Get");
1821 }
1822
1823 m_peak_Frame_IsComplete = (dyn_peak_Frame_IsComplete) (load ? import_function(m_handle, "peak_Frame_IsComplete") : nullptr);
1824 if(m_peak_Frame_IsComplete == nullptr && load)
1825 {
1826 throw std::runtime_error("Failed to load peak_Frame_IsComplete");
1827 }
1828
1829 m_peak_Frame_BytesExpected_Get = (dyn_peak_Frame_BytesExpected_Get) (load ? import_function(m_handle, "peak_Frame_BytesExpected_Get") : nullptr);
1830 if(m_peak_Frame_BytesExpected_Get == nullptr && load)
1831 {
1832 throw std::runtime_error("Failed to load peak_Frame_BytesExpected_Get");
1833 }
1834
1835 m_peak_Frame_BytesWritten_Get = (dyn_peak_Frame_BytesWritten_Get) (load ? import_function(m_handle, "peak_Frame_BytesWritten_Get") : nullptr);
1836 if(m_peak_Frame_BytesWritten_Get == nullptr && load)
1837 {
1838 throw std::runtime_error("Failed to load peak_Frame_BytesWritten_Get");
1839 }
1840
1841 m_peak_Frame_ProcessingTime_Get = (dyn_peak_Frame_ProcessingTime_Get) (load ? import_function(m_handle, "peak_Frame_ProcessingTime_Get") : nullptr);
1842 if(m_peak_Frame_ProcessingTime_Get == nullptr && load)
1843 {
1844 throw std::runtime_error("Failed to load peak_Frame_ProcessingTime_Get");
1845 }
1846
1847 m_peak_CameraSettings_ParameterSet_GetAccessStatus = (dyn_peak_CameraSettings_ParameterSet_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_GetAccessStatus") : nullptr);
1848 if(m_peak_CameraSettings_ParameterSet_GetAccessStatus == nullptr && load)
1849 {
1850 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_GetAccessStatus");
1851 }
1852
1853 m_peak_CameraSettings_ParameterSet_GetList = (dyn_peak_CameraSettings_ParameterSet_GetList) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_GetList") : nullptr);
1854 if(m_peak_CameraSettings_ParameterSet_GetList == nullptr && load)
1855 {
1856 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_GetList");
1857 }
1858
1859 m_peak_CameraSettings_ParameterSet_Store = (dyn_peak_CameraSettings_ParameterSet_Store) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Store") : nullptr);
1860 if(m_peak_CameraSettings_ParameterSet_Store == nullptr && load)
1861 {
1862 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Store");
1863 }
1864
1865 m_peak_CameraSettings_ParameterSet_Apply = (dyn_peak_CameraSettings_ParameterSet_Apply) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Apply") : nullptr);
1866 if(m_peak_CameraSettings_ParameterSet_Apply == nullptr && load)
1867 {
1868 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Apply");
1869 }
1870
1871 m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus = (dyn_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_GetAccessStatus") : nullptr);
1872 if(m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus == nullptr && load)
1873 {
1874 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_GetAccessStatus");
1875 }
1876
1877 m_peak_CameraSettings_ParameterSet_Startup_Set = (dyn_peak_CameraSettings_ParameterSet_Startup_Set) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_Set") : nullptr);
1878 if(m_peak_CameraSettings_ParameterSet_Startup_Set == nullptr && load)
1879 {
1880 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_Set");
1881 }
1882
1883 m_peak_CameraSettings_ParameterSet_Startup_Get = (dyn_peak_CameraSettings_ParameterSet_Startup_Get) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_Get") : nullptr);
1884 if(m_peak_CameraSettings_ParameterSet_Startup_Get == nullptr && load)
1885 {
1886 throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_Get");
1887 }
1888
1889 m_peak_CameraSettings_DiskFile_GetAccessStatus = (dyn_peak_CameraSettings_DiskFile_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_GetAccessStatus") : nullptr);
1890 if(m_peak_CameraSettings_DiskFile_GetAccessStatus == nullptr && load)
1891 {
1892 throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_GetAccessStatus");
1893 }
1894
1895 m_peak_CameraSettings_DiskFile_Store = (dyn_peak_CameraSettings_DiskFile_Store) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_Store") : nullptr);
1896 if(m_peak_CameraSettings_DiskFile_Store == nullptr && load)
1897 {
1898 throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_Store");
1899 }
1900
1901 m_peak_CameraSettings_DiskFile_Apply = (dyn_peak_CameraSettings_DiskFile_Apply) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_Apply") : nullptr);
1902 if(m_peak_CameraSettings_DiskFile_Apply == nullptr && load)
1903 {
1904 throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_Apply");
1905 }
1906
1907 m_peak_FrameRate_GetAccessStatus = (dyn_peak_FrameRate_GetAccessStatus) (load ? import_function(m_handle, "peak_FrameRate_GetAccessStatus") : nullptr);
1908 if(m_peak_FrameRate_GetAccessStatus == nullptr && load)
1909 {
1910 throw std::runtime_error("Failed to load peak_FrameRate_GetAccessStatus");
1911 }
1912
1913 m_peak_FrameRate_GetRange = (dyn_peak_FrameRate_GetRange) (load ? import_function(m_handle, "peak_FrameRate_GetRange") : nullptr);
1914 if(m_peak_FrameRate_GetRange == nullptr && load)
1915 {
1916 throw std::runtime_error("Failed to load peak_FrameRate_GetRange");
1917 }
1918
1919 m_peak_FrameRate_Set = (dyn_peak_FrameRate_Set) (load ? import_function(m_handle, "peak_FrameRate_Set") : nullptr);
1920 if(m_peak_FrameRate_Set == nullptr && load)
1921 {
1922 throw std::runtime_error("Failed to load peak_FrameRate_Set");
1923 }
1924
1925 m_peak_FrameRate_Get = (dyn_peak_FrameRate_Get) (load ? import_function(m_handle, "peak_FrameRate_Get") : nullptr);
1926 if(m_peak_FrameRate_Get == nullptr && load)
1927 {
1928 throw std::runtime_error("Failed to load peak_FrameRate_Get");
1929 }
1930
1931 m_peak_ExposureTime_GetAccessStatus = (dyn_peak_ExposureTime_GetAccessStatus) (load ? import_function(m_handle, "peak_ExposureTime_GetAccessStatus") : nullptr);
1932 if(m_peak_ExposureTime_GetAccessStatus == nullptr && load)
1933 {
1934 throw std::runtime_error("Failed to load peak_ExposureTime_GetAccessStatus");
1935 }
1936
1937 m_peak_ExposureTime_GetRange = (dyn_peak_ExposureTime_GetRange) (load ? import_function(m_handle, "peak_ExposureTime_GetRange") : nullptr);
1938 if(m_peak_ExposureTime_GetRange == nullptr && load)
1939 {
1940 throw std::runtime_error("Failed to load peak_ExposureTime_GetRange");
1941 }
1942
1943 m_peak_ExposureTime_Set = (dyn_peak_ExposureTime_Set) (load ? import_function(m_handle, "peak_ExposureTime_Set") : nullptr);
1944 if(m_peak_ExposureTime_Set == nullptr && load)
1945 {
1946 throw std::runtime_error("Failed to load peak_ExposureTime_Set");
1947 }
1948
1949 m_peak_ExposureTime_Get = (dyn_peak_ExposureTime_Get) (load ? import_function(m_handle, "peak_ExposureTime_Get") : nullptr);
1950 if(m_peak_ExposureTime_Get == nullptr && load)
1951 {
1952 throw std::runtime_error("Failed to load peak_ExposureTime_Get");
1953 }
1954
1955 m_peak_PixelClock_GetAccessStatus = (dyn_peak_PixelClock_GetAccessStatus) (load ? import_function(m_handle, "peak_PixelClock_GetAccessStatus") : nullptr);
1956 if(m_peak_PixelClock_GetAccessStatus == nullptr && load)
1957 {
1958 throw std::runtime_error("Failed to load peak_PixelClock_GetAccessStatus");
1959 }
1960
1961 m_peak_PixelClock_HasRange = (dyn_peak_PixelClock_HasRange) (load ? import_function(m_handle, "peak_PixelClock_HasRange") : nullptr);
1962 if(m_peak_PixelClock_HasRange == nullptr && load)
1963 {
1964 throw std::runtime_error("Failed to load peak_PixelClock_HasRange");
1965 }
1966
1967 m_peak_PixelClock_GetRange = (dyn_peak_PixelClock_GetRange) (load ? import_function(m_handle, "peak_PixelClock_GetRange") : nullptr);
1968 if(m_peak_PixelClock_GetRange == nullptr && load)
1969 {
1970 throw std::runtime_error("Failed to load peak_PixelClock_GetRange");
1971 }
1972
1973 m_peak_PixelClock_GetList = (dyn_peak_PixelClock_GetList) (load ? import_function(m_handle, "peak_PixelClock_GetList") : nullptr);
1974 if(m_peak_PixelClock_GetList == nullptr && load)
1975 {
1976 throw std::runtime_error("Failed to load peak_PixelClock_GetList");
1977 }
1978
1979 m_peak_PixelClock_Set = (dyn_peak_PixelClock_Set) (load ? import_function(m_handle, "peak_PixelClock_Set") : nullptr);
1980 if(m_peak_PixelClock_Set == nullptr && load)
1981 {
1982 throw std::runtime_error("Failed to load peak_PixelClock_Set");
1983 }
1984
1985 m_peak_PixelClock_Get = (dyn_peak_PixelClock_Get) (load ? import_function(m_handle, "peak_PixelClock_Get") : nullptr);
1986 if(m_peak_PixelClock_Get == nullptr && load)
1987 {
1988 throw std::runtime_error("Failed to load peak_PixelClock_Get");
1989 }
1990
1991 m_peak_IOChannel_GetAccessStatus = (dyn_peak_IOChannel_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_GetAccessStatus") : nullptr);
1992 if(m_peak_IOChannel_GetAccessStatus == nullptr && load)
1993 {
1994 throw std::runtime_error("Failed to load peak_IOChannel_GetAccessStatus");
1995 }
1996
1997 m_peak_IOChannel_GetList = (dyn_peak_IOChannel_GetList) (load ? import_function(m_handle, "peak_IOChannel_GetList") : nullptr);
1998 if(m_peak_IOChannel_GetList == nullptr && load)
1999 {
2000 throw std::runtime_error("Failed to load peak_IOChannel_GetList");
2001 }
2002
2003 m_peak_IOChannel_Level_GetAccessStatus = (dyn_peak_IOChannel_Level_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_Level_GetAccessStatus") : nullptr);
2004 if(m_peak_IOChannel_Level_GetAccessStatus == nullptr && load)
2005 {
2006 throw std::runtime_error("Failed to load peak_IOChannel_Level_GetAccessStatus");
2007 }
2008
2009 m_peak_IOChannel_Level_IsHigh = (dyn_peak_IOChannel_Level_IsHigh) (load ? import_function(m_handle, "peak_IOChannel_Level_IsHigh") : nullptr);
2010 if(m_peak_IOChannel_Level_IsHigh == nullptr && load)
2011 {
2012 throw std::runtime_error("Failed to load peak_IOChannel_Level_IsHigh");
2013 }
2014
2015 m_peak_IOChannel_Inverter_GetAccessStatus = (dyn_peak_IOChannel_Inverter_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_Inverter_GetAccessStatus") : nullptr);
2016 if(m_peak_IOChannel_Inverter_GetAccessStatus == nullptr && load)
2017 {
2018 throw std::runtime_error("Failed to load peak_IOChannel_Inverter_GetAccessStatus");
2019 }
2020
2021 m_peak_IOChannel_Inverter_Enable = (dyn_peak_IOChannel_Inverter_Enable) (load ? import_function(m_handle, "peak_IOChannel_Inverter_Enable") : nullptr);
2022 if(m_peak_IOChannel_Inverter_Enable == nullptr && load)
2023 {
2024 throw std::runtime_error("Failed to load peak_IOChannel_Inverter_Enable");
2025 }
2026
2027 m_peak_IOChannel_Inverter_IsEnabled = (dyn_peak_IOChannel_Inverter_IsEnabled) (load ? import_function(m_handle, "peak_IOChannel_Inverter_IsEnabled") : nullptr);
2028 if(m_peak_IOChannel_Inverter_IsEnabled == nullptr && load)
2029 {
2030 throw std::runtime_error("Failed to load peak_IOChannel_Inverter_IsEnabled");
2031 }
2032
2033 m_peak_IOChannel_NoiseFilter_GetAccessStatus = (dyn_peak_IOChannel_NoiseFilter_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_GetAccessStatus") : nullptr);
2034 if(m_peak_IOChannel_NoiseFilter_GetAccessStatus == nullptr && load)
2035 {
2036 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_GetAccessStatus");
2037 }
2038
2039 m_peak_IOChannel_NoiseFilter_Enable = (dyn_peak_IOChannel_NoiseFilter_Enable) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Enable") : nullptr);
2040 if(m_peak_IOChannel_NoiseFilter_Enable == nullptr && load)
2041 {
2042 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Enable");
2043 }
2044
2045 m_peak_IOChannel_NoiseFilter_IsEnabled = (dyn_peak_IOChannel_NoiseFilter_IsEnabled) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_IsEnabled") : nullptr);
2046 if(m_peak_IOChannel_NoiseFilter_IsEnabled == nullptr && load)
2047 {
2048 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_IsEnabled");
2049 }
2050
2051 m_peak_IOChannel_NoiseFilter_Duration_GetRange = (dyn_peak_IOChannel_NoiseFilter_Duration_GetRange) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_GetRange") : nullptr);
2052 if(m_peak_IOChannel_NoiseFilter_Duration_GetRange == nullptr && load)
2053 {
2054 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_GetRange");
2055 }
2056
2057 m_peak_IOChannel_NoiseFilter_Duration_Set = (dyn_peak_IOChannel_NoiseFilter_Duration_Set) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_Set") : nullptr);
2058 if(m_peak_IOChannel_NoiseFilter_Duration_Set == nullptr && load)
2059 {
2060 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_Set");
2061 }
2062
2063 m_peak_IOChannel_NoiseFilter_Duration_Get = (dyn_peak_IOChannel_NoiseFilter_Duration_Get) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_Get") : nullptr);
2064 if(m_peak_IOChannel_NoiseFilter_Duration_Get == nullptr && load)
2065 {
2066 throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_Get");
2067 }
2068
2069 m_peak_Trigger_GetAccessStatus = (dyn_peak_Trigger_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_GetAccessStatus") : nullptr);
2070 if(m_peak_Trigger_GetAccessStatus == nullptr && load)
2071 {
2072 throw std::runtime_error("Failed to load peak_Trigger_GetAccessStatus");
2073 }
2074
2075 m_peak_Trigger_Enable = (dyn_peak_Trigger_Enable) (load ? import_function(m_handle, "peak_Trigger_Enable") : nullptr);
2076 if(m_peak_Trigger_Enable == nullptr && load)
2077 {
2078 throw std::runtime_error("Failed to load peak_Trigger_Enable");
2079 }
2080
2081 m_peak_Trigger_IsEnabled = (dyn_peak_Trigger_IsEnabled) (load ? import_function(m_handle, "peak_Trigger_IsEnabled") : nullptr);
2082 if(m_peak_Trigger_IsEnabled == nullptr && load)
2083 {
2084 throw std::runtime_error("Failed to load peak_Trigger_IsEnabled");
2085 }
2086
2087 m_peak_Trigger_IsExecutable = (dyn_peak_Trigger_IsExecutable) (load ? import_function(m_handle, "peak_Trigger_IsExecutable") : nullptr);
2088 if(m_peak_Trigger_IsExecutable == nullptr && load)
2089 {
2090 throw std::runtime_error("Failed to load peak_Trigger_IsExecutable");
2091 }
2092
2093 m_peak_Trigger_Execute = (dyn_peak_Trigger_Execute) (load ? import_function(m_handle, "peak_Trigger_Execute") : nullptr);
2094 if(m_peak_Trigger_Execute == nullptr && load)
2095 {
2096 throw std::runtime_error("Failed to load peak_Trigger_Execute");
2097 }
2098
2099 m_peak_Trigger_Mode_GetAccessStatus = (dyn_peak_Trigger_Mode_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Mode_GetAccessStatus") : nullptr);
2100 if(m_peak_Trigger_Mode_GetAccessStatus == nullptr && load)
2101 {
2102 throw std::runtime_error("Failed to load peak_Trigger_Mode_GetAccessStatus");
2103 }
2104
2105 m_peak_Trigger_Mode_Set = (dyn_peak_Trigger_Mode_Set) (load ? import_function(m_handle, "peak_Trigger_Mode_Set") : nullptr);
2106 if(m_peak_Trigger_Mode_Set == nullptr && load)
2107 {
2108 throw std::runtime_error("Failed to load peak_Trigger_Mode_Set");
2109 }
2110
2111 m_peak_Trigger_Mode_Get = (dyn_peak_Trigger_Mode_Get) (load ? import_function(m_handle, "peak_Trigger_Mode_Get") : nullptr);
2112 if(m_peak_Trigger_Mode_Get == nullptr && load)
2113 {
2114 throw std::runtime_error("Failed to load peak_Trigger_Mode_Get");
2115 }
2116
2117 m_peak_Trigger_Edge_GetAccessStatus = (dyn_peak_Trigger_Edge_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Edge_GetAccessStatus") : nullptr);
2118 if(m_peak_Trigger_Edge_GetAccessStatus == nullptr && load)
2119 {
2120 throw std::runtime_error("Failed to load peak_Trigger_Edge_GetAccessStatus");
2121 }
2122
2123 m_peak_Trigger_Edge_GetList = (dyn_peak_Trigger_Edge_GetList) (load ? import_function(m_handle, "peak_Trigger_Edge_GetList") : nullptr);
2124 if(m_peak_Trigger_Edge_GetList == nullptr && load)
2125 {
2126 throw std::runtime_error("Failed to load peak_Trigger_Edge_GetList");
2127 }
2128
2129 m_peak_Trigger_Edge_Set = (dyn_peak_Trigger_Edge_Set) (load ? import_function(m_handle, "peak_Trigger_Edge_Set") : nullptr);
2130 if(m_peak_Trigger_Edge_Set == nullptr && load)
2131 {
2132 throw std::runtime_error("Failed to load peak_Trigger_Edge_Set");
2133 }
2134
2135 m_peak_Trigger_Edge_Get = (dyn_peak_Trigger_Edge_Get) (load ? import_function(m_handle, "peak_Trigger_Edge_Get") : nullptr);
2136 if(m_peak_Trigger_Edge_Get == nullptr && load)
2137 {
2138 throw std::runtime_error("Failed to load peak_Trigger_Edge_Get");
2139 }
2140
2141 m_peak_Trigger_Delay_GetAccessStatus = (dyn_peak_Trigger_Delay_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Delay_GetAccessStatus") : nullptr);
2142 if(m_peak_Trigger_Delay_GetAccessStatus == nullptr && load)
2143 {
2144 throw std::runtime_error("Failed to load peak_Trigger_Delay_GetAccessStatus");
2145 }
2146
2147 m_peak_Trigger_Delay_GetRange = (dyn_peak_Trigger_Delay_GetRange) (load ? import_function(m_handle, "peak_Trigger_Delay_GetRange") : nullptr);
2148 if(m_peak_Trigger_Delay_GetRange == nullptr && load)
2149 {
2150 throw std::runtime_error("Failed to load peak_Trigger_Delay_GetRange");
2151 }
2152
2153 m_peak_Trigger_Delay_Set = (dyn_peak_Trigger_Delay_Set) (load ? import_function(m_handle, "peak_Trigger_Delay_Set") : nullptr);
2154 if(m_peak_Trigger_Delay_Set == nullptr && load)
2155 {
2156 throw std::runtime_error("Failed to load peak_Trigger_Delay_Set");
2157 }
2158
2159 m_peak_Trigger_Delay_Get = (dyn_peak_Trigger_Delay_Get) (load ? import_function(m_handle, "peak_Trigger_Delay_Get") : nullptr);
2160 if(m_peak_Trigger_Delay_Get == nullptr && load)
2161 {
2162 throw std::runtime_error("Failed to load peak_Trigger_Delay_Get");
2163 }
2164
2165 m_peak_Trigger_Divider_GetAccessStatus = (dyn_peak_Trigger_Divider_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Divider_GetAccessStatus") : nullptr);
2166 if(m_peak_Trigger_Divider_GetAccessStatus == nullptr && load)
2167 {
2168 throw std::runtime_error("Failed to load peak_Trigger_Divider_GetAccessStatus");
2169 }
2170
2171 m_peak_Trigger_Divider_GetRange = (dyn_peak_Trigger_Divider_GetRange) (load ? import_function(m_handle, "peak_Trigger_Divider_GetRange") : nullptr);
2172 if(m_peak_Trigger_Divider_GetRange == nullptr && load)
2173 {
2174 throw std::runtime_error("Failed to load peak_Trigger_Divider_GetRange");
2175 }
2176
2177 m_peak_Trigger_Divider_Set = (dyn_peak_Trigger_Divider_Set) (load ? import_function(m_handle, "peak_Trigger_Divider_Set") : nullptr);
2178 if(m_peak_Trigger_Divider_Set == nullptr && load)
2179 {
2180 throw std::runtime_error("Failed to load peak_Trigger_Divider_Set");
2181 }
2182
2183 m_peak_Trigger_Divider_Get = (dyn_peak_Trigger_Divider_Get) (load ? import_function(m_handle, "peak_Trigger_Divider_Get") : nullptr);
2184 if(m_peak_Trigger_Divider_Get == nullptr && load)
2185 {
2186 throw std::runtime_error("Failed to load peak_Trigger_Divider_Get");
2187 }
2188
2189 m_peak_Trigger_Burst_GetAccessStatus = (dyn_peak_Trigger_Burst_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Burst_GetAccessStatus") : nullptr);
2190 if(m_peak_Trigger_Burst_GetAccessStatus == nullptr && load)
2191 {
2192 throw std::runtime_error("Failed to load peak_Trigger_Burst_GetAccessStatus");
2193 }
2194
2195 m_peak_Trigger_Burst_GetRange = (dyn_peak_Trigger_Burst_GetRange) (load ? import_function(m_handle, "peak_Trigger_Burst_GetRange") : nullptr);
2196 if(m_peak_Trigger_Burst_GetRange == nullptr && load)
2197 {
2198 throw std::runtime_error("Failed to load peak_Trigger_Burst_GetRange");
2199 }
2200
2201 m_peak_Trigger_Burst_Set = (dyn_peak_Trigger_Burst_Set) (load ? import_function(m_handle, "peak_Trigger_Burst_Set") : nullptr);
2202 if(m_peak_Trigger_Burst_Set == nullptr && load)
2203 {
2204 throw std::runtime_error("Failed to load peak_Trigger_Burst_Set");
2205 }
2206
2207 m_peak_Trigger_Burst_Get = (dyn_peak_Trigger_Burst_Get) (load ? import_function(m_handle, "peak_Trigger_Burst_Get") : nullptr);
2208 if(m_peak_Trigger_Burst_Get == nullptr && load)
2209 {
2210 throw std::runtime_error("Failed to load peak_Trigger_Burst_Get");
2211 }
2212
2213 m_peak_Flash_GetAccessStatus = (dyn_peak_Flash_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_GetAccessStatus") : nullptr);
2214 if(m_peak_Flash_GetAccessStatus == nullptr && load)
2215 {
2216 throw std::runtime_error("Failed to load peak_Flash_GetAccessStatus");
2217 }
2218
2219 m_peak_Flash_Enable = (dyn_peak_Flash_Enable) (load ? import_function(m_handle, "peak_Flash_Enable") : nullptr);
2220 if(m_peak_Flash_Enable == nullptr && load)
2221 {
2222 throw std::runtime_error("Failed to load peak_Flash_Enable");
2223 }
2224
2225 m_peak_Flash_IsEnabled = (dyn_peak_Flash_IsEnabled) (load ? import_function(m_handle, "peak_Flash_IsEnabled") : nullptr);
2226 if(m_peak_Flash_IsEnabled == nullptr && load)
2227 {
2228 throw std::runtime_error("Failed to load peak_Flash_IsEnabled");
2229 }
2230
2231 m_peak_Flash_Mode_GetAccessStatus = (dyn_peak_Flash_Mode_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_Mode_GetAccessStatus") : nullptr);
2232 if(m_peak_Flash_Mode_GetAccessStatus == nullptr && load)
2233 {
2234 throw std::runtime_error("Failed to load peak_Flash_Mode_GetAccessStatus");
2235 }
2236
2237 m_peak_Flash_Mode_Set = (dyn_peak_Flash_Mode_Set) (load ? import_function(m_handle, "peak_Flash_Mode_Set") : nullptr);
2238 if(m_peak_Flash_Mode_Set == nullptr && load)
2239 {
2240 throw std::runtime_error("Failed to load peak_Flash_Mode_Set");
2241 }
2242
2243 m_peak_Flash_Mode_Get = (dyn_peak_Flash_Mode_Get) (load ? import_function(m_handle, "peak_Flash_Mode_Get") : nullptr);
2244 if(m_peak_Flash_Mode_Get == nullptr && load)
2245 {
2246 throw std::runtime_error("Failed to load peak_Flash_Mode_Get");
2247 }
2248
2249 m_peak_Flash_StartDelay_GetAccessStatus = (dyn_peak_Flash_StartDelay_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_StartDelay_GetAccessStatus") : nullptr);
2250 if(m_peak_Flash_StartDelay_GetAccessStatus == nullptr && load)
2251 {
2252 throw std::runtime_error("Failed to load peak_Flash_StartDelay_GetAccessStatus");
2253 }
2254
2255 m_peak_Flash_StartDelay_GetRange = (dyn_peak_Flash_StartDelay_GetRange) (load ? import_function(m_handle, "peak_Flash_StartDelay_GetRange") : nullptr);
2256 if(m_peak_Flash_StartDelay_GetRange == nullptr && load)
2257 {
2258 throw std::runtime_error("Failed to load peak_Flash_StartDelay_GetRange");
2259 }
2260
2261 m_peak_Flash_StartDelay_Set = (dyn_peak_Flash_StartDelay_Set) (load ? import_function(m_handle, "peak_Flash_StartDelay_Set") : nullptr);
2262 if(m_peak_Flash_StartDelay_Set == nullptr && load)
2263 {
2264 throw std::runtime_error("Failed to load peak_Flash_StartDelay_Set");
2265 }
2266
2267 m_peak_Flash_StartDelay_Get = (dyn_peak_Flash_StartDelay_Get) (load ? import_function(m_handle, "peak_Flash_StartDelay_Get") : nullptr);
2268 if(m_peak_Flash_StartDelay_Get == nullptr && load)
2269 {
2270 throw std::runtime_error("Failed to load peak_Flash_StartDelay_Get");
2271 }
2272
2273 m_peak_Flash_EndDelay_GetAccessStatus = (dyn_peak_Flash_EndDelay_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_EndDelay_GetAccessStatus") : nullptr);
2274 if(m_peak_Flash_EndDelay_GetAccessStatus == nullptr && load)
2275 {
2276 throw std::runtime_error("Failed to load peak_Flash_EndDelay_GetAccessStatus");
2277 }
2278
2279 m_peak_Flash_EndDelay_GetRange = (dyn_peak_Flash_EndDelay_GetRange) (load ? import_function(m_handle, "peak_Flash_EndDelay_GetRange") : nullptr);
2280 if(m_peak_Flash_EndDelay_GetRange == nullptr && load)
2281 {
2282 throw std::runtime_error("Failed to load peak_Flash_EndDelay_GetRange");
2283 }
2284
2285 m_peak_Flash_EndDelay_Set = (dyn_peak_Flash_EndDelay_Set) (load ? import_function(m_handle, "peak_Flash_EndDelay_Set") : nullptr);
2286 if(m_peak_Flash_EndDelay_Set == nullptr && load)
2287 {
2288 throw std::runtime_error("Failed to load peak_Flash_EndDelay_Set");
2289 }
2290
2291 m_peak_Flash_EndDelay_Get = (dyn_peak_Flash_EndDelay_Get) (load ? import_function(m_handle, "peak_Flash_EndDelay_Get") : nullptr);
2292 if(m_peak_Flash_EndDelay_Get == nullptr && load)
2293 {
2294 throw std::runtime_error("Failed to load peak_Flash_EndDelay_Get");
2295 }
2296
2297 m_peak_Flash_Duration_GetAccessStatus = (dyn_peak_Flash_Duration_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_Duration_GetAccessStatus") : nullptr);
2298 if(m_peak_Flash_Duration_GetAccessStatus == nullptr && load)
2299 {
2300 throw std::runtime_error("Failed to load peak_Flash_Duration_GetAccessStatus");
2301 }
2302
2303 m_peak_Flash_Duration_GetRange = (dyn_peak_Flash_Duration_GetRange) (load ? import_function(m_handle, "peak_Flash_Duration_GetRange") : nullptr);
2304 if(m_peak_Flash_Duration_GetRange == nullptr && load)
2305 {
2306 throw std::runtime_error("Failed to load peak_Flash_Duration_GetRange");
2307 }
2308
2309 m_peak_Flash_Duration_Set = (dyn_peak_Flash_Duration_Set) (load ? import_function(m_handle, "peak_Flash_Duration_Set") : nullptr);
2310 if(m_peak_Flash_Duration_Set == nullptr && load)
2311 {
2312 throw std::runtime_error("Failed to load peak_Flash_Duration_Set");
2313 }
2314
2315 m_peak_Flash_Duration_Get = (dyn_peak_Flash_Duration_Get) (load ? import_function(m_handle, "peak_Flash_Duration_Get") : nullptr);
2316 if(m_peak_Flash_Duration_Get == nullptr && load)
2317 {
2318 throw std::runtime_error("Failed to load peak_Flash_Duration_Get");
2319 }
2320
2321 m_peak_Focus_GetAccessStatus = (dyn_peak_Focus_GetAccessStatus) (load ? import_function(m_handle, "peak_Focus_GetAccessStatus") : nullptr);
2322 if(m_peak_Focus_GetAccessStatus == nullptr && load)
2323 {
2324 throw std::runtime_error("Failed to load peak_Focus_GetAccessStatus");
2325 }
2326
2327 m_peak_Focus_GetRange = (dyn_peak_Focus_GetRange) (load ? import_function(m_handle, "peak_Focus_GetRange") : nullptr);
2328 if(m_peak_Focus_GetRange == nullptr && load)
2329 {
2330 throw std::runtime_error("Failed to load peak_Focus_GetRange");
2331 }
2332
2333 m_peak_Focus_Set = (dyn_peak_Focus_Set) (load ? import_function(m_handle, "peak_Focus_Set") : nullptr);
2334 if(m_peak_Focus_Set == nullptr && load)
2335 {
2336 throw std::runtime_error("Failed to load peak_Focus_Set");
2337 }
2338
2339 m_peak_Focus_Get = (dyn_peak_Focus_Get) (load ? import_function(m_handle, "peak_Focus_Get") : nullptr);
2340 if(m_peak_Focus_Get == nullptr && load)
2341 {
2342 throw std::runtime_error("Failed to load peak_Focus_Get");
2343 }
2344
2345 m_peak_PixelFormat_GetAccessStatus = (dyn_peak_PixelFormat_GetAccessStatus) (load ? import_function(m_handle, "peak_PixelFormat_GetAccessStatus") : nullptr);
2346 if(m_peak_PixelFormat_GetAccessStatus == nullptr && load)
2347 {
2348 throw std::runtime_error("Failed to load peak_PixelFormat_GetAccessStatus");
2349 }
2350
2351 m_peak_PixelFormat_GetList = (dyn_peak_PixelFormat_GetList) (load ? import_function(m_handle, "peak_PixelFormat_GetList") : nullptr);
2352 if(m_peak_PixelFormat_GetList == nullptr && load)
2353 {
2354 throw std::runtime_error("Failed to load peak_PixelFormat_GetList");
2355 }
2356
2357 m_peak_PixelFormat_Set = (dyn_peak_PixelFormat_Set) (load ? import_function(m_handle, "peak_PixelFormat_Set") : nullptr);
2358 if(m_peak_PixelFormat_Set == nullptr && load)
2359 {
2360 throw std::runtime_error("Failed to load peak_PixelFormat_Set");
2361 }
2362
2363 m_peak_PixelFormat_Get = (dyn_peak_PixelFormat_Get) (load ? import_function(m_handle, "peak_PixelFormat_Get") : nullptr);
2364 if(m_peak_PixelFormat_Get == nullptr && load)
2365 {
2366 throw std::runtime_error("Failed to load peak_PixelFormat_Get");
2367 }
2368
2369 m_peak_Gain_GetAccessStatus = (dyn_peak_Gain_GetAccessStatus) (load ? import_function(m_handle, "peak_Gain_GetAccessStatus") : nullptr);
2370 if(m_peak_Gain_GetAccessStatus == nullptr && load)
2371 {
2372 throw std::runtime_error("Failed to load peak_Gain_GetAccessStatus");
2373 }
2374
2375 m_peak_Gain_GetChannelList = (dyn_peak_Gain_GetChannelList) (load ? import_function(m_handle, "peak_Gain_GetChannelList") : nullptr);
2376 if(m_peak_Gain_GetChannelList == nullptr && load)
2377 {
2378 throw std::runtime_error("Failed to load peak_Gain_GetChannelList");
2379 }
2380
2381 m_peak_Gain_GetRange = (dyn_peak_Gain_GetRange) (load ? import_function(m_handle, "peak_Gain_GetRange") : nullptr);
2382 if(m_peak_Gain_GetRange == nullptr && load)
2383 {
2384 throw std::runtime_error("Failed to load peak_Gain_GetRange");
2385 }
2386
2387 m_peak_Gain_Set = (dyn_peak_Gain_Set) (load ? import_function(m_handle, "peak_Gain_Set") : nullptr);
2388 if(m_peak_Gain_Set == nullptr && load)
2389 {
2390 throw std::runtime_error("Failed to load peak_Gain_Set");
2391 }
2392
2393 m_peak_Gain_Get = (dyn_peak_Gain_Get) (load ? import_function(m_handle, "peak_Gain_Get") : nullptr);
2394 if(m_peak_Gain_Get == nullptr && load)
2395 {
2396 throw std::runtime_error("Failed to load peak_Gain_Get");
2397 }
2398
2399 m_peak_Gamma_GetAccessStatus = (dyn_peak_Gamma_GetAccessStatus) (load ? import_function(m_handle, "peak_Gamma_GetAccessStatus") : nullptr);
2400 if(m_peak_Gamma_GetAccessStatus == nullptr && load)
2401 {
2402 throw std::runtime_error("Failed to load peak_Gamma_GetAccessStatus");
2403 }
2404
2405 m_peak_Gamma_GetRange = (dyn_peak_Gamma_GetRange) (load ? import_function(m_handle, "peak_Gamma_GetRange") : nullptr);
2406 if(m_peak_Gamma_GetRange == nullptr && load)
2407 {
2408 throw std::runtime_error("Failed to load peak_Gamma_GetRange");
2409 }
2410
2411 m_peak_Gamma_Set = (dyn_peak_Gamma_Set) (load ? import_function(m_handle, "peak_Gamma_Set") : nullptr);
2412 if(m_peak_Gamma_Set == nullptr && load)
2413 {
2414 throw std::runtime_error("Failed to load peak_Gamma_Set");
2415 }
2416
2417 m_peak_Gamma_Get = (dyn_peak_Gamma_Get) (load ? import_function(m_handle, "peak_Gamma_Get") : nullptr);
2418 if(m_peak_Gamma_Get == nullptr && load)
2419 {
2420 throw std::runtime_error("Failed to load peak_Gamma_Get");
2421 }
2422
2423 m_peak_ColorCorrection_GetAccessStatus = (dyn_peak_ColorCorrection_GetAccessStatus) (load ? import_function(m_handle, "peak_ColorCorrection_GetAccessStatus") : nullptr);
2424 if(m_peak_ColorCorrection_GetAccessStatus == nullptr && load)
2425 {
2426 throw std::runtime_error("Failed to load peak_ColorCorrection_GetAccessStatus");
2427 }
2428
2429 m_peak_ColorCorrection_Mode_GetList = (dyn_peak_ColorCorrection_Mode_GetList) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_GetList") : nullptr);
2430 if(m_peak_ColorCorrection_Mode_GetList == nullptr && load)
2431 {
2432 throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_GetList");
2433 }
2434
2435 m_peak_ColorCorrection_Mode_Set = (dyn_peak_ColorCorrection_Mode_Set) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_Set") : nullptr);
2436 if(m_peak_ColorCorrection_Mode_Set == nullptr && load)
2437 {
2438 throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_Set");
2439 }
2440
2441 m_peak_ColorCorrection_Mode_Get = (dyn_peak_ColorCorrection_Mode_Get) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_Get") : nullptr);
2442 if(m_peak_ColorCorrection_Mode_Get == nullptr && load)
2443 {
2444 throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_Get");
2445 }
2446
2447 m_peak_ColorCorrection_Matrix_GetAccessStatus = (dyn_peak_ColorCorrection_Matrix_GetAccessStatus) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_GetAccessStatus") : nullptr);
2448 if(m_peak_ColorCorrection_Matrix_GetAccessStatus == nullptr && load)
2449 {
2450 throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_GetAccessStatus");
2451 }
2452
2453 m_peak_ColorCorrection_Matrix_GetRange = (dyn_peak_ColorCorrection_Matrix_GetRange) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_GetRange") : nullptr);
2454 if(m_peak_ColorCorrection_Matrix_GetRange == nullptr && load)
2455 {
2456 throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_GetRange");
2457 }
2458
2459 m_peak_ColorCorrection_Matrix_Set = (dyn_peak_ColorCorrection_Matrix_Set) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_Set") : nullptr);
2460 if(m_peak_ColorCorrection_Matrix_Set == nullptr && load)
2461 {
2462 throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_Set");
2463 }
2464
2465 m_peak_ColorCorrection_Matrix_Get = (dyn_peak_ColorCorrection_Matrix_Get) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_Get") : nullptr);
2466 if(m_peak_ColorCorrection_Matrix_Get == nullptr && load)
2467 {
2468 throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_Get");
2469 }
2470
2471 m_peak_ColorCorrection_Enable = (dyn_peak_ColorCorrection_Enable) (load ? import_function(m_handle, "peak_ColorCorrection_Enable") : nullptr);
2472 if(m_peak_ColorCorrection_Enable == nullptr && load)
2473 {
2474 throw std::runtime_error("Failed to load peak_ColorCorrection_Enable");
2475 }
2476
2477 m_peak_ColorCorrection_IsEnabled = (dyn_peak_ColorCorrection_IsEnabled) (load ? import_function(m_handle, "peak_ColorCorrection_IsEnabled") : nullptr);
2478 if(m_peak_ColorCorrection_IsEnabled == nullptr && load)
2479 {
2480 throw std::runtime_error("Failed to load peak_ColorCorrection_IsEnabled");
2481 }
2482
2483 m_peak_AutoBrightness_GetAccessStatus = (dyn_peak_AutoBrightness_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_GetAccessStatus") : nullptr);
2484 if(m_peak_AutoBrightness_GetAccessStatus == nullptr && load)
2485 {
2486 throw std::runtime_error("Failed to load peak_AutoBrightness_GetAccessStatus");
2487 }
2488
2489 m_peak_AutoBrightness_Target_GetRange = (dyn_peak_AutoBrightness_Target_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_Target_GetRange") : nullptr);
2490 if(m_peak_AutoBrightness_Target_GetRange == nullptr && load)
2491 {
2492 throw std::runtime_error("Failed to load peak_AutoBrightness_Target_GetRange");
2493 }
2494
2495 m_peak_AutoBrightness_Target_Set = (dyn_peak_AutoBrightness_Target_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Target_Set") : nullptr);
2496 if(m_peak_AutoBrightness_Target_Set == nullptr && load)
2497 {
2498 throw std::runtime_error("Failed to load peak_AutoBrightness_Target_Set");
2499 }
2500
2501 m_peak_AutoBrightness_Target_Get = (dyn_peak_AutoBrightness_Target_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Target_Get") : nullptr);
2502 if(m_peak_AutoBrightness_Target_Get == nullptr && load)
2503 {
2504 throw std::runtime_error("Failed to load peak_AutoBrightness_Target_Get");
2505 }
2506
2507 m_peak_AutoBrightness_TargetTolerance_GetRange = (dyn_peak_AutoBrightness_TargetTolerance_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_GetRange") : nullptr);
2508 if(m_peak_AutoBrightness_TargetTolerance_GetRange == nullptr && load)
2509 {
2510 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_GetRange");
2511 }
2512
2513 m_peak_AutoBrightness_TargetTolerance_Set = (dyn_peak_AutoBrightness_TargetTolerance_Set) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_Set") : nullptr);
2514 if(m_peak_AutoBrightness_TargetTolerance_Set == nullptr && load)
2515 {
2516 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_Set");
2517 }
2518
2519 m_peak_AutoBrightness_TargetTolerance_Get = (dyn_peak_AutoBrightness_TargetTolerance_Get) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_Get") : nullptr);
2520 if(m_peak_AutoBrightness_TargetTolerance_Get == nullptr && load)
2521 {
2522 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_Get");
2523 }
2524
2525 m_peak_AutoBrightness_TargetPercentile_GetRange = (dyn_peak_AutoBrightness_TargetPercentile_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_GetRange") : nullptr);
2526 if(m_peak_AutoBrightness_TargetPercentile_GetRange == nullptr && load)
2527 {
2528 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_GetRange");
2529 }
2530
2531 m_peak_AutoBrightness_TargetPercentile_Set = (dyn_peak_AutoBrightness_TargetPercentile_Set) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_Set") : nullptr);
2532 if(m_peak_AutoBrightness_TargetPercentile_Set == nullptr && load)
2533 {
2534 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_Set");
2535 }
2536
2537 m_peak_AutoBrightness_TargetPercentile_Get = (dyn_peak_AutoBrightness_TargetPercentile_Get) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_Get") : nullptr);
2538 if(m_peak_AutoBrightness_TargetPercentile_Get == nullptr && load)
2539 {
2540 throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_Get");
2541 }
2542
2543 m_peak_AutoBrightness_ROI_Mode_Set = (dyn_peak_AutoBrightness_ROI_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Mode_Set") : nullptr);
2544 if(m_peak_AutoBrightness_ROI_Mode_Set == nullptr && load)
2545 {
2546 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Mode_Set");
2547 }
2548
2549 m_peak_AutoBrightness_ROI_Mode_Get = (dyn_peak_AutoBrightness_ROI_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Mode_Get") : nullptr);
2550 if(m_peak_AutoBrightness_ROI_Mode_Get == nullptr && load)
2551 {
2552 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Mode_Get");
2553 }
2554
2555 m_peak_AutoBrightness_ROI_Offset_GetRange = (dyn_peak_AutoBrightness_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Offset_GetRange") : nullptr);
2556 if(m_peak_AutoBrightness_ROI_Offset_GetRange == nullptr && load)
2557 {
2558 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Offset_GetRange");
2559 }
2560
2561 m_peak_AutoBrightness_ROI_Size_GetRange = (dyn_peak_AutoBrightness_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Size_GetRange") : nullptr);
2562 if(m_peak_AutoBrightness_ROI_Size_GetRange == nullptr && load)
2563 {
2564 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Size_GetRange");
2565 }
2566
2567 m_peak_AutoBrightness_ROI_Set = (dyn_peak_AutoBrightness_ROI_Set) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Set") : nullptr);
2568 if(m_peak_AutoBrightness_ROI_Set == nullptr && load)
2569 {
2570 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Set");
2571 }
2572
2573 m_peak_AutoBrightness_ROI_Get = (dyn_peak_AutoBrightness_ROI_Get) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Get") : nullptr);
2574 if(m_peak_AutoBrightness_ROI_Get == nullptr && load)
2575 {
2576 throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Get");
2577 }
2578
2579 m_peak_AutoBrightness_Exposure_GetAccessStatus = (dyn_peak_AutoBrightness_Exposure_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_GetAccessStatus") : nullptr);
2580 if(m_peak_AutoBrightness_Exposure_GetAccessStatus == nullptr && load)
2581 {
2582 throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_GetAccessStatus");
2583 }
2584
2585 m_peak_AutoBrightness_Exposure_Mode_Set = (dyn_peak_AutoBrightness_Exposure_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_Mode_Set") : nullptr);
2586 if(m_peak_AutoBrightness_Exposure_Mode_Set == nullptr && load)
2587 {
2588 throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_Mode_Set");
2589 }
2590
2591 m_peak_AutoBrightness_Exposure_Mode_Get = (dyn_peak_AutoBrightness_Exposure_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_Mode_Get") : nullptr);
2592 if(m_peak_AutoBrightness_Exposure_Mode_Get == nullptr && load)
2593 {
2594 throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_Mode_Get");
2595 }
2596
2597 m_peak_AutoBrightness_Gain_GetAccessStatus = (dyn_peak_AutoBrightness_Gain_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_GetAccessStatus") : nullptr);
2598 if(m_peak_AutoBrightness_Gain_GetAccessStatus == nullptr && load)
2599 {
2600 throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_GetAccessStatus");
2601 }
2602
2603 m_peak_AutoBrightness_Gain_Mode_Set = (dyn_peak_AutoBrightness_Gain_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_Mode_Set") : nullptr);
2604 if(m_peak_AutoBrightness_Gain_Mode_Set == nullptr && load)
2605 {
2606 throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_Mode_Set");
2607 }
2608
2609 m_peak_AutoBrightness_Gain_Mode_Get = (dyn_peak_AutoBrightness_Gain_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_Mode_Get") : nullptr);
2610 if(m_peak_AutoBrightness_Gain_Mode_Get == nullptr && load)
2611 {
2612 throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_Mode_Get");
2613 }
2614
2615 m_peak_AutoWhiteBalance_GetAccessStatus = (dyn_peak_AutoWhiteBalance_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoWhiteBalance_GetAccessStatus") : nullptr);
2616 if(m_peak_AutoWhiteBalance_GetAccessStatus == nullptr && load)
2617 {
2618 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_GetAccessStatus");
2619 }
2620
2621 m_peak_AutoWhiteBalance_ROI_Mode_Set = (dyn_peak_AutoWhiteBalance_ROI_Mode_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Mode_Set") : nullptr);
2622 if(m_peak_AutoWhiteBalance_ROI_Mode_Set == nullptr && load)
2623 {
2624 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Mode_Set");
2625 }
2626
2627 m_peak_AutoWhiteBalance_ROI_Mode_Get = (dyn_peak_AutoWhiteBalance_ROI_Mode_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Mode_Get") : nullptr);
2628 if(m_peak_AutoWhiteBalance_ROI_Mode_Get == nullptr && load)
2629 {
2630 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Mode_Get");
2631 }
2632
2633 m_peak_AutoWhiteBalance_ROI_Offset_GetRange = (dyn_peak_AutoWhiteBalance_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Offset_GetRange") : nullptr);
2634 if(m_peak_AutoWhiteBalance_ROI_Offset_GetRange == nullptr && load)
2635 {
2636 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Offset_GetRange");
2637 }
2638
2639 m_peak_AutoWhiteBalance_ROI_Size_GetRange = (dyn_peak_AutoWhiteBalance_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Size_GetRange") : nullptr);
2640 if(m_peak_AutoWhiteBalance_ROI_Size_GetRange == nullptr && load)
2641 {
2642 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Size_GetRange");
2643 }
2644
2645 m_peak_AutoWhiteBalance_ROI_Set = (dyn_peak_AutoWhiteBalance_ROI_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Set") : nullptr);
2646 if(m_peak_AutoWhiteBalance_ROI_Set == nullptr && load)
2647 {
2648 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Set");
2649 }
2650
2651 m_peak_AutoWhiteBalance_ROI_Get = (dyn_peak_AutoWhiteBalance_ROI_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Get") : nullptr);
2652 if(m_peak_AutoWhiteBalance_ROI_Get == nullptr && load)
2653 {
2654 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Get");
2655 }
2656
2657 m_peak_AutoWhiteBalance_Mode_Set = (dyn_peak_AutoWhiteBalance_Mode_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_Mode_Set") : nullptr);
2658 if(m_peak_AutoWhiteBalance_Mode_Set == nullptr && load)
2659 {
2660 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_Mode_Set");
2661 }
2662
2663 m_peak_AutoWhiteBalance_Mode_Get = (dyn_peak_AutoWhiteBalance_Mode_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_Mode_Get") : nullptr);
2664 if(m_peak_AutoWhiteBalance_Mode_Get == nullptr && load)
2665 {
2666 throw std::runtime_error("Failed to load peak_AutoWhiteBalance_Mode_Get");
2667 }
2668
2669 m_peak_ROI_GetAccessStatus = (dyn_peak_ROI_GetAccessStatus) (load ? import_function(m_handle, "peak_ROI_GetAccessStatus") : nullptr);
2670 if(m_peak_ROI_GetAccessStatus == nullptr && load)
2671 {
2672 throw std::runtime_error("Failed to load peak_ROI_GetAccessStatus");
2673 }
2674
2675 m_peak_ROI_Offset_GetRange = (dyn_peak_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_ROI_Offset_GetRange") : nullptr);
2676 if(m_peak_ROI_Offset_GetRange == nullptr && load)
2677 {
2678 throw std::runtime_error("Failed to load peak_ROI_Offset_GetRange");
2679 }
2680
2681 m_peak_ROI_Size_GetRange = (dyn_peak_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_ROI_Size_GetRange") : nullptr);
2682 if(m_peak_ROI_Size_GetRange == nullptr && load)
2683 {
2684 throw std::runtime_error("Failed to load peak_ROI_Size_GetRange");
2685 }
2686
2687 m_peak_ROI_Set = (dyn_peak_ROI_Set) (load ? import_function(m_handle, "peak_ROI_Set") : nullptr);
2688 if(m_peak_ROI_Set == nullptr && load)
2689 {
2690 throw std::runtime_error("Failed to load peak_ROI_Set");
2691 }
2692
2693 m_peak_ROI_Get = (dyn_peak_ROI_Get) (load ? import_function(m_handle, "peak_ROI_Get") : nullptr);
2694 if(m_peak_ROI_Get == nullptr && load)
2695 {
2696 throw std::runtime_error("Failed to load peak_ROI_Get");
2697 }
2698
2699 m_peak_Binning_GetAccessStatus = (dyn_peak_Binning_GetAccessStatus) (load ? import_function(m_handle, "peak_Binning_GetAccessStatus") : nullptr);
2700 if(m_peak_Binning_GetAccessStatus == nullptr && load)
2701 {
2702 throw std::runtime_error("Failed to load peak_Binning_GetAccessStatus");
2703 }
2704
2705 m_peak_Binning_FactorX_GetList = (dyn_peak_Binning_FactorX_GetList) (load ? import_function(m_handle, "peak_Binning_FactorX_GetList") : nullptr);
2706 if(m_peak_Binning_FactorX_GetList == nullptr && load)
2707 {
2708 throw std::runtime_error("Failed to load peak_Binning_FactorX_GetList");
2709 }
2710
2711 m_peak_Binning_FactorY_GetList = (dyn_peak_Binning_FactorY_GetList) (load ? import_function(m_handle, "peak_Binning_FactorY_GetList") : nullptr);
2712 if(m_peak_Binning_FactorY_GetList == nullptr && load)
2713 {
2714 throw std::runtime_error("Failed to load peak_Binning_FactorY_GetList");
2715 }
2716
2717 m_peak_Binning_Set = (dyn_peak_Binning_Set) (load ? import_function(m_handle, "peak_Binning_Set") : nullptr);
2718 if(m_peak_Binning_Set == nullptr && load)
2719 {
2720 throw std::runtime_error("Failed to load peak_Binning_Set");
2721 }
2722
2723 m_peak_Binning_Get = (dyn_peak_Binning_Get) (load ? import_function(m_handle, "peak_Binning_Get") : nullptr);
2724 if(m_peak_Binning_Get == nullptr && load)
2725 {
2726 throw std::runtime_error("Failed to load peak_Binning_Get");
2727 }
2728
2729 m_peak_Decimation_GetAccessStatus = (dyn_peak_Decimation_GetAccessStatus) (load ? import_function(m_handle, "peak_Decimation_GetAccessStatus") : nullptr);
2730 if(m_peak_Decimation_GetAccessStatus == nullptr && load)
2731 {
2732 throw std::runtime_error("Failed to load peak_Decimation_GetAccessStatus");
2733 }
2734
2735 m_peak_Decimation_FactorX_GetList = (dyn_peak_Decimation_FactorX_GetList) (load ? import_function(m_handle, "peak_Decimation_FactorX_GetList") : nullptr);
2736 if(m_peak_Decimation_FactorX_GetList == nullptr && load)
2737 {
2738 throw std::runtime_error("Failed to load peak_Decimation_FactorX_GetList");
2739 }
2740
2741 m_peak_Decimation_FactorY_GetList = (dyn_peak_Decimation_FactorY_GetList) (load ? import_function(m_handle, "peak_Decimation_FactorY_GetList") : nullptr);
2742 if(m_peak_Decimation_FactorY_GetList == nullptr && load)
2743 {
2744 throw std::runtime_error("Failed to load peak_Decimation_FactorY_GetList");
2745 }
2746
2747 m_peak_Decimation_Set = (dyn_peak_Decimation_Set) (load ? import_function(m_handle, "peak_Decimation_Set") : nullptr);
2748 if(m_peak_Decimation_Set == nullptr && load)
2749 {
2750 throw std::runtime_error("Failed to load peak_Decimation_Set");
2751 }
2752
2753 m_peak_Decimation_Get = (dyn_peak_Decimation_Get) (load ? import_function(m_handle, "peak_Decimation_Get") : nullptr);
2754 if(m_peak_Decimation_Get == nullptr && load)
2755 {
2756 throw std::runtime_error("Failed to load peak_Decimation_Get");
2757 }
2758
2759 m_peak_Mirror_LeftRight_GetAccessStatus = (dyn_peak_Mirror_LeftRight_GetAccessStatus) (load ? import_function(m_handle, "peak_Mirror_LeftRight_GetAccessStatus") : nullptr);
2760 if(m_peak_Mirror_LeftRight_GetAccessStatus == nullptr && load)
2761 {
2762 throw std::runtime_error("Failed to load peak_Mirror_LeftRight_GetAccessStatus");
2763 }
2764
2765 m_peak_Mirror_LeftRight_Enable = (dyn_peak_Mirror_LeftRight_Enable) (load ? import_function(m_handle, "peak_Mirror_LeftRight_Enable") : nullptr);
2766 if(m_peak_Mirror_LeftRight_Enable == nullptr && load)
2767 {
2768 throw std::runtime_error("Failed to load peak_Mirror_LeftRight_Enable");
2769 }
2770
2771 m_peak_Mirror_LeftRight_IsEnabled = (dyn_peak_Mirror_LeftRight_IsEnabled) (load ? import_function(m_handle, "peak_Mirror_LeftRight_IsEnabled") : nullptr);
2772 if(m_peak_Mirror_LeftRight_IsEnabled == nullptr && load)
2773 {
2774 throw std::runtime_error("Failed to load peak_Mirror_LeftRight_IsEnabled");
2775 }
2776
2777 m_peak_Mirror_UpDown_GetAccessStatus = (dyn_peak_Mirror_UpDown_GetAccessStatus) (load ? import_function(m_handle, "peak_Mirror_UpDown_GetAccessStatus") : nullptr);
2778 if(m_peak_Mirror_UpDown_GetAccessStatus == nullptr && load)
2779 {
2780 throw std::runtime_error("Failed to load peak_Mirror_UpDown_GetAccessStatus");
2781 }
2782
2783 m_peak_Mirror_UpDown_Enable = (dyn_peak_Mirror_UpDown_Enable) (load ? import_function(m_handle, "peak_Mirror_UpDown_Enable") : nullptr);
2784 if(m_peak_Mirror_UpDown_Enable == nullptr && load)
2785 {
2786 throw std::runtime_error("Failed to load peak_Mirror_UpDown_Enable");
2787 }
2788
2789 m_peak_Mirror_UpDown_IsEnabled = (dyn_peak_Mirror_UpDown_IsEnabled) (load ? import_function(m_handle, "peak_Mirror_UpDown_IsEnabled") : nullptr);
2790 if(m_peak_Mirror_UpDown_IsEnabled == nullptr && load)
2791 {
2792 throw std::runtime_error("Failed to load peak_Mirror_UpDown_IsEnabled");
2793 }
2794
2795 m_peak_CameraMemory_Area_GetAccessStatus = (dyn_peak_CameraMemory_Area_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraMemory_Area_GetAccessStatus") : nullptr);
2796 if(m_peak_CameraMemory_Area_GetAccessStatus == nullptr && load)
2797 {
2798 throw std::runtime_error("Failed to load peak_CameraMemory_Area_GetAccessStatus");
2799 }
2800
2801 m_peak_CameraMemory_Area_GetList = (dyn_peak_CameraMemory_Area_GetList) (load ? import_function(m_handle, "peak_CameraMemory_Area_GetList") : nullptr);
2802 if(m_peak_CameraMemory_Area_GetList == nullptr && load)
2803 {
2804 throw std::runtime_error("Failed to load peak_CameraMemory_Area_GetList");
2805 }
2806
2807 m_peak_CameraMemory_Area_Size_Get = (dyn_peak_CameraMemory_Area_Size_Get) (load ? import_function(m_handle, "peak_CameraMemory_Area_Size_Get") : nullptr);
2808 if(m_peak_CameraMemory_Area_Size_Get == nullptr && load)
2809 {
2810 throw std::runtime_error("Failed to load peak_CameraMemory_Area_Size_Get");
2811 }
2812
2813 m_peak_CameraMemory_Area_Data_Clear = (dyn_peak_CameraMemory_Area_Data_Clear) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Clear") : nullptr);
2814 if(m_peak_CameraMemory_Area_Data_Clear == nullptr && load)
2815 {
2816 throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Clear");
2817 }
2818
2819 m_peak_CameraMemory_Area_Data_Write = (dyn_peak_CameraMemory_Area_Data_Write) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Write") : nullptr);
2820 if(m_peak_CameraMemory_Area_Data_Write == nullptr && load)
2821 {
2822 throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Write");
2823 }
2824
2825 m_peak_CameraMemory_Area_Data_Read = (dyn_peak_CameraMemory_Area_Data_Read) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Read") : nullptr);
2826 if(m_peak_CameraMemory_Area_Data_Read == nullptr && load)
2827 {
2828 throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Read");
2829 }
2830
2831 m_peak_GFA_EnableWriteAccess = (dyn_peak_GFA_EnableWriteAccess) (load ? import_function(m_handle, "peak_GFA_EnableWriteAccess") : nullptr);
2832 if(m_peak_GFA_EnableWriteAccess == nullptr && load)
2833 {
2834 throw std::runtime_error("Failed to load peak_GFA_EnableWriteAccess");
2835 }
2836
2837 m_peak_GFA_IsWriteAccessEnabled = (dyn_peak_GFA_IsWriteAccessEnabled) (load ? import_function(m_handle, "peak_GFA_IsWriteAccessEnabled") : nullptr);
2838 if(m_peak_GFA_IsWriteAccessEnabled == nullptr && load)
2839 {
2840 throw std::runtime_error("Failed to load peak_GFA_IsWriteAccessEnabled");
2841 }
2842
2843 m_peak_GFA_Feature_GetAccessStatus = (dyn_peak_GFA_Feature_GetAccessStatus) (load ? import_function(m_handle, "peak_GFA_Feature_GetAccessStatus") : nullptr);
2844 if(m_peak_GFA_Feature_GetAccessStatus == nullptr && load)
2845 {
2846 throw std::runtime_error("Failed to load peak_GFA_Feature_GetAccessStatus");
2847 }
2848
2849 m_peak_GFA_Float_HasRange = (dyn_peak_GFA_Float_HasRange) (load ? import_function(m_handle, "peak_GFA_Float_HasRange") : nullptr);
2850 if(m_peak_GFA_Float_HasRange == nullptr && load)
2851 {
2852 throw std::runtime_error("Failed to load peak_GFA_Float_HasRange");
2853 }
2854
2855 m_peak_GFA_Float_GetRange = (dyn_peak_GFA_Float_GetRange) (load ? import_function(m_handle, "peak_GFA_Float_GetRange") : nullptr);
2856 if(m_peak_GFA_Float_GetRange == nullptr && load)
2857 {
2858 throw std::runtime_error("Failed to load peak_GFA_Float_GetRange");
2859 }
2860
2861 m_peak_GFA_Float_GetList = (dyn_peak_GFA_Float_GetList) (load ? import_function(m_handle, "peak_GFA_Float_GetList") : nullptr);
2862 if(m_peak_GFA_Float_GetList == nullptr && load)
2863 {
2864 throw std::runtime_error("Failed to load peak_GFA_Float_GetList");
2865 }
2866
2867 m_peak_GFA_Float_Set = (dyn_peak_GFA_Float_Set) (load ? import_function(m_handle, "peak_GFA_Float_Set") : nullptr);
2868 if(m_peak_GFA_Float_Set == nullptr && load)
2869 {
2870 throw std::runtime_error("Failed to load peak_GFA_Float_Set");
2871 }
2872
2873 m_peak_GFA_Float_Get = (dyn_peak_GFA_Float_Get) (load ? import_function(m_handle, "peak_GFA_Float_Get") : nullptr);
2874 if(m_peak_GFA_Float_Get == nullptr && load)
2875 {
2876 throw std::runtime_error("Failed to load peak_GFA_Float_Get");
2877 }
2878
2879 m_peak_GFA_Integer_HasRange = (dyn_peak_GFA_Integer_HasRange) (load ? import_function(m_handle, "peak_GFA_Integer_HasRange") : nullptr);
2880 if(m_peak_GFA_Integer_HasRange == nullptr && load)
2881 {
2882 throw std::runtime_error("Failed to load peak_GFA_Integer_HasRange");
2883 }
2884
2885 m_peak_GFA_Integer_GetRange = (dyn_peak_GFA_Integer_GetRange) (load ? import_function(m_handle, "peak_GFA_Integer_GetRange") : nullptr);
2886 if(m_peak_GFA_Integer_GetRange == nullptr && load)
2887 {
2888 throw std::runtime_error("Failed to load peak_GFA_Integer_GetRange");
2889 }
2890
2891 m_peak_GFA_Integer_GetList = (dyn_peak_GFA_Integer_GetList) (load ? import_function(m_handle, "peak_GFA_Integer_GetList") : nullptr);
2892 if(m_peak_GFA_Integer_GetList == nullptr && load)
2893 {
2894 throw std::runtime_error("Failed to load peak_GFA_Integer_GetList");
2895 }
2896
2897 m_peak_GFA_Integer_Set = (dyn_peak_GFA_Integer_Set) (load ? import_function(m_handle, "peak_GFA_Integer_Set") : nullptr);
2898 if(m_peak_GFA_Integer_Set == nullptr && load)
2899 {
2900 throw std::runtime_error("Failed to load peak_GFA_Integer_Set");
2901 }
2902
2903 m_peak_GFA_Integer_Get = (dyn_peak_GFA_Integer_Get) (load ? import_function(m_handle, "peak_GFA_Integer_Get") : nullptr);
2904 if(m_peak_GFA_Integer_Get == nullptr && load)
2905 {
2906 throw std::runtime_error("Failed to load peak_GFA_Integer_Get");
2907 }
2908
2909 m_peak_GFA_Boolean_Set = (dyn_peak_GFA_Boolean_Set) (load ? import_function(m_handle, "peak_GFA_Boolean_Set") : nullptr);
2910 if(m_peak_GFA_Boolean_Set == nullptr && load)
2911 {
2912 throw std::runtime_error("Failed to load peak_GFA_Boolean_Set");
2913 }
2914
2915 m_peak_GFA_Boolean_Get = (dyn_peak_GFA_Boolean_Get) (load ? import_function(m_handle, "peak_GFA_Boolean_Get") : nullptr);
2916 if(m_peak_GFA_Boolean_Get == nullptr && load)
2917 {
2918 throw std::runtime_error("Failed to load peak_GFA_Boolean_Get");
2919 }
2920
2921 m_peak_GFA_String_Set = (dyn_peak_GFA_String_Set) (load ? import_function(m_handle, "peak_GFA_String_Set") : nullptr);
2922 if(m_peak_GFA_String_Set == nullptr && load)
2923 {
2924 throw std::runtime_error("Failed to load peak_GFA_String_Set");
2925 }
2926
2927 m_peak_GFA_String_Get = (dyn_peak_GFA_String_Get) (load ? import_function(m_handle, "peak_GFA_String_Get") : nullptr);
2928 if(m_peak_GFA_String_Get == nullptr && load)
2929 {
2930 throw std::runtime_error("Failed to load peak_GFA_String_Get");
2931 }
2932
2933 m_peak_GFA_Command_Execute = (dyn_peak_GFA_Command_Execute) (load ? import_function(m_handle, "peak_GFA_Command_Execute") : nullptr);
2934 if(m_peak_GFA_Command_Execute == nullptr && load)
2935 {
2936 throw std::runtime_error("Failed to load peak_GFA_Command_Execute");
2937 }
2938
2939 m_peak_GFA_Command_WaitForDone = (dyn_peak_GFA_Command_WaitForDone) (load ? import_function(m_handle, "peak_GFA_Command_WaitForDone") : nullptr);
2940 if(m_peak_GFA_Command_WaitForDone == nullptr && load)
2941 {
2942 throw std::runtime_error("Failed to load peak_GFA_Command_WaitForDone");
2943 }
2944
2945 m_peak_GFA_Enumeration_GetList = (dyn_peak_GFA_Enumeration_GetList) (load ? import_function(m_handle, "peak_GFA_Enumeration_GetList") : nullptr);
2946 if(m_peak_GFA_Enumeration_GetList == nullptr && load)
2947 {
2948 throw std::runtime_error("Failed to load peak_GFA_Enumeration_GetList");
2949 }
2950
2951 m_peak_GFA_EnumerationEntry_GetAccessStatus = (dyn_peak_GFA_EnumerationEntry_GetAccessStatus) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatus") : nullptr);
2952 if(m_peak_GFA_EnumerationEntry_GetAccessStatus == nullptr && load)
2953 {
2954 throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatus");
2955 }
2956
2957 m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue = (dyn_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue") : nullptr);
2958 if(m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue == nullptr && load)
2959 {
2960 throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue");
2961 }
2962
2963 m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue = (dyn_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue") : nullptr);
2964 if(m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue == nullptr && load)
2965 {
2966 throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue");
2967 }
2968
2969 m_peak_GFA_Enumeration_Set = (dyn_peak_GFA_Enumeration_Set) (load ? import_function(m_handle, "peak_GFA_Enumeration_Set") : nullptr);
2970 if(m_peak_GFA_Enumeration_Set == nullptr && load)
2971 {
2972 throw std::runtime_error("Failed to load peak_GFA_Enumeration_Set");
2973 }
2974
2975 m_peak_GFA_Enumeration_SetBySymbolicValue = (dyn_peak_GFA_Enumeration_SetBySymbolicValue) (load ? import_function(m_handle, "peak_GFA_Enumeration_SetBySymbolicValue") : nullptr);
2976 if(m_peak_GFA_Enumeration_SetBySymbolicValue == nullptr && load)
2977 {
2978 throw std::runtime_error("Failed to load peak_GFA_Enumeration_SetBySymbolicValue");
2979 }
2980
2981 m_peak_GFA_Enumeration_SetByIntegerValue = (dyn_peak_GFA_Enumeration_SetByIntegerValue) (load ? import_function(m_handle, "peak_GFA_Enumeration_SetByIntegerValue") : nullptr);
2982 if(m_peak_GFA_Enumeration_SetByIntegerValue == nullptr && load)
2983 {
2984 throw std::runtime_error("Failed to load peak_GFA_Enumeration_SetByIntegerValue");
2985 }
2986
2987 m_peak_GFA_Enumeration_Get = (dyn_peak_GFA_Enumeration_Get) (load ? import_function(m_handle, "peak_GFA_Enumeration_Get") : nullptr);
2988 if(m_peak_GFA_Enumeration_Get == nullptr && load)
2989 {
2990 throw std::runtime_error("Failed to load peak_GFA_Enumeration_Get");
2991 }
2992
2993 m_peak_GFA_Register_Set = (dyn_peak_GFA_Register_Set) (load ? import_function(m_handle, "peak_GFA_Register_Set") : nullptr);
2994 if(m_peak_GFA_Register_Set == nullptr && load)
2995 {
2996 throw std::runtime_error("Failed to load peak_GFA_Register_Set");
2997 }
2998
2999 m_peak_GFA_Register_Get = (dyn_peak_GFA_Register_Get) (load ? import_function(m_handle, "peak_GFA_Register_Get") : nullptr);
3000 if(m_peak_GFA_Register_Get == nullptr && load)
3001 {
3002 throw std::runtime_error("Failed to load peak_GFA_Register_Get");
3003 }
3004
3005 m_peak_GFA_Data_Write = (dyn_peak_GFA_Data_Write) (load ? import_function(m_handle, "peak_GFA_Data_Write") : nullptr);
3006 if(m_peak_GFA_Data_Write == nullptr && load)
3007 {
3008 throw std::runtime_error("Failed to load peak_GFA_Data_Write");
3009 }
3010
3011 m_peak_GFA_Data_Read = (dyn_peak_GFA_Data_Read) (load ? import_function(m_handle, "peak_GFA_Data_Read") : nullptr);
3012 if(m_peak_GFA_Data_Read == nullptr && load)
3013 {
3014 throw std::runtime_error("Failed to load peak_GFA_Data_Read");
3015 }
3016
3017 m_peak_IPL_PixelFormat_GetList = (dyn_peak_IPL_PixelFormat_GetList) (load ? import_function(m_handle, "peak_IPL_PixelFormat_GetList") : nullptr);
3018 if(m_peak_IPL_PixelFormat_GetList == nullptr && load)
3019 {
3020 throw std::runtime_error("Failed to load peak_IPL_PixelFormat_GetList");
3021 }
3022
3023 m_peak_IPL_PixelFormat_Set = (dyn_peak_IPL_PixelFormat_Set) (load ? import_function(m_handle, "peak_IPL_PixelFormat_Set") : nullptr);
3024 if(m_peak_IPL_PixelFormat_Set == nullptr && load)
3025 {
3026 throw std::runtime_error("Failed to load peak_IPL_PixelFormat_Set");
3027 }
3028
3029 m_peak_IPL_PixelFormat_Get = (dyn_peak_IPL_PixelFormat_Get) (load ? import_function(m_handle, "peak_IPL_PixelFormat_Get") : nullptr);
3030 if(m_peak_IPL_PixelFormat_Get == nullptr && load)
3031 {
3032 throw std::runtime_error("Failed to load peak_IPL_PixelFormat_Get");
3033 }
3034
3035 m_peak_IPL_Gain_GetRange = (dyn_peak_IPL_Gain_GetRange) (load ? import_function(m_handle, "peak_IPL_Gain_GetRange") : nullptr);
3036 if(m_peak_IPL_Gain_GetRange == nullptr && load)
3037 {
3038 throw std::runtime_error("Failed to load peak_IPL_Gain_GetRange");
3039 }
3040
3041 m_peak_IPL_Gain_Set = (dyn_peak_IPL_Gain_Set) (load ? import_function(m_handle, "peak_IPL_Gain_Set") : nullptr);
3042 if(m_peak_IPL_Gain_Set == nullptr && load)
3043 {
3044 throw std::runtime_error("Failed to load peak_IPL_Gain_Set");
3045 }
3046
3047 m_peak_IPL_Gain_Get = (dyn_peak_IPL_Gain_Get) (load ? import_function(m_handle, "peak_IPL_Gain_Get") : nullptr);
3048 if(m_peak_IPL_Gain_Get == nullptr && load)
3049 {
3050 throw std::runtime_error("Failed to load peak_IPL_Gain_Get");
3051 }
3052
3053 m_peak_IPL_Gamma_GetRange = (dyn_peak_IPL_Gamma_GetRange) (load ? import_function(m_handle, "peak_IPL_Gamma_GetRange") : nullptr);
3054 if(m_peak_IPL_Gamma_GetRange == nullptr && load)
3055 {
3056 throw std::runtime_error("Failed to load peak_IPL_Gamma_GetRange");
3057 }
3058
3059 m_peak_IPL_Gamma_Set = (dyn_peak_IPL_Gamma_Set) (load ? import_function(m_handle, "peak_IPL_Gamma_Set") : nullptr);
3060 if(m_peak_IPL_Gamma_Set == nullptr && load)
3061 {
3062 throw std::runtime_error("Failed to load peak_IPL_Gamma_Set");
3063 }
3064
3065 m_peak_IPL_Gamma_Get = (dyn_peak_IPL_Gamma_Get) (load ? import_function(m_handle, "peak_IPL_Gamma_Get") : nullptr);
3066 if(m_peak_IPL_Gamma_Get == nullptr && load)
3067 {
3068 throw std::runtime_error("Failed to load peak_IPL_Gamma_Get");
3069 }
3070
3071 m_peak_IPL_ColorCorrection_Matrix_Set = (dyn_peak_IPL_ColorCorrection_Matrix_Set) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Matrix_Set") : nullptr);
3072 if(m_peak_IPL_ColorCorrection_Matrix_Set == nullptr && load)
3073 {
3074 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Matrix_Set");
3075 }
3076
3077 m_peak_IPL_ColorCorrection_Matrix_Get = (dyn_peak_IPL_ColorCorrection_Matrix_Get) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Matrix_Get") : nullptr);
3078 if(m_peak_IPL_ColorCorrection_Matrix_Get == nullptr && load)
3079 {
3080 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Matrix_Get");
3081 }
3082
3083 m_peak_IPL_ColorCorrection_Saturation_Get = (dyn_peak_IPL_ColorCorrection_Saturation_Get) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_Get") : nullptr);
3084 if(m_peak_IPL_ColorCorrection_Saturation_Get == nullptr && load)
3085 {
3086 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_Get");
3087 }
3088
3089 m_peak_IPL_ColorCorrection_Saturation_Set = (dyn_peak_IPL_ColorCorrection_Saturation_Set) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_Set") : nullptr);
3090 if(m_peak_IPL_ColorCorrection_Saturation_Set == nullptr && load)
3091 {
3092 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_Set");
3093 }
3094
3095 m_peak_IPL_ColorCorrection_Saturation_GetRange = (dyn_peak_IPL_ColorCorrection_Saturation_GetRange) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_GetRange") : nullptr);
3096 if(m_peak_IPL_ColorCorrection_Saturation_GetRange == nullptr && load)
3097 {
3098 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_GetRange");
3099 }
3100
3101 m_peak_IPL_ColorCorrection_Enable = (dyn_peak_IPL_ColorCorrection_Enable) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Enable") : nullptr);
3102 if(m_peak_IPL_ColorCorrection_Enable == nullptr && load)
3103 {
3104 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Enable");
3105 }
3106
3107 m_peak_IPL_ColorCorrection_IsEnabled = (dyn_peak_IPL_ColorCorrection_IsEnabled) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_IsEnabled") : nullptr);
3108 if(m_peak_IPL_ColorCorrection_IsEnabled == nullptr && load)
3109 {
3110 throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_IsEnabled");
3111 }
3112
3113 m_peak_IPL_AutoBrightness_Target_GetRange = (dyn_peak_IPL_AutoBrightness_Target_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_GetRange") : nullptr);
3114 if(m_peak_IPL_AutoBrightness_Target_GetRange == nullptr && load)
3115 {
3116 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_GetRange");
3117 }
3118
3119 m_peak_IPL_AutoBrightness_Target_Set = (dyn_peak_IPL_AutoBrightness_Target_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_Set") : nullptr);
3120 if(m_peak_IPL_AutoBrightness_Target_Set == nullptr && load)
3121 {
3122 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_Set");
3123 }
3124
3125 m_peak_IPL_AutoBrightness_Target_Get = (dyn_peak_IPL_AutoBrightness_Target_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_Get") : nullptr);
3126 if(m_peak_IPL_AutoBrightness_Target_Get == nullptr && load)
3127 {
3128 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_Get");
3129 }
3130
3131 m_peak_IPL_AutoBrightness_TargetTolerance_GetRange = (dyn_peak_IPL_AutoBrightness_TargetTolerance_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_GetRange") : nullptr);
3132 if(m_peak_IPL_AutoBrightness_TargetTolerance_GetRange == nullptr && load)
3133 {
3134 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_GetRange");
3135 }
3136
3137 m_peak_IPL_AutoBrightness_TargetTolerance_Set = (dyn_peak_IPL_AutoBrightness_TargetTolerance_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_Set") : nullptr);
3138 if(m_peak_IPL_AutoBrightness_TargetTolerance_Set == nullptr && load)
3139 {
3140 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_Set");
3141 }
3142
3143 m_peak_IPL_AutoBrightness_TargetTolerance_Get = (dyn_peak_IPL_AutoBrightness_TargetTolerance_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_Get") : nullptr);
3144 if(m_peak_IPL_AutoBrightness_TargetTolerance_Get == nullptr && load)
3145 {
3146 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_Get");
3147 }
3148
3149 m_peak_IPL_AutoBrightness_TargetPercentile_GetRange = (dyn_peak_IPL_AutoBrightness_TargetPercentile_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_GetRange") : nullptr);
3150 if(m_peak_IPL_AutoBrightness_TargetPercentile_GetRange == nullptr && load)
3151 {
3152 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_GetRange");
3153 }
3154
3155 m_peak_IPL_AutoBrightness_TargetPercentile_Set = (dyn_peak_IPL_AutoBrightness_TargetPercentile_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_Set") : nullptr);
3156 if(m_peak_IPL_AutoBrightness_TargetPercentile_Set == nullptr && load)
3157 {
3158 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_Set");
3159 }
3160
3161 m_peak_IPL_AutoBrightness_TargetPercentile_Get = (dyn_peak_IPL_AutoBrightness_TargetPercentile_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_Get") : nullptr);
3162 if(m_peak_IPL_AutoBrightness_TargetPercentile_Get == nullptr && load)
3163 {
3164 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_Get");
3165 }
3166
3167 m_peak_IPL_AutoBrightness_ROI_Mode_Set = (dyn_peak_IPL_AutoBrightness_ROI_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Mode_Set") : nullptr);
3168 if(m_peak_IPL_AutoBrightness_ROI_Mode_Set == nullptr && load)
3169 {
3170 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Mode_Set");
3171 }
3172
3173 m_peak_IPL_AutoBrightness_ROI_Mode_Get = (dyn_peak_IPL_AutoBrightness_ROI_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Mode_Get") : nullptr);
3174 if(m_peak_IPL_AutoBrightness_ROI_Mode_Get == nullptr && load)
3175 {
3176 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Mode_Get");
3177 }
3178
3179 m_peak_IPL_AutoBrightness_ROI_Offset_GetRange = (dyn_peak_IPL_AutoBrightness_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Offset_GetRange") : nullptr);
3180 if(m_peak_IPL_AutoBrightness_ROI_Offset_GetRange == nullptr && load)
3181 {
3182 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Offset_GetRange");
3183 }
3184
3185 m_peak_IPL_AutoBrightness_ROI_Size_GetRange = (dyn_peak_IPL_AutoBrightness_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Size_GetRange") : nullptr);
3186 if(m_peak_IPL_AutoBrightness_ROI_Size_GetRange == nullptr && load)
3187 {
3188 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Size_GetRange");
3189 }
3190
3191 m_peak_IPL_AutoBrightness_ROI_Set = (dyn_peak_IPL_AutoBrightness_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Set") : nullptr);
3192 if(m_peak_IPL_AutoBrightness_ROI_Set == nullptr && load)
3193 {
3194 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Set");
3195 }
3196
3197 m_peak_IPL_AutoBrightness_ROI_Get = (dyn_peak_IPL_AutoBrightness_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Get") : nullptr);
3198 if(m_peak_IPL_AutoBrightness_ROI_Get == nullptr && load)
3199 {
3200 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Get");
3201 }
3202
3203 m_peak_IPL_AutoBrightness_Exposure_Mode_Set = (dyn_peak_IPL_AutoBrightness_Exposure_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Exposure_Mode_Set") : nullptr);
3204 if(m_peak_IPL_AutoBrightness_Exposure_Mode_Set == nullptr && load)
3205 {
3206 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Exposure_Mode_Set");
3207 }
3208
3209 m_peak_IPL_AutoBrightness_Exposure_Mode_Get = (dyn_peak_IPL_AutoBrightness_Exposure_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Exposure_Mode_Get") : nullptr);
3210 if(m_peak_IPL_AutoBrightness_Exposure_Mode_Get == nullptr && load)
3211 {
3212 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Exposure_Mode_Get");
3213 }
3214
3215 m_peak_IPL_AutoBrightness_ExposureLimit_Get = (dyn_peak_IPL_AutoBrightness_ExposureLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ExposureLimit_Get") : nullptr);
3216 if(m_peak_IPL_AutoBrightness_ExposureLimit_Get == nullptr && load)
3217 {
3218 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ExposureLimit_Get");
3219 }
3220
3221 m_peak_IPL_AutoBrightness_ExposureLimit_Set = (dyn_peak_IPL_AutoBrightness_ExposureLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ExposureLimit_Set") : nullptr);
3222 if(m_peak_IPL_AutoBrightness_ExposureLimit_Set == nullptr && load)
3223 {
3224 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ExposureLimit_Set");
3225 }
3226
3227 m_peak_IPL_AutoBrightness_Gain_Mode_Set = (dyn_peak_IPL_AutoBrightness_Gain_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Gain_Mode_Set") : nullptr);
3228 if(m_peak_IPL_AutoBrightness_Gain_Mode_Set == nullptr && load)
3229 {
3230 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Gain_Mode_Set");
3231 }
3232
3233 m_peak_IPL_AutoBrightness_Gain_Mode_Get = (dyn_peak_IPL_AutoBrightness_Gain_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Gain_Mode_Get") : nullptr);
3234 if(m_peak_IPL_AutoBrightness_Gain_Mode_Get == nullptr && load)
3235 {
3236 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Gain_Mode_Get");
3237 }
3238
3239 m_peak_IPL_AutoBrightness_GainAnalog_Mode_Set = (dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainAnalog_Mode_Set") : nullptr);
3240 if(m_peak_IPL_AutoBrightness_GainAnalog_Mode_Set == nullptr && load)
3241 {
3242 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainAnalog_Mode_Set");
3243 }
3244
3245 m_peak_IPL_AutoBrightness_GainAnalog_Mode_Get = (dyn_peak_IPL_AutoBrightness_GainAnalog_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainAnalog_Mode_Get") : nullptr);
3246 if(m_peak_IPL_AutoBrightness_GainAnalog_Mode_Get == nullptr && load)
3247 {
3248 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainAnalog_Mode_Get");
3249 }
3250
3251 m_peak_IPL_AutoBrightness_GainDigital_Mode_Set = (dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainDigital_Mode_Set") : nullptr);
3252 if(m_peak_IPL_AutoBrightness_GainDigital_Mode_Set == nullptr && load)
3253 {
3254 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainDigital_Mode_Set");
3255 }
3256
3257 m_peak_IPL_AutoBrightness_GainDigital_Mode_Get = (dyn_peak_IPL_AutoBrightness_GainDigital_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainDigital_Mode_Get") : nullptr);
3258 if(m_peak_IPL_AutoBrightness_GainDigital_Mode_Get == nullptr && load)
3259 {
3260 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainDigital_Mode_Get");
3261 }
3262
3263 m_peak_IPL_AutoBrightness_GainCombined_Mode_Set = (dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainCombined_Mode_Set") : nullptr);
3264 if(m_peak_IPL_AutoBrightness_GainCombined_Mode_Set == nullptr && load)
3265 {
3266 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainCombined_Mode_Set");
3267 }
3268
3269 m_peak_IPL_AutoBrightness_GainCombined_Mode_Get = (dyn_peak_IPL_AutoBrightness_GainCombined_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainCombined_Mode_Get") : nullptr);
3270 if(m_peak_IPL_AutoBrightness_GainCombined_Mode_Get == nullptr && load)
3271 {
3272 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainCombined_Mode_Get");
3273 }
3274
3275 m_peak_IPL_AutoBrightness_GainHost_Mode_Set = (dyn_peak_IPL_AutoBrightness_GainHost_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainHost_Mode_Set") : nullptr);
3276 if(m_peak_IPL_AutoBrightness_GainHost_Mode_Set == nullptr && load)
3277 {
3278 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainHost_Mode_Set");
3279 }
3280
3281 m_peak_IPL_AutoBrightness_GainHost_Mode_Get = (dyn_peak_IPL_AutoBrightness_GainHost_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainHost_Mode_Get") : nullptr);
3282 if(m_peak_IPL_AutoBrightness_GainHost_Mode_Get == nullptr && load)
3283 {
3284 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainHost_Mode_Get");
3285 }
3286
3287 m_peak_IPL_AutoBrightness_Algorithm_Set = (dyn_peak_IPL_AutoBrightness_Algorithm_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Algorithm_Set") : nullptr);
3288 if(m_peak_IPL_AutoBrightness_Algorithm_Set == nullptr && load)
3289 {
3290 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Algorithm_Set");
3291 }
3292
3293 m_peak_IPL_AutoBrightness_Algorithm_Get = (dyn_peak_IPL_AutoBrightness_Algorithm_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Algorithm_Get") : nullptr);
3294 if(m_peak_IPL_AutoBrightness_Algorithm_Get == nullptr && load)
3295 {
3296 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Algorithm_Get");
3297 }
3298
3299 m_peak_IPL_AutoBrightness_AverageLast_Get = (dyn_peak_IPL_AutoBrightness_AverageLast_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_AverageLast_Get") : nullptr);
3300 if(m_peak_IPL_AutoBrightness_AverageLast_Get == nullptr && load)
3301 {
3302 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_AverageLast_Get");
3303 }
3304
3305 m_peak_IPL_AutoBrightness_GainLimit_Set = (dyn_peak_IPL_AutoBrightness_GainLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainLimit_Set") : nullptr);
3306 if(m_peak_IPL_AutoBrightness_GainLimit_Set == nullptr && load)
3307 {
3308 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainLimit_Set");
3309 }
3310
3311 m_peak_IPL_AutoBrightness_GainLimit_Get = (dyn_peak_IPL_AutoBrightness_GainLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainLimit_Get") : nullptr);
3312 if(m_peak_IPL_AutoBrightness_GainLimit_Get == nullptr && load)
3313 {
3314 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainLimit_Get");
3315 }
3316
3317 m_peak_IPL_AutoBrightness_GainLimit_GetRange = (dyn_peak_IPL_AutoBrightness_GainLimit_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainLimit_GetRange") : nullptr);
3318 if(m_peak_IPL_AutoBrightness_GainLimit_GetRange == nullptr && load)
3319 {
3320 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainLimit_GetRange");
3321 }
3322
3323 m_peak_IPL_AutoBrightness_GainAnalogLimit_Set = (dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainAnalogLimit_Set") : nullptr);
3324 if(m_peak_IPL_AutoBrightness_GainAnalogLimit_Set == nullptr && load)
3325 {
3326 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainAnalogLimit_Set");
3327 }
3328
3329 m_peak_IPL_AutoBrightness_GainAnalogLimit_Get = (dyn_peak_IPL_AutoBrightness_GainAnalogLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainAnalogLimit_Get") : nullptr);
3330 if(m_peak_IPL_AutoBrightness_GainAnalogLimit_Get == nullptr && load)
3331 {
3332 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainAnalogLimit_Get");
3333 }
3334
3335 m_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange = (dyn_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainAnalogLimit_GetRange") : nullptr);
3336 if(m_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange == nullptr && load)
3337 {
3338 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainAnalogLimit_GetRange");
3339 }
3340
3341 m_peak_IPL_AutoBrightness_GainDigitalLimit_Set = (dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainDigitalLimit_Set") : nullptr);
3342 if(m_peak_IPL_AutoBrightness_GainDigitalLimit_Set == nullptr && load)
3343 {
3344 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainDigitalLimit_Set");
3345 }
3346
3347 m_peak_IPL_AutoBrightness_GainDigitalLimit_Get = (dyn_peak_IPL_AutoBrightness_GainDigitalLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainDigitalLimit_Get") : nullptr);
3348 if(m_peak_IPL_AutoBrightness_GainDigitalLimit_Get == nullptr && load)
3349 {
3350 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainDigitalLimit_Get");
3351 }
3352
3353 m_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange = (dyn_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainDigitalLimit_GetRange") : nullptr);
3354 if(m_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange == nullptr && load)
3355 {
3356 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainDigitalLimit_GetRange");
3357 }
3358
3359 m_peak_IPL_AutoBrightness_GainCombinedLimit_Set = (dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainCombinedLimit_Set") : nullptr);
3360 if(m_peak_IPL_AutoBrightness_GainCombinedLimit_Set == nullptr && load)
3361 {
3362 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainCombinedLimit_Set");
3363 }
3364
3365 m_peak_IPL_AutoBrightness_GainCombinedLimit_Get = (dyn_peak_IPL_AutoBrightness_GainCombinedLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainCombinedLimit_Get") : nullptr);
3366 if(m_peak_IPL_AutoBrightness_GainCombinedLimit_Get == nullptr && load)
3367 {
3368 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainCombinedLimit_Get");
3369 }
3370
3371 m_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange = (dyn_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainCombinedLimit_GetRange") : nullptr);
3372 if(m_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange == nullptr && load)
3373 {
3374 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainCombinedLimit_GetRange");
3375 }
3376
3377 m_peak_IPL_AutoBrightness_GainHostLimit_Set = (dyn_peak_IPL_AutoBrightness_GainHostLimit_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainHostLimit_Set") : nullptr);
3378 if(m_peak_IPL_AutoBrightness_GainHostLimit_Set == nullptr && load)
3379 {
3380 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainHostLimit_Set");
3381 }
3382
3383 m_peak_IPL_AutoBrightness_GainHostLimit_Get = (dyn_peak_IPL_AutoBrightness_GainHostLimit_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainHostLimit_Get") : nullptr);
3384 if(m_peak_IPL_AutoBrightness_GainHostLimit_Get == nullptr && load)
3385 {
3386 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainHostLimit_Get");
3387 }
3388
3389 m_peak_IPL_AutoBrightness_GainHostLimit_GetRange = (dyn_peak_IPL_AutoBrightness_GainHostLimit_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_GainHostLimit_GetRange") : nullptr);
3390 if(m_peak_IPL_AutoBrightness_GainHostLimit_GetRange == nullptr && load)
3391 {
3392 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_GainHostLimit_GetRange");
3393 }
3394
3395 m_peak_IPL_AutoBrightness_SkipFrames_Set = (dyn_peak_IPL_AutoBrightness_SkipFrames_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_SkipFrames_Set") : nullptr);
3396 if(m_peak_IPL_AutoBrightness_SkipFrames_Set == nullptr && load)
3397 {
3398 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_SkipFrames_Set");
3399 }
3400
3401 m_peak_IPL_AutoBrightness_SkipFrames_Get = (dyn_peak_IPL_AutoBrightness_SkipFrames_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_SkipFrames_Get") : nullptr);
3402 if(m_peak_IPL_AutoBrightness_SkipFrames_Get == nullptr && load)
3403 {
3404 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_SkipFrames_Get");
3405 }
3406
3407 m_peak_IPL_AutoBrightness_SkipFrames_GetRange = (dyn_peak_IPL_AutoBrightness_SkipFrames_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_SkipFrames_GetRange") : nullptr);
3408 if(m_peak_IPL_AutoBrightness_SkipFrames_GetRange == nullptr && load)
3409 {
3410 throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_SkipFrames_GetRange");
3411 }
3412
3413 m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set = (dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Mode_Set") : nullptr);
3414 if(m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set == nullptr && load)
3415 {
3416 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Mode_Set");
3417 }
3418
3419 m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get = (dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Mode_Get") : nullptr);
3420 if(m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get == nullptr && load)
3421 {
3422 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Mode_Get");
3423 }
3424
3425 m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange = (dyn_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange") : nullptr);
3426 if(m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange == nullptr && load)
3427 {
3428 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange");
3429 }
3430
3431 m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange = (dyn_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Size_GetRange") : nullptr);
3432 if(m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange == nullptr && load)
3433 {
3434 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Size_GetRange");
3435 }
3436
3437 m_peak_IPL_AutoWhiteBalance_ROI_Set = (dyn_peak_IPL_AutoWhiteBalance_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Set") : nullptr);
3438 if(m_peak_IPL_AutoWhiteBalance_ROI_Set == nullptr && load)
3439 {
3440 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Set");
3441 }
3442
3443 m_peak_IPL_AutoWhiteBalance_ROI_Get = (dyn_peak_IPL_AutoWhiteBalance_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Get") : nullptr);
3444 if(m_peak_IPL_AutoWhiteBalance_ROI_Get == nullptr && load)
3445 {
3446 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Get");
3447 }
3448
3449 m_peak_IPL_AutoWhiteBalance_Mode_Set = (dyn_peak_IPL_AutoWhiteBalance_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_Mode_Set") : nullptr);
3450 if(m_peak_IPL_AutoWhiteBalance_Mode_Set == nullptr && load)
3451 {
3452 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_Mode_Set");
3453 }
3454
3455 m_peak_IPL_AutoWhiteBalance_Mode_Get = (dyn_peak_IPL_AutoWhiteBalance_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_Mode_Get") : nullptr);
3456 if(m_peak_IPL_AutoWhiteBalance_Mode_Get == nullptr && load)
3457 {
3458 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_Mode_Get");
3459 }
3460
3461 m_peak_IPL_AutoWhiteBalance_SkipFrames_Set = (dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_SkipFrames_Set") : nullptr);
3462 if(m_peak_IPL_AutoWhiteBalance_SkipFrames_Set == nullptr && load)
3463 {
3464 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_SkipFrames_Set");
3465 }
3466
3467 m_peak_IPL_AutoWhiteBalance_SkipFrames_Get = (dyn_peak_IPL_AutoWhiteBalance_SkipFrames_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_SkipFrames_Get") : nullptr);
3468 if(m_peak_IPL_AutoWhiteBalance_SkipFrames_Get == nullptr && load)
3469 {
3470 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_SkipFrames_Get");
3471 }
3472
3473 m_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange = (dyn_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_SkipFrames_GetRange") : nullptr);
3474 if(m_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange == nullptr && load)
3475 {
3476 throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_SkipFrames_GetRange");
3477 }
3478
3479 m_peak_IPL_AutoFocus_GetAccessStatus = (dyn_peak_IPL_AutoFocus_GetAccessStatus) (load ? import_function(m_handle, "peak_IPL_AutoFocus_GetAccessStatus") : nullptr);
3480 if(m_peak_IPL_AutoFocus_GetAccessStatus == nullptr && load)
3481 {
3482 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_GetAccessStatus");
3483 }
3484
3485 m_peak_IPL_AutoFocus_ROI_Set = (dyn_peak_IPL_AutoFocus_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_ROI_Set") : nullptr);
3486 if(m_peak_IPL_AutoFocus_ROI_Set == nullptr && load)
3487 {
3488 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_ROI_Set");
3489 }
3490
3491 m_peak_IPL_AutoFocus_ROI_Get = (dyn_peak_IPL_AutoFocus_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_ROI_Get") : nullptr);
3492 if(m_peak_IPL_AutoFocus_ROI_Get == nullptr && load)
3493 {
3494 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_ROI_Get");
3495 }
3496
3497 m_peak_IPL_AutoFocus_Mode_Set = (dyn_peak_IPL_AutoFocus_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Mode_Set") : nullptr);
3498 if(m_peak_IPL_AutoFocus_Mode_Set == nullptr && load)
3499 {
3500 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Mode_Set");
3501 }
3502
3503 m_peak_IPL_AutoFocus_Mode_Get = (dyn_peak_IPL_AutoFocus_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Mode_Get") : nullptr);
3504 if(m_peak_IPL_AutoFocus_Mode_Get == nullptr && load)
3505 {
3506 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Mode_Get");
3507 }
3508
3509 m_peak_IPL_AutoFocus_SearchAlgorithm_Set = (dyn_peak_IPL_AutoFocus_SearchAlgorithm_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SearchAlgorithm_Set") : nullptr);
3510 if(m_peak_IPL_AutoFocus_SearchAlgorithm_Set == nullptr && load)
3511 {
3512 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SearchAlgorithm_Set");
3513 }
3514
3515 m_peak_IPL_AutoFocus_SearchAlgorithm_Get = (dyn_peak_IPL_AutoFocus_SearchAlgorithm_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SearchAlgorithm_Get") : nullptr);
3516 if(m_peak_IPL_AutoFocus_SearchAlgorithm_Get == nullptr && load)
3517 {
3518 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SearchAlgorithm_Get");
3519 }
3520
3521 m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set = (dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SharpnessAlgorithm_Set") : nullptr);
3522 if(m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set == nullptr && load)
3523 {
3524 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SharpnessAlgorithm_Set");
3525 }
3526
3527 m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get = (dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SharpnessAlgorithm_Get") : nullptr);
3528 if(m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get == nullptr && load)
3529 {
3530 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SharpnessAlgorithm_Get");
3531 }
3532
3533 m_peak_IPL_AutoFocus_Range_Set = (dyn_peak_IPL_AutoFocus_Range_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Range_Set") : nullptr);
3534 if(m_peak_IPL_AutoFocus_Range_Set == nullptr && load)
3535 {
3536 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Range_Set");
3537 }
3538
3539 m_peak_IPL_AutoFocus_Range_Get = (dyn_peak_IPL_AutoFocus_Range_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Range_Get") : nullptr);
3540 if(m_peak_IPL_AutoFocus_Range_Get == nullptr && load)
3541 {
3542 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Range_Get");
3543 }
3544
3545 m_peak_IPL_AutoFocus_Hysteresis_Set = (dyn_peak_IPL_AutoFocus_Hysteresis_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_Set") : nullptr);
3546 if(m_peak_IPL_AutoFocus_Hysteresis_Set == nullptr && load)
3547 {
3548 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_Set");
3549 }
3550
3551 m_peak_IPL_AutoFocus_Hysteresis_Get = (dyn_peak_IPL_AutoFocus_Hysteresis_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_Get") : nullptr);
3552 if(m_peak_IPL_AutoFocus_Hysteresis_Get == nullptr && load)
3553 {
3554 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_Get");
3555 }
3556
3557 m_peak_IPL_AutoFocus_Hysteresis_GetRange = (dyn_peak_IPL_AutoFocus_Hysteresis_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_GetRange") : nullptr);
3558 if(m_peak_IPL_AutoFocus_Hysteresis_GetRange == nullptr && load)
3559 {
3560 throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_GetRange");
3561 }
3562
3563 m_peak_IPL_HotpixelCorrection_Sensitivity_Set = (dyn_peak_IPL_HotpixelCorrection_Sensitivity_Set) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Sensitivity_Set") : nullptr);
3564 if(m_peak_IPL_HotpixelCorrection_Sensitivity_Set == nullptr && load)
3565 {
3566 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Sensitivity_Set");
3567 }
3568
3569 m_peak_IPL_HotpixelCorrection_Sensitivity_Get = (dyn_peak_IPL_HotpixelCorrection_Sensitivity_Get) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Sensitivity_Get") : nullptr);
3570 if(m_peak_IPL_HotpixelCorrection_Sensitivity_Get == nullptr && load)
3571 {
3572 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Sensitivity_Get");
3573 }
3574
3575 m_peak_IPL_HotpixelCorrection_GetList = (dyn_peak_IPL_HotpixelCorrection_GetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_GetList") : nullptr);
3576 if(m_peak_IPL_HotpixelCorrection_GetList == nullptr && load)
3577 {
3578 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_GetList");
3579 }
3580
3581 m_peak_IPL_HotpixelCorrection_SetList = (dyn_peak_IPL_HotpixelCorrection_SetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_SetList") : nullptr);
3582 if(m_peak_IPL_HotpixelCorrection_SetList == nullptr && load)
3583 {
3584 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_SetList");
3585 }
3586
3587 m_peak_IPL_HotpixelCorrection_ResetList = (dyn_peak_IPL_HotpixelCorrection_ResetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_ResetList") : nullptr);
3588 if(m_peak_IPL_HotpixelCorrection_ResetList == nullptr && load)
3589 {
3590 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_ResetList");
3591 }
3592
3593 m_peak_IPL_HotpixelCorrection_Enable = (dyn_peak_IPL_HotpixelCorrection_Enable) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Enable") : nullptr);
3594 if(m_peak_IPL_HotpixelCorrection_Enable == nullptr && load)
3595 {
3596 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Enable");
3597 }
3598
3599 m_peak_IPL_HotpixelCorrection_IsEnabled = (dyn_peak_IPL_HotpixelCorrection_IsEnabled) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_IsEnabled") : nullptr);
3600 if(m_peak_IPL_HotpixelCorrection_IsEnabled == nullptr && load)
3601 {
3602 throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_IsEnabled");
3603 }
3604
3605 m_peak_IPL_Mirror_UpDown_Enable = (dyn_peak_IPL_Mirror_UpDown_Enable) (load ? import_function(m_handle, "peak_IPL_Mirror_UpDown_Enable") : nullptr);
3606 if(m_peak_IPL_Mirror_UpDown_Enable == nullptr && load)
3607 {
3608 throw std::runtime_error("Failed to load peak_IPL_Mirror_UpDown_Enable");
3609 }
3610
3611 m_peak_IPL_Mirror_UpDown_IsEnabled = (dyn_peak_IPL_Mirror_UpDown_IsEnabled) (load ? import_function(m_handle, "peak_IPL_Mirror_UpDown_IsEnabled") : nullptr);
3612 if(m_peak_IPL_Mirror_UpDown_IsEnabled == nullptr && load)
3613 {
3614 throw std::runtime_error("Failed to load peak_IPL_Mirror_UpDown_IsEnabled");
3615 }
3616
3617 m_peak_IPL_Mirror_LeftRight_Enable = (dyn_peak_IPL_Mirror_LeftRight_Enable) (load ? import_function(m_handle, "peak_IPL_Mirror_LeftRight_Enable") : nullptr);
3618 if(m_peak_IPL_Mirror_LeftRight_Enable == nullptr && load)
3619 {
3620 throw std::runtime_error("Failed to load peak_IPL_Mirror_LeftRight_Enable");
3621 }
3622
3623 m_peak_IPL_Mirror_LeftRight_IsEnabled = (dyn_peak_IPL_Mirror_LeftRight_IsEnabled) (load ? import_function(m_handle, "peak_IPL_Mirror_LeftRight_IsEnabled") : nullptr);
3624 if(m_peak_IPL_Mirror_LeftRight_IsEnabled == nullptr && load)
3625 {
3626 throw std::runtime_error("Failed to load peak_IPL_Mirror_LeftRight_IsEnabled");
3627 }
3628
3629 m_peak_IPL_ProcessFrame = (dyn_peak_IPL_ProcessFrame) (load ? import_function(m_handle, "peak_IPL_ProcessFrame") : nullptr);
3630 if(m_peak_IPL_ProcessFrame == nullptr && load)
3631 {
3632 throw std::runtime_error("Failed to load peak_IPL_ProcessFrame");
3633 }
3634
3635 m_peak_IPL_ProcessFrameInplace = (dyn_peak_IPL_ProcessFrameInplace) (load ? import_function(m_handle, "peak_IPL_ProcessFrameInplace") : nullptr);
3636 if(m_peak_IPL_ProcessFrameInplace == nullptr && load)
3637 {
3638 throw std::runtime_error("Failed to load peak_IPL_ProcessFrameInplace");
3639 }
3640
3641 m_peak_IPL_EdgeEnhancement_Enable = (dyn_peak_IPL_EdgeEnhancement_Enable) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Enable") : nullptr);
3642 if(m_peak_IPL_EdgeEnhancement_Enable == nullptr && load)
3643 {
3644 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Enable");
3645 }
3646
3647 m_peak_IPL_EdgeEnhancement_IsEnabled = (dyn_peak_IPL_EdgeEnhancement_IsEnabled) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_IsEnabled") : nullptr);
3648 if(m_peak_IPL_EdgeEnhancement_IsEnabled == nullptr && load)
3649 {
3650 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_IsEnabled");
3651 }
3652
3653 m_peak_IPL_EdgeEnhancement_Factor_Set = (dyn_peak_IPL_EdgeEnhancement_Factor_Set) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_Set") : nullptr);
3654 if(m_peak_IPL_EdgeEnhancement_Factor_Set == nullptr && load)
3655 {
3656 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_Set");
3657 }
3658
3659 m_peak_IPL_EdgeEnhancement_Factor_Get = (dyn_peak_IPL_EdgeEnhancement_Factor_Get) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_Get") : nullptr);
3660 if(m_peak_IPL_EdgeEnhancement_Factor_Get == nullptr && load)
3661 {
3662 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_Get");
3663 }
3664
3665 m_peak_IPL_EdgeEnhancement_Factor_GetDefault = (dyn_peak_IPL_EdgeEnhancement_Factor_GetDefault) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_GetDefault") : nullptr);
3666 if(m_peak_IPL_EdgeEnhancement_Factor_GetDefault == nullptr && load)
3667 {
3668 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_GetDefault");
3669 }
3670
3671 m_peak_IPL_EdgeEnhancement_Factor_GetRange = (dyn_peak_IPL_EdgeEnhancement_Factor_GetRange) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_GetRange") : nullptr);
3672 if(m_peak_IPL_EdgeEnhancement_Factor_GetRange == nullptr && load)
3673 {
3674 throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_GetRange");
3675 }
3676
3677 m_peak_IPL_Sharpness_Measure = (dyn_peak_IPL_Sharpness_Measure) (load ? import_function(m_handle, "peak_IPL_Sharpness_Measure") : nullptr);
3678 if(m_peak_IPL_Sharpness_Measure == nullptr && load)
3679 {
3680 throw std::runtime_error("Failed to load peak_IPL_Sharpness_Measure");
3681 }
3682
3683 m_peak_VideoWriter_Open = (dyn_peak_VideoWriter_Open) (load ? import_function(m_handle, "peak_VideoWriter_Open") : nullptr);
3684 if(m_peak_VideoWriter_Open == nullptr && load)
3685 {
3686 throw std::runtime_error("Failed to load peak_VideoWriter_Open");
3687 }
3688
3689 m_peak_VideoWriter_Close = (dyn_peak_VideoWriter_Close) (load ? import_function(m_handle, "peak_VideoWriter_Close") : nullptr);
3690 if(m_peak_VideoWriter_Close == nullptr && load)
3691 {
3692 throw std::runtime_error("Failed to load peak_VideoWriter_Close");
3693 }
3694
3695 m_peak_VideoWriter_AddFrame = (dyn_peak_VideoWriter_AddFrame) (load ? import_function(m_handle, "peak_VideoWriter_AddFrame") : nullptr);
3696 if(m_peak_VideoWriter_AddFrame == nullptr && load)
3697 {
3698 throw std::runtime_error("Failed to load peak_VideoWriter_AddFrame");
3699 }
3700
3701 m_peak_VideoWriter_Container_GetEncoderList = (dyn_peak_VideoWriter_Container_GetEncoderList) (load ? import_function(m_handle, "peak_VideoWriter_Container_GetEncoderList") : nullptr);
3702 if(m_peak_VideoWriter_Container_GetEncoderList == nullptr && load)
3703 {
3704 throw std::runtime_error("Failed to load peak_VideoWriter_Container_GetEncoderList");
3705 }
3706
3707 m_peak_VideoWriter_Encoder_GetPixelFormatList = (dyn_peak_VideoWriter_Encoder_GetPixelFormatList) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_GetPixelFormatList") : nullptr);
3708 if(m_peak_VideoWriter_Encoder_GetPixelFormatList == nullptr && load)
3709 {
3710 throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_GetPixelFormatList");
3711 }
3712
3713 m_peak_VideoWriter_Encoder_GetContainerList = (dyn_peak_VideoWriter_Encoder_GetContainerList) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_GetContainerList") : nullptr);
3714 if(m_peak_VideoWriter_Encoder_GetContainerList == nullptr && load)
3715 {
3716 throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_GetContainerList");
3717 }
3718
3719 m_peak_VideoWriter_GetInfo = (dyn_peak_VideoWriter_GetInfo) (load ? import_function(m_handle, "peak_VideoWriter_GetInfo") : nullptr);
3720 if(m_peak_VideoWriter_GetInfo == nullptr && load)
3721 {
3722 throw std::runtime_error("Failed to load peak_VideoWriter_GetInfo");
3723 }
3724
3725 m_peak_VideoWriter_Container_Option_Set = (dyn_peak_VideoWriter_Container_Option_Set) (load ? import_function(m_handle, "peak_VideoWriter_Container_Option_Set") : nullptr);
3726 if(m_peak_VideoWriter_Container_Option_Set == nullptr && load)
3727 {
3728 throw std::runtime_error("Failed to load peak_VideoWriter_Container_Option_Set");
3729 }
3730
3731 m_peak_VideoWriter_Container_Option_Get = (dyn_peak_VideoWriter_Container_Option_Get) (load ? import_function(m_handle, "peak_VideoWriter_Container_Option_Get") : nullptr);
3732 if(m_peak_VideoWriter_Container_Option_Get == nullptr && load)
3733 {
3734 throw std::runtime_error("Failed to load peak_VideoWriter_Container_Option_Get");
3735 }
3736
3737 m_peak_VideoWriter_Encoder_Option_Set = (dyn_peak_VideoWriter_Encoder_Option_Set) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_Option_Set") : nullptr);
3738 if(m_peak_VideoWriter_Encoder_Option_Set == nullptr && load)
3739 {
3740 throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_Option_Set");
3741 }
3742
3743 m_peak_VideoWriter_Encoder_Option_Get = (dyn_peak_VideoWriter_Encoder_Option_Get) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_Option_Get") : nullptr);
3744 if(m_peak_VideoWriter_Encoder_Option_Get == nullptr && load)
3745 {
3746 throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_Option_Get");
3747 }
3748
3749 m_peak_VideoWriter_WaitUntilQueueEmpty = (dyn_peak_VideoWriter_WaitUntilQueueEmpty) (load ? import_function(m_handle, "peak_VideoWriter_WaitUntilQueueEmpty") : nullptr);
3750 if(m_peak_VideoWriter_WaitUntilQueueEmpty == nullptr && load)
3751 {
3752 throw std::runtime_error("Failed to load peak_VideoWriter_WaitUntilQueueEmpty");
3753 }
3754
3755 m_peak_Inference_CNN_Open = (dyn_peak_Inference_CNN_Open) (load ? import_function(m_handle, "peak_Inference_CNN_Open") : nullptr);
3756 if(m_peak_Inference_CNN_Open == nullptr && load)
3757 {
3758 throw std::runtime_error("Failed to load peak_Inference_CNN_Open");
3759 }
3760
3761 m_peak_Inference_CNN_Close = (dyn_peak_Inference_CNN_Close) (load ? import_function(m_handle, "peak_Inference_CNN_Close") : nullptr);
3762 if(m_peak_Inference_CNN_Close == nullptr && load)
3763 {
3764 throw std::runtime_error("Failed to load peak_Inference_CNN_Close");
3765 }
3766
3767 m_peak_Inference_CNN_ProcessFrame = (dyn_peak_Inference_CNN_ProcessFrame) (load ? import_function(m_handle, "peak_Inference_CNN_ProcessFrame") : nullptr);
3768 if(m_peak_Inference_CNN_ProcessFrame == nullptr && load)
3769 {
3770 throw std::runtime_error("Failed to load peak_Inference_CNN_ProcessFrame");
3771 }
3772
3773 m_peak_Inference_CNN_Info_Get = (dyn_peak_Inference_CNN_Info_Get) (load ? import_function(m_handle, "peak_Inference_CNN_Info_Get") : nullptr);
3774 if(m_peak_Inference_CNN_Info_Get == nullptr && load)
3775 {
3776 throw std::runtime_error("Failed to load peak_Inference_CNN_Info_Get");
3777 }
3778
3779 m_peak_Inference_Result_Get = (dyn_peak_Inference_Result_Get) (load ? import_function(m_handle, "peak_Inference_Result_Get") : nullptr);
3780 if(m_peak_Inference_Result_Get == nullptr && load)
3781 {
3782 throw std::runtime_error("Failed to load peak_Inference_Result_Get");
3783 }
3784
3785 m_peak_Inference_Result_Release = (dyn_peak_Inference_Result_Release) (load ? import_function(m_handle, "peak_Inference_Result_Release") : nullptr);
3786 if(m_peak_Inference_Result_Release == nullptr && load)
3787 {
3788 throw std::runtime_error("Failed to load peak_Inference_Result_Release");
3789 }
3790
3791 m_peak_Inference_Result_Classification_GetList = (dyn_peak_Inference_Result_Classification_GetList) (load ? import_function(m_handle, "peak_Inference_Result_Classification_GetList") : nullptr);
3792 if(m_peak_Inference_Result_Classification_GetList == nullptr && load)
3793 {
3794 throw std::runtime_error("Failed to load peak_Inference_Result_Classification_GetList");
3795 }
3796
3797 m_peak_Inference_Result_Detection_GetList = (dyn_peak_Inference_Result_Detection_GetList) (load ? import_function(m_handle, "peak_Inference_Result_Detection_GetList") : nullptr);
3798 if(m_peak_Inference_Result_Detection_GetList == nullptr && load)
3799 {
3800 throw std::runtime_error("Failed to load peak_Inference_Result_Detection_GetList");
3801 }
3802
3803 m_peak_Inference_Statistics_Get = (dyn_peak_Inference_Statistics_Get) (load ? import_function(m_handle, "peak_Inference_Statistics_Get") : nullptr);
3804 if(m_peak_Inference_Statistics_Get == nullptr && load)
3805 {
3806 throw std::runtime_error("Failed to load peak_Inference_Statistics_Get");
3807 }
3808
3809 m_peak_Inference_Statistics_Reset = (dyn_peak_Inference_Statistics_Reset) (load ? import_function(m_handle, "peak_Inference_Statistics_Reset") : nullptr);
3810 if(m_peak_Inference_Statistics_Reset == nullptr && load)
3811 {
3812 throw std::runtime_error("Failed to load peak_Inference_Statistics_Reset");
3813 }
3814
3815 m_peak_Inference_ConfidenceThreshold_Get = (dyn_peak_Inference_ConfidenceThreshold_Get) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_Get") : nullptr);
3816 if(m_peak_Inference_ConfidenceThreshold_Get == nullptr && load)
3817 {
3818 throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_Get");
3819 }
3820
3821 m_peak_Inference_ConfidenceThreshold_GetRange = (dyn_peak_Inference_ConfidenceThreshold_GetRange) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_GetRange") : nullptr);
3822 if(m_peak_Inference_ConfidenceThreshold_GetRange == nullptr && load)
3823 {
3824 throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_GetRange");
3825 }
3826
3827 m_peak_Inference_ConfidenceThreshold_Set = (dyn_peak_Inference_ConfidenceThreshold_Set) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_Set") : nullptr);
3828 if(m_peak_Inference_ConfidenceThreshold_Set == nullptr && load)
3829 {
3830 throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_Set");
3831 }
3832
3833 m_peak_MessageQueue_Create = (dyn_peak_MessageQueue_Create) (load ? import_function(m_handle, "peak_MessageQueue_Create") : nullptr);
3834 if(m_peak_MessageQueue_Create == nullptr && load)
3835 {
3836 throw std::runtime_error("Failed to load peak_MessageQueue_Create");
3837 }
3838
3839 m_peak_MessageQueue_Destroy = (dyn_peak_MessageQueue_Destroy) (load ? import_function(m_handle, "peak_MessageQueue_Destroy") : nullptr);
3840 if(m_peak_MessageQueue_Destroy == nullptr && load)
3841 {
3842 throw std::runtime_error("Failed to load peak_MessageQueue_Destroy");
3843 }
3844
3845 m_peak_MessageQueue_EnableMessage = (dyn_peak_MessageQueue_EnableMessage) (load ? import_function(m_handle, "peak_MessageQueue_EnableMessage") : nullptr);
3846 if(m_peak_MessageQueue_EnableMessage == nullptr && load)
3847 {
3848 throw std::runtime_error("Failed to load peak_MessageQueue_EnableMessage");
3849 }
3850
3851 m_peak_MessageQueue_DisableMessage = (dyn_peak_MessageQueue_DisableMessage) (load ? import_function(m_handle, "peak_MessageQueue_DisableMessage") : nullptr);
3852 if(m_peak_MessageQueue_DisableMessage == nullptr && load)
3853 {
3854 throw std::runtime_error("Failed to load peak_MessageQueue_DisableMessage");
3855 }
3856
3857 m_peak_MessageQueue_EnableMessageList = (dyn_peak_MessageQueue_EnableMessageList) (load ? import_function(m_handle, "peak_MessageQueue_EnableMessageList") : nullptr);
3858 if(m_peak_MessageQueue_EnableMessageList == nullptr && load)
3859 {
3860 throw std::runtime_error("Failed to load peak_MessageQueue_EnableMessageList");
3861 }
3862
3863 m_peak_MessageQueue_DisableMessageList = (dyn_peak_MessageQueue_DisableMessageList) (load ? import_function(m_handle, "peak_MessageQueue_DisableMessageList") : nullptr);
3864 if(m_peak_MessageQueue_DisableMessageList == nullptr && load)
3865 {
3866 throw std::runtime_error("Failed to load peak_MessageQueue_DisableMessageList");
3867 }
3868
3869 m_peak_MessageQueue_EnabledMessages_GetList = (dyn_peak_MessageQueue_EnabledMessages_GetList) (load ? import_function(m_handle, "peak_MessageQueue_EnabledMessages_GetList") : nullptr);
3870 if(m_peak_MessageQueue_EnabledMessages_GetList == nullptr && load)
3871 {
3872 throw std::runtime_error("Failed to load peak_MessageQueue_EnabledMessages_GetList");
3873 }
3874
3875 m_peak_MessageQueue_SetMode = (dyn_peak_MessageQueue_SetMode) (load ? import_function(m_handle, "peak_MessageQueue_SetMode") : nullptr);
3876 if(m_peak_MessageQueue_SetMode == nullptr && load)
3877 {
3878 throw std::runtime_error("Failed to load peak_MessageQueue_SetMode");
3879 }
3880
3881 m_peak_MessageQueue_GetMode = (dyn_peak_MessageQueue_GetMode) (load ? import_function(m_handle, "peak_MessageQueue_GetMode") : nullptr);
3882 if(m_peak_MessageQueue_GetMode == nullptr && load)
3883 {
3884 throw std::runtime_error("Failed to load peak_MessageQueue_GetMode");
3885 }
3886
3887 m_peak_MessageQueue_Start = (dyn_peak_MessageQueue_Start) (load ? import_function(m_handle, "peak_MessageQueue_Start") : nullptr);
3888 if(m_peak_MessageQueue_Start == nullptr && load)
3889 {
3890 throw std::runtime_error("Failed to load peak_MessageQueue_Start");
3891 }
3892
3893 m_peak_MessageQueue_Stop = (dyn_peak_MessageQueue_Stop) (load ? import_function(m_handle, "peak_MessageQueue_Stop") : nullptr);
3894 if(m_peak_MessageQueue_Stop == nullptr && load)
3895 {
3896 throw std::runtime_error("Failed to load peak_MessageQueue_Stop");
3897 }
3898
3899 m_peak_MessageQueue_IsStarted = (dyn_peak_MessageQueue_IsStarted) (load ? import_function(m_handle, "peak_MessageQueue_IsStarted") : nullptr);
3900 if(m_peak_MessageQueue_IsStarted == nullptr && load)
3901 {
3902 throw std::runtime_error("Failed to load peak_MessageQueue_IsStarted");
3903 }
3904
3905 m_peak_MessageQueue_WaitForMessage = (dyn_peak_MessageQueue_WaitForMessage) (load ? import_function(m_handle, "peak_MessageQueue_WaitForMessage") : nullptr);
3906 if(m_peak_MessageQueue_WaitForMessage == nullptr && load)
3907 {
3908 throw std::runtime_error("Failed to load peak_MessageQueue_WaitForMessage");
3909 }
3910
3911 m_peak_MessageQueue_Flush = (dyn_peak_MessageQueue_Flush) (load ? import_function(m_handle, "peak_MessageQueue_Flush") : nullptr);
3912 if(m_peak_MessageQueue_Flush == nullptr && load)
3913 {
3914 throw std::runtime_error("Failed to load peak_MessageQueue_Flush");
3915 }
3916
3917 m_peak_MessageQueue_IsMessageSupported = (dyn_peak_MessageQueue_IsMessageSupported) (load ? import_function(m_handle, "peak_MessageQueue_IsMessageSupported") : nullptr);
3918 if(m_peak_MessageQueue_IsMessageSupported == nullptr && load)
3919 {
3920 throw std::runtime_error("Failed to load peak_MessageQueue_IsMessageSupported");
3921 }
3922
3923 m_peak_MessageQueue_Statistics_Get = (dyn_peak_MessageQueue_Statistics_Get) (load ? import_function(m_handle, "peak_MessageQueue_Statistics_Get") : nullptr);
3924 if(m_peak_MessageQueue_Statistics_Get == nullptr && load)
3925 {
3926 throw std::runtime_error("Failed to load peak_MessageQueue_Statistics_Get");
3927 }
3928
3929 m_peak_MessageQueue_Statistics_Reset = (dyn_peak_MessageQueue_Statistics_Reset) (load ? import_function(m_handle, "peak_MessageQueue_Statistics_Reset") : nullptr);
3930 if(m_peak_MessageQueue_Statistics_Reset == nullptr && load)
3931 {
3932 throw std::runtime_error("Failed to load peak_MessageQueue_Statistics_Reset");
3933 }
3934
3935 m_peak_MessageQueue_MaxQueueSize_Set = (dyn_peak_MessageQueue_MaxQueueSize_Set) (load ? import_function(m_handle, "peak_MessageQueue_MaxQueueSize_Set") : nullptr);
3936 if(m_peak_MessageQueue_MaxQueueSize_Set == nullptr && load)
3937 {
3938 throw std::runtime_error("Failed to load peak_MessageQueue_MaxQueueSize_Set");
3939 }
3940
3941 m_peak_MessageQueue_MaxQueueSize_Get = (dyn_peak_MessageQueue_MaxQueueSize_Get) (load ? import_function(m_handle, "peak_MessageQueue_MaxQueueSize_Get") : nullptr);
3942 if(m_peak_MessageQueue_MaxQueueSize_Get == nullptr && load)
3943 {
3944 throw std::runtime_error("Failed to load peak_MessageQueue_MaxQueueSize_Get");
3945 }
3946
3947 m_peak_Message_Release = (dyn_peak_Message_Release) (load ? import_function(m_handle, "peak_Message_Release") : nullptr);
3948 if(m_peak_Message_Release == nullptr && load)
3949 {
3950 throw std::runtime_error("Failed to load peak_Message_Release");
3951 }
3952
3953 m_peak_Message_GetInfo = (dyn_peak_Message_GetInfo) (load ? import_function(m_handle, "peak_Message_GetInfo") : nullptr);
3954 if(m_peak_Message_GetInfo == nullptr && load)
3955 {
3956 throw std::runtime_error("Failed to load peak_Message_GetInfo");
3957 }
3958
3959 m_peak_Message_Type_Get = (dyn_peak_Message_Type_Get) (load ? import_function(m_handle, "peak_Message_Type_Get") : nullptr);
3960 if(m_peak_Message_Type_Get == nullptr && load)
3961 {
3962 throw std::runtime_error("Failed to load peak_Message_Type_Get");
3963 }
3964
3965 m_peak_Message_CameraHandle_Get = (dyn_peak_Message_CameraHandle_Get) (load ? import_function(m_handle, "peak_Message_CameraHandle_Get") : nullptr);
3966 if(m_peak_Message_CameraHandle_Get == nullptr && load)
3967 {
3968 throw std::runtime_error("Failed to load peak_Message_CameraHandle_Get");
3969 }
3970
3971 m_peak_Message_ID_Get = (dyn_peak_Message_ID_Get) (load ? import_function(m_handle, "peak_Message_ID_Get") : nullptr);
3972 if(m_peak_Message_ID_Get == nullptr && load)
3973 {
3974 throw std::runtime_error("Failed to load peak_Message_ID_Get");
3975 }
3976
3977 m_peak_Message_HostTimestamp_Get = (dyn_peak_Message_HostTimestamp_Get) (load ? import_function(m_handle, "peak_Message_HostTimestamp_Get") : nullptr);
3978 if(m_peak_Message_HostTimestamp_Get == nullptr && load)
3979 {
3980 throw std::runtime_error("Failed to load peak_Message_HostTimestamp_Get");
3981 }
3982
3983 m_peak_Message_Data_Type_Get = (dyn_peak_Message_Data_Type_Get) (load ? import_function(m_handle, "peak_Message_Data_Type_Get") : nullptr);
3984 if(m_peak_Message_Data_Type_Get == nullptr && load)
3985 {
3986 throw std::runtime_error("Failed to load peak_Message_Data_Type_Get");
3987 }
3988
3989 m_peak_Message_Data_RemoteDevice_Get = (dyn_peak_Message_Data_RemoteDevice_Get) (load ? import_function(m_handle, "peak_Message_Data_RemoteDevice_Get") : nullptr);
3990 if(m_peak_Message_Data_RemoteDevice_Get == nullptr && load)
3991 {
3992 throw std::runtime_error("Failed to load peak_Message_Data_RemoteDevice_Get");
3993 }
3994
3995 m_peak_Message_Data_RemoteDeviceError_Get = (dyn_peak_Message_Data_RemoteDeviceError_Get) (load ? import_function(m_handle, "peak_Message_Data_RemoteDeviceError_Get") : nullptr);
3996 if(m_peak_Message_Data_RemoteDeviceError_Get == nullptr && load)
3997 {
3998 throw std::runtime_error("Failed to load peak_Message_Data_RemoteDeviceError_Get");
3999 }
4000
4001 m_peak_Message_Data_RemoteDeviceDropped_Get = (dyn_peak_Message_Data_RemoteDeviceDropped_Get) (load ? import_function(m_handle, "peak_Message_Data_RemoteDeviceDropped_Get") : nullptr);
4002 if(m_peak_Message_Data_RemoteDeviceDropped_Get == nullptr && load)
4003 {
4004 throw std::runtime_error("Failed to load peak_Message_Data_RemoteDeviceDropped_Get");
4005 }
4006
4007 m_peak_Message_Data_RemoteDeviceFrame_Get = (dyn_peak_Message_Data_RemoteDeviceFrame_Get) (load ? import_function(m_handle, "peak_Message_Data_RemoteDeviceFrame_Get") : nullptr);
4008 if(m_peak_Message_Data_RemoteDeviceFrame_Get == nullptr && load)
4009 {
4010 throw std::runtime_error("Failed to load peak_Message_Data_RemoteDeviceFrame_Get");
4011 }
4012
4013 m_peak_Message_Data_RemoteDeviceTemperature_Get = (dyn_peak_Message_Data_RemoteDeviceTemperature_Get) (load ? import_function(m_handle, "peak_Message_Data_RemoteDeviceTemperature_Get") : nullptr);
4014 if(m_peak_Message_Data_RemoteDeviceTemperature_Get == nullptr && load)
4015 {
4016 throw std::runtime_error("Failed to load peak_Message_Data_RemoteDeviceTemperature_Get");
4017 }
4018
4019 m_peak_Message_Data_AutoFocusData_Get = (dyn_peak_Message_Data_AutoFocusData_Get) (load ? import_function(m_handle, "peak_Message_Data_AutoFocusData_Get") : nullptr);
4020 if(m_peak_Message_Data_AutoFocusData_Get == nullptr && load)
4021 {
4022 throw std::runtime_error("Failed to load peak_Message_Data_AutoFocusData_Get");
4023 }
4024
4025 m_peak_Message_Data_DeviceFound_Get = (dyn_peak_Message_Data_DeviceFound_Get) (load ? import_function(m_handle, "peak_Message_Data_DeviceFound_Get") : nullptr);
4026 if(m_peak_Message_Data_DeviceFound_Get == nullptr && load)
4027 {
4028 throw std::runtime_error("Failed to load peak_Message_Data_DeviceFound_Get");
4029 }
4030
4031 m_peak_Message_Data_DeviceLost_Get = (dyn_peak_Message_Data_DeviceLost_Get) (load ? import_function(m_handle, "peak_Message_Data_DeviceLost_Get") : nullptr);
4032 if(m_peak_Message_Data_DeviceLost_Get == nullptr && load)
4033 {
4034 throw std::runtime_error("Failed to load peak_Message_Data_DeviceLost_Get");
4035 }
4036
4037 m_peak_Message_Data_DeviceReconnected_Get = (dyn_peak_Message_Data_DeviceReconnected_Get) (load ? import_function(m_handle, "peak_Message_Data_DeviceReconnected_Get") : nullptr);
4038 if(m_peak_Message_Data_DeviceReconnected_Get == nullptr && load)
4039 {
4040 throw std::runtime_error("Failed to load peak_Message_Data_DeviceReconnected_Get");
4041 }
4042
4043 m_peak_Message_Data_DeviceDisconnected_Get = (dyn_peak_Message_Data_DeviceDisconnected_Get) (load ? import_function(m_handle, "peak_Message_Data_DeviceDisconnected_Get") : nullptr);
4044 if(m_peak_Message_Data_DeviceDisconnected_Get == nullptr && load)
4045 {
4046 throw std::runtime_error("Failed to load peak_Message_Data_DeviceDisconnected_Get");
4047 }
4048
4049 m_peak_I2C_Create = (dyn_peak_I2C_Create) (load ? import_function(m_handle, "peak_I2C_Create") : nullptr);
4050 if(m_peak_I2C_Create == nullptr && load)
4051 {
4052 throw std::runtime_error("Failed to load peak_I2C_Create");
4053 }
4054
4055 m_peak_I2C_Destroy = (dyn_peak_I2C_Destroy) (load ? import_function(m_handle, "peak_I2C_Destroy") : nullptr);
4056 if(m_peak_I2C_Destroy == nullptr && load)
4057 {
4058 throw std::runtime_error("Failed to load peak_I2C_Destroy");
4059 }
4060
4061 m_peak_I2C_GetAccessStatus = (dyn_peak_I2C_GetAccessStatus) (load ? import_function(m_handle, "peak_I2C_GetAccessStatus") : nullptr);
4062 if(m_peak_I2C_GetAccessStatus == nullptr && load)
4063 {
4064 throw std::runtime_error("Failed to load peak_I2C_GetAccessStatus");
4065 }
4066
4067 m_peak_I2C_Mode_GetList = (dyn_peak_I2C_Mode_GetList) (load ? import_function(m_handle, "peak_I2C_Mode_GetList") : nullptr);
4068 if(m_peak_I2C_Mode_GetList == nullptr && load)
4069 {
4070 throw std::runtime_error("Failed to load peak_I2C_Mode_GetList");
4071 }
4072
4073 m_peak_I2C_Mode_Set = (dyn_peak_I2C_Mode_Set) (load ? import_function(m_handle, "peak_I2C_Mode_Set") : nullptr);
4074 if(m_peak_I2C_Mode_Set == nullptr && load)
4075 {
4076 throw std::runtime_error("Failed to load peak_I2C_Mode_Set");
4077 }
4078
4079 m_peak_I2C_Mode_Get = (dyn_peak_I2C_Mode_Get) (load ? import_function(m_handle, "peak_I2C_Mode_Get") : nullptr);
4080 if(m_peak_I2C_Mode_Get == nullptr && load)
4081 {
4082 throw std::runtime_error("Failed to load peak_I2C_Mode_Get");
4083 }
4084
4085 m_peak_I2C_DeviceAddress_GetRange = (dyn_peak_I2C_DeviceAddress_GetRange) (load ? import_function(m_handle, "peak_I2C_DeviceAddress_GetRange") : nullptr);
4086 if(m_peak_I2C_DeviceAddress_GetRange == nullptr && load)
4087 {
4088 throw std::runtime_error("Failed to load peak_I2C_DeviceAddress_GetRange");
4089 }
4090
4091 m_peak_I2C_DeviceAddress_Set = (dyn_peak_I2C_DeviceAddress_Set) (load ? import_function(m_handle, "peak_I2C_DeviceAddress_Set") : nullptr);
4092 if(m_peak_I2C_DeviceAddress_Set == nullptr && load)
4093 {
4094 throw std::runtime_error("Failed to load peak_I2C_DeviceAddress_Set");
4095 }
4096
4097 m_peak_I2C_DeviceAddress_Get = (dyn_peak_I2C_DeviceAddress_Get) (load ? import_function(m_handle, "peak_I2C_DeviceAddress_Get") : nullptr);
4098 if(m_peak_I2C_DeviceAddress_Get == nullptr && load)
4099 {
4100 throw std::runtime_error("Failed to load peak_I2C_DeviceAddress_Get");
4101 }
4102
4103 m_peak_I2C_RegisterAddress_Length_GetList = (dyn_peak_I2C_RegisterAddress_Length_GetList) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Length_GetList") : nullptr);
4104 if(m_peak_I2C_RegisterAddress_Length_GetList == nullptr && load)
4105 {
4106 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Length_GetList");
4107 }
4108
4109 m_peak_I2C_RegisterAddress_Length_Set = (dyn_peak_I2C_RegisterAddress_Length_Set) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Length_Set") : nullptr);
4110 if(m_peak_I2C_RegisterAddress_Length_Set == nullptr && load)
4111 {
4112 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Length_Set");
4113 }
4114
4115 m_peak_I2C_RegisterAddress_Length_Get = (dyn_peak_I2C_RegisterAddress_Length_Get) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Length_Get") : nullptr);
4116 if(m_peak_I2C_RegisterAddress_Length_Get == nullptr && load)
4117 {
4118 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Length_Get");
4119 }
4120
4121 m_peak_I2C_RegisterAddress_Endianness_Set = (dyn_peak_I2C_RegisterAddress_Endianness_Set) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Endianness_Set") : nullptr);
4122 if(m_peak_I2C_RegisterAddress_Endianness_Set == nullptr && load)
4123 {
4124 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Endianness_Set");
4125 }
4126
4127 m_peak_I2C_RegisterAddress_Endianness_Get = (dyn_peak_I2C_RegisterAddress_Endianness_Get) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Endianness_Get") : nullptr);
4128 if(m_peak_I2C_RegisterAddress_Endianness_Get == nullptr && load)
4129 {
4130 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Endianness_Get");
4131 }
4132
4133 m_peak_I2C_RegisterAddress_Set = (dyn_peak_I2C_RegisterAddress_Set) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Set") : nullptr);
4134 if(m_peak_I2C_RegisterAddress_Set == nullptr && load)
4135 {
4136 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Set");
4137 }
4138
4139 m_peak_I2C_RegisterAddress_Get = (dyn_peak_I2C_RegisterAddress_Get) (load ? import_function(m_handle, "peak_I2C_RegisterAddress_Get") : nullptr);
4140 if(m_peak_I2C_RegisterAddress_Get == nullptr && load)
4141 {
4142 throw std::runtime_error("Failed to load peak_I2C_RegisterAddress_Get");
4143 }
4144
4145 m_peak_I2C_AckPolling_Enable = (dyn_peak_I2C_AckPolling_Enable) (load ? import_function(m_handle, "peak_I2C_AckPolling_Enable") : nullptr);
4146 if(m_peak_I2C_AckPolling_Enable == nullptr && load)
4147 {
4148 throw std::runtime_error("Failed to load peak_I2C_AckPolling_Enable");
4149 }
4150
4151 m_peak_I2C_AckPolling_IsEnabled = (dyn_peak_I2C_AckPolling_IsEnabled) (load ? import_function(m_handle, "peak_I2C_AckPolling_IsEnabled") : nullptr);
4152 if(m_peak_I2C_AckPolling_IsEnabled == nullptr && load)
4153 {
4154 throw std::runtime_error("Failed to load peak_I2C_AckPolling_IsEnabled");
4155 }
4156
4157 m_peak_I2C_AckPolling_Timeout_GetAccessStatus = (dyn_peak_I2C_AckPolling_Timeout_GetAccessStatus) (load ? import_function(m_handle, "peak_I2C_AckPolling_Timeout_GetAccessStatus") : nullptr);
4158 if(m_peak_I2C_AckPolling_Timeout_GetAccessStatus == nullptr && load)
4159 {
4160 throw std::runtime_error("Failed to load peak_I2C_AckPolling_Timeout_GetAccessStatus");
4161 }
4162
4163 m_peak_I2C_AckPolling_Timeout_GetRange = (dyn_peak_I2C_AckPolling_Timeout_GetRange) (load ? import_function(m_handle, "peak_I2C_AckPolling_Timeout_GetRange") : nullptr);
4164 if(m_peak_I2C_AckPolling_Timeout_GetRange == nullptr && load)
4165 {
4166 throw std::runtime_error("Failed to load peak_I2C_AckPolling_Timeout_GetRange");
4167 }
4168
4169 m_peak_I2C_AckPolling_Timeout_Set = (dyn_peak_I2C_AckPolling_Timeout_Set) (load ? import_function(m_handle, "peak_I2C_AckPolling_Timeout_Set") : nullptr);
4170 if(m_peak_I2C_AckPolling_Timeout_Set == nullptr && load)
4171 {
4172 throw std::runtime_error("Failed to load peak_I2C_AckPolling_Timeout_Set");
4173 }
4174
4175 m_peak_I2C_AckPolling_Timeout_Get = (dyn_peak_I2C_AckPolling_Timeout_Get) (load ? import_function(m_handle, "peak_I2C_AckPolling_Timeout_Get") : nullptr);
4176 if(m_peak_I2C_AckPolling_Timeout_Get == nullptr && load)
4177 {
4178 throw std::runtime_error("Failed to load peak_I2C_AckPolling_Timeout_Get");
4179 }
4180
4181 m_peak_I2C_Data_Write = (dyn_peak_I2C_Data_Write) (load ? import_function(m_handle, "peak_I2C_Data_Write") : nullptr);
4182 if(m_peak_I2C_Data_Write == nullptr && load)
4183 {
4184 throw std::runtime_error("Failed to load peak_I2C_Data_Write");
4185 }
4186
4187 m_peak_I2C_Data_Read = (dyn_peak_I2C_Data_Read) (load ? import_function(m_handle, "peak_I2C_Data_Read") : nullptr);
4188 if(m_peak_I2C_Data_Read == nullptr && load)
4189 {
4190 throw std::runtime_error("Failed to load peak_I2C_Data_Read");
4191 }
4192
4193 m_peak_I2C_Data_MaxSize_Get = (dyn_peak_I2C_Data_MaxSize_Get) (load ? import_function(m_handle, "peak_I2C_Data_MaxSize_Get") : nullptr);
4194 if(m_peak_I2C_Data_MaxSize_Get == nullptr && load)
4195 {
4196 throw std::runtime_error("Failed to load peak_I2C_Data_MaxSize_Get");
4197 }
4198
4199 m_peak_I2C_OperationStatus_Get = (dyn_peak_I2C_OperationStatus_Get) (load ? import_function(m_handle, "peak_I2C_OperationStatus_Get") : nullptr);
4200 if(m_peak_I2C_OperationStatus_Get == nullptr && load)
4201 {
4202 throw std::runtime_error("Failed to load peak_I2C_OperationStatus_Get");
4203 }
4204
4205
4206 return true;
4207}
4208
4209inline PEAK_API_STATUS DynamicLoader::peak_Library_Init()
4210{
4211 auto& inst = instance();
4212 if(inst.m_peak_Library_Init)
4213 {
4214 return inst.m_peak_Library_Init();
4215 }
4216 else
4217 {
4218 throw std::runtime_error("Library not loaded!");
4219 }
4220}
4221
4222inline PEAK_API_STATUS DynamicLoader::peak_Library_Exit()
4223{
4224 auto& inst = instance();
4225 if(inst.m_peak_Library_Exit)
4226 {
4227 return inst.m_peak_Library_Exit();
4228 }
4229 else
4230 {
4231 throw std::runtime_error("Library not loaded!");
4232 }
4233}
4234
4235inline PEAK_API_STATUS DynamicLoader::peak_Library_GetVersion(uint32_t * majorVersion, uint32_t * minorVersion, uint32_t * subminorVersion, uint32_t * patchVersion)
4236{
4237 auto& inst = instance();
4238 if(inst.m_peak_Library_GetVersion)
4239 {
4240 return inst.m_peak_Library_GetVersion(majorVersion, minorVersion, subminorVersion, patchVersion);
4241 }
4242 else
4243 {
4244 throw std::runtime_error("Library not loaded!");
4245 }
4246}
4247
4248inline PEAK_API_STATUS DynamicLoader::peak_Library_GetLastError(peak_status * lastErrorCode, char * lastErrorMessage, size_t * lastErrorMessageSize)
4249{
4250 auto& inst = instance();
4251 if(inst.m_peak_Library_GetLastError)
4252 {
4253 return inst.m_peak_Library_GetLastError(lastErrorCode, lastErrorMessage, lastErrorMessageSize);
4254 }
4255 else
4256 {
4257 throw std::runtime_error("Library not loaded!");
4258 }
4259}
4260
4261inline PEAK_API_BOOL DynamicLoader::peak_Library_InterfaceTechnology_IsSupported(peak_interface_technology interfaceTech)
4262{
4263 auto& inst = instance();
4264 if(inst.m_peak_Library_InterfaceTechnology_IsSupported)
4265 {
4266 return inst.m_peak_Library_InterfaceTechnology_IsSupported(interfaceTech);
4267 }
4268 else
4269 {
4270 throw std::runtime_error("Library not loaded!");
4271 }
4272}
4273
4274inline PEAK_API_STATUS DynamicLoader::peak_Reconnect_Enable(peak_interface_technology interfaceTech, peak_bool enabled)
4275{
4276 auto& inst = instance();
4277 if(inst.m_peak_Reconnect_Enable)
4278 {
4279 return inst.m_peak_Reconnect_Enable(interfaceTech, enabled);
4280 }
4281 else
4282 {
4283 throw std::runtime_error("Library not loaded!");
4284 }
4285}
4286
4287inline PEAK_API_BOOL DynamicLoader::peak_Reconnect_IsEnabled(peak_interface_technology interfaceTech)
4288{
4289 auto& inst = instance();
4290 if(inst.m_peak_Reconnect_IsEnabled)
4291 {
4292 return inst.m_peak_Reconnect_IsEnabled(interfaceTech);
4293 }
4294 else
4295 {
4296 throw std::runtime_error("Library not loaded!");
4297 }
4298}
4299
4300inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Reconnect_GetAccessStatus(peak_interface_technology interfaceTech)
4301{
4302 auto& inst = instance();
4303 if(inst.m_peak_Reconnect_GetAccessStatus)
4304 {
4305 return inst.m_peak_Reconnect_GetAccessStatus(interfaceTech);
4306 }
4307 else
4308 {
4309 throw std::runtime_error("Library not loaded!");
4310 }
4311}
4312
4313inline PEAK_API_STATUS DynamicLoader::peak_CameraList_Update(size_t * cameraCount)
4314{
4315 auto& inst = instance();
4316 if(inst.m_peak_CameraList_Update)
4317 {
4318 return inst.m_peak_CameraList_Update(cameraCount);
4319 }
4320 else
4321 {
4322 throw std::runtime_error("Library not loaded!");
4323 }
4324}
4325
4326inline PEAK_API_STATUS DynamicLoader::peak_CameraList_Get(peak_camera_descriptor * cameraList, size_t * cameraCount)
4327{
4328 auto& inst = instance();
4329 if(inst.m_peak_CameraList_Get)
4330 {
4331 return inst.m_peak_CameraList_Get(cameraList, cameraCount);
4332 }
4333 else
4334 {
4335 throw std::runtime_error("Library not loaded!");
4336 }
4337}
4338
4339inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromHandle(peak_camera_handle hCam)
4340{
4341 auto& inst = instance();
4342 if(inst.m_peak_Camera_ID_FromHandle)
4343 {
4344 return inst.m_peak_Camera_ID_FromHandle(hCam);
4345 }
4346 else
4347 {
4348 throw std::runtime_error("Library not loaded!");
4349 }
4350}
4351
4352inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromSerialNumber(const char * serialNumber)
4353{
4354 auto& inst = instance();
4355 if(inst.m_peak_Camera_ID_FromSerialNumber)
4356 {
4357 return inst.m_peak_Camera_ID_FromSerialNumber(serialNumber);
4358 }
4359 else
4360 {
4361 throw std::runtime_error("Library not loaded!");
4362 }
4363}
4364
4365inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromUserDefinedName(const char * userDefinedName)
4366{
4367 auto& inst = instance();
4368 if(inst.m_peak_Camera_ID_FromUserDefinedName)
4369 {
4370 return inst.m_peak_Camera_ID_FromUserDefinedName(userDefinedName);
4371 }
4372 else
4373 {
4374 throw std::runtime_error("Library not loaded!");
4375 }
4376}
4377
4378inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromMAC(peak_mac_address macAddress)
4379{
4380 auto& inst = instance();
4381 if(inst.m_peak_Camera_ID_FromMAC)
4382 {
4383 return inst.m_peak_Camera_ID_FromMAC(macAddress);
4384 }
4385 else
4386 {
4387 throw std::runtime_error("Library not loaded!");
4388 }
4389}
4390
4391inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Camera_GetAccessStatus(peak_camera_id cameraID)
4392{
4393 auto& inst = instance();
4394 if(inst.m_peak_Camera_GetAccessStatus)
4395 {
4396 return inst.m_peak_Camera_GetAccessStatus(cameraID);
4397 }
4398 else
4399 {
4400 throw std::runtime_error("Library not loaded!");
4401 }
4402}
4403
4404inline PEAK_API_STATUS DynamicLoader::peak_Camera_GetDescriptor(peak_camera_id cameraID, peak_camera_descriptor * cameraDescriptor)
4405{
4406 auto& inst = instance();
4407 if(inst.m_peak_Camera_GetDescriptor)
4408 {
4409 return inst.m_peak_Camera_GetDescriptor(cameraID, cameraDescriptor);
4410 }
4411 else
4412 {
4413 throw std::runtime_error("Library not loaded!");
4414 }
4415}
4416
4417inline PEAK_API_STATUS DynamicLoader::peak_Camera_Open(peak_camera_id cameraID, peak_camera_handle * hCam)
4418{
4419 auto& inst = instance();
4420 if(inst.m_peak_Camera_Open)
4421 {
4422 return inst.m_peak_Camera_Open(cameraID, hCam);
4423 }
4424 else
4425 {
4426 throw std::runtime_error("Library not loaded!");
4427 }
4428}
4429
4430inline PEAK_API_STATUS DynamicLoader::peak_Camera_OpenFirstAvailable(peak_camera_handle * hCam)
4431{
4432 auto& inst = instance();
4433 if(inst.m_peak_Camera_OpenFirstAvailable)
4434 {
4435 return inst.m_peak_Camera_OpenFirstAvailable(hCam);
4436 }
4437 else
4438 {
4439 throw std::runtime_error("Library not loaded!");
4440 }
4441}
4442
4443inline PEAK_API_STATUS DynamicLoader::peak_Camera_Close(peak_camera_handle hCam)
4444{
4445 auto& inst = instance();
4446 if(inst.m_peak_Camera_Close)
4447 {
4448 return inst.m_peak_Camera_Close(hCam);
4449 }
4450 else
4451 {
4452 throw std::runtime_error("Library not loaded!");
4453 }
4454}
4455
4456inline PEAK_API_STATUS DynamicLoader::peak_Camera_ResetToDefaultSettings(peak_camera_handle hCam)
4457{
4458 auto& inst = instance();
4459 if(inst.m_peak_Camera_ResetToDefaultSettings)
4460 {
4461 return inst.m_peak_Camera_ResetToDefaultSettings(hCam);
4462 }
4463 else
4464 {
4465 throw std::runtime_error("Library not loaded!");
4466 }
4467}
4468
4469inline PEAK_API_STATUS DynamicLoader::peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char * userDefinedName)
4470{
4471 auto& inst = instance();
4472 if(inst.m_peak_Camera_UserDefinedName_Set)
4473 {
4474 return inst.m_peak_Camera_UserDefinedName_Set(hCam, userDefinedName);
4475 }
4476 else
4477 {
4478 throw std::runtime_error("Library not loaded!");
4479 }
4480}
4481
4482inline PEAK_API_STATUS DynamicLoader::peak_Camera_UserDefinedName_Get(peak_camera_handle hCam, char * userDefinedName, size_t * userDefinedNameSize)
4483{
4484 auto& inst = instance();
4485 if(inst.m_peak_Camera_UserDefinedName_Get)
4486 {
4487 return inst.m_peak_Camera_UserDefinedName_Get(hCam, userDefinedName, userDefinedNameSize);
4488 }
4489 else
4490 {
4491 throw std::runtime_error("Library not loaded!");
4492 }
4493}
4494
4495inline PEAK_API_BOOL DynamicLoader::peak_Camera_IsConnected(peak_camera_handle hCam)
4496{
4497 auto& inst = instance();
4498 if(inst.m_peak_Camera_IsConnected)
4499 {
4500 return inst.m_peak_Camera_IsConnected(hCam);
4501 }
4502 else
4503 {
4504 throw std::runtime_error("Library not loaded!");
4505 }
4506}
4507
4508inline PEAK_API_STATUS DynamicLoader::peak_Camera_Reboot(peak_camera_handle hCam)
4509{
4510 auto& inst = instance();
4511 if(inst.m_peak_Camera_Reboot)
4512 {
4513 return inst.m_peak_Camera_Reboot(hCam);
4514 }
4515 else
4516 {
4517 throw std::runtime_error("Library not loaded!");
4518 }
4519}
4520
4521inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_EthernetConfig_GetAccessStatus(peak_camera_id cameraID)
4522{
4523 auto& inst = instance();
4524 if(inst.m_peak_EthernetConfig_GetAccessStatus)
4525 {
4526 return inst.m_peak_EthernetConfig_GetAccessStatus(cameraID);
4527 }
4528 else
4529 {
4530 throw std::runtime_error("Library not loaded!");
4531 }
4532}
4533
4534inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_GetInfo(peak_camera_id cameraID, peak_ethernet_info * ethernetInfo)
4535{
4536 auto& inst = instance();
4537 if(inst.m_peak_EthernetConfig_GetInfo)
4538 {
4539 return inst.m_peak_EthernetConfig_GetInfo(cameraID, ethernetInfo);
4540 }
4541 else
4542 {
4543 throw std::runtime_error("Library not loaded!");
4544 }
4545}
4546
4547inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_EthernetConfig_DHCP_GetAccessStatus(peak_camera_id cameraID)
4548{
4549 auto& inst = instance();
4550 if(inst.m_peak_EthernetConfig_DHCP_GetAccessStatus)
4551 {
4552 return inst.m_peak_EthernetConfig_DHCP_GetAccessStatus(cameraID);
4553 }
4554 else
4555 {
4556 throw std::runtime_error("Library not loaded!");
4557 }
4558}
4559
4560inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_DHCP_Enable(peak_camera_id cameraID, peak_bool enabled)
4561{
4562 auto& inst = instance();
4563 if(inst.m_peak_EthernetConfig_DHCP_Enable)
4564 {
4565 return inst.m_peak_EthernetConfig_DHCP_Enable(cameraID, enabled);
4566 }
4567 else
4568 {
4569 throw std::runtime_error("Library not loaded!");
4570 }
4571}
4572
4573inline PEAK_API_BOOL DynamicLoader::peak_EthernetConfig_DHCP_IsEnabled(peak_camera_id cameraID)
4574{
4575 auto& inst = instance();
4576 if(inst.m_peak_EthernetConfig_DHCP_IsEnabled)
4577 {
4578 return inst.m_peak_EthernetConfig_DHCP_IsEnabled(cameraID);
4579 }
4580 else
4581 {
4582 throw std::runtime_error("Library not loaded!");
4583 }
4584}
4585
4586inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_EthernetConfig_PersistentIP_GetAccessStatus(peak_camera_id cameraID)
4587{
4588 auto& inst = instance();
4589 if(inst.m_peak_EthernetConfig_PersistentIP_GetAccessStatus)
4590 {
4591 return inst.m_peak_EthernetConfig_PersistentIP_GetAccessStatus(cameraID);
4592 }
4593 else
4594 {
4595 throw std::runtime_error("Library not loaded!");
4596 }
4597}
4598
4599inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_PersistentIP_Set(peak_camera_id cameraID, peak_ip_config persistentIP)
4600{
4601 auto& inst = instance();
4602 if(inst.m_peak_EthernetConfig_PersistentIP_Set)
4603 {
4604 return inst.m_peak_EthernetConfig_PersistentIP_Set(cameraID, persistentIP);
4605 }
4606 else
4607 {
4608 throw std::runtime_error("Library not loaded!");
4609 }
4610}
4611
4612inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_PersistentIP_Get(peak_camera_id cameraID, peak_ip_config * persistentIP)
4613{
4614 auto& inst = instance();
4615 if(inst.m_peak_EthernetConfig_PersistentIP_Get)
4616 {
4617 return inst.m_peak_EthernetConfig_PersistentIP_Get(cameraID, persistentIP);
4618 }
4619 else
4620 {
4621 throw std::runtime_error("Library not loaded!");
4622 }
4623}
4624
4625inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Start(peak_camera_handle hCam, uint32_t numberOfFrames)
4626{
4627 auto& inst = instance();
4628 if(inst.m_peak_Acquisition_Start)
4629 {
4630 return inst.m_peak_Acquisition_Start(hCam, numberOfFrames);
4631 }
4632 else
4633 {
4634 throw std::runtime_error("Library not loaded!");
4635 }
4636}
4637
4638inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Stop(peak_camera_handle hCam)
4639{
4640 auto& inst = instance();
4641 if(inst.m_peak_Acquisition_Stop)
4642 {
4643 return inst.m_peak_Acquisition_Stop(hCam);
4644 }
4645 else
4646 {
4647 throw std::runtime_error("Library not loaded!");
4648 }
4649}
4650
4651inline PEAK_API_BOOL DynamicLoader::peak_Acquisition_IsStarted(peak_camera_handle hCam)
4652{
4653 auto& inst = instance();
4654 if(inst.m_peak_Acquisition_IsStarted)
4655 {
4656 return inst.m_peak_Acquisition_IsStarted(hCam);
4657 }
4658 else
4659 {
4660 throw std::runtime_error("Library not loaded!");
4661 }
4662}
4663
4664inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_WaitForFrame(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle * hFrame)
4665{
4666 auto& inst = instance();
4667 if(inst.m_peak_Acquisition_WaitForFrame)
4668 {
4669 return inst.m_peak_Acquisition_WaitForFrame(hCam, timeout_ms, hFrame);
4670 }
4671 else
4672 {
4673 throw std::runtime_error("Library not loaded!");
4674 }
4675}
4676
4677inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_GetInfo(peak_camera_handle hCam, peak_acquisition_info * acquisitionInfo)
4678{
4679 auto& inst = instance();
4680 if(inst.m_peak_Acquisition_GetInfo)
4681 {
4682 return inst.m_peak_Acquisition_GetInfo(hCam, acquisitionInfo);
4683 }
4684 else
4685 {
4686 throw std::runtime_error("Library not loaded!");
4687 }
4688}
4689
4690inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_GetRequiredSize(peak_camera_handle hCam, size_t * requiredBufferSize)
4691{
4692 auto& inst = instance();
4693 if(inst.m_peak_Acquisition_Buffer_GetRequiredSize)
4694 {
4695 return inst.m_peak_Acquisition_Buffer_GetRequiredSize(hCam, requiredBufferSize);
4696 }
4697 else
4698 {
4699 throw std::runtime_error("Library not loaded!");
4700 }
4701}
4702
4703inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_GetRequiredCount(peak_camera_handle hCam, size_t * requiredBufferCount)
4704{
4705 auto& inst = instance();
4706 if(inst.m_peak_Acquisition_Buffer_GetRequiredCount)
4707 {
4708 return inst.m_peak_Acquisition_Buffer_GetRequiredCount(hCam, requiredBufferCount);
4709 }
4710 else
4711 {
4712 throw std::runtime_error("Library not loaded!");
4713 }
4714}
4715
4716inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_Announce(peak_camera_handle hCam, uint8_t * memoryAddress, size_t memorySize, void * userContext)
4717{
4718 auto& inst = instance();
4719 if(inst.m_peak_Acquisition_Buffer_Announce)
4720 {
4721 return inst.m_peak_Acquisition_Buffer_Announce(hCam, memoryAddress, memorySize, userContext);
4722 }
4723 else
4724 {
4725 throw std::runtime_error("Library not loaded!");
4726 }
4727}
4728
4729inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_Revoke(peak_camera_handle hCam, uint8_t * memoryAddress)
4730{
4731 auto& inst = instance();
4732 if(inst.m_peak_Acquisition_Buffer_Revoke)
4733 {
4734 return inst.m_peak_Acquisition_Buffer_Revoke(hCam, memoryAddress);
4735 }
4736 else
4737 {
4738 throw std::runtime_error("Library not loaded!");
4739 }
4740}
4741
4742inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_RevokeAll(peak_camera_handle hCam)
4743{
4744 auto& inst = instance();
4745 if(inst.m_peak_Acquisition_Buffer_RevokeAll)
4746 {
4747 return inst.m_peak_Acquisition_Buffer_RevokeAll(hCam);
4748 }
4749 else
4750 {
4751 throw std::runtime_error("Library not loaded!");
4752 }
4753}
4754
4755inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_GetInfo(peak_pixel_format pixelFormat, peak_pixel_format_info * pixelFormatInfo)
4756{
4757 auto& inst = instance();
4758 if(inst.m_peak_PixelFormat_GetInfo)
4759 {
4760 return inst.m_peak_PixelFormat_GetInfo(pixelFormat, pixelFormatInfo);
4761 }
4762 else
4763 {
4764 throw std::runtime_error("Library not loaded!");
4765 }
4766}
4767
4768inline PEAK_API_STATUS DynamicLoader::peak_Frame_Release(peak_camera_handle hCam, peak_frame_handle hFrame)
4769{
4770 auto& inst = instance();
4771 if(inst.m_peak_Frame_Release)
4772 {
4773 return inst.m_peak_Frame_Release(hCam, hFrame);
4774 }
4775 else
4776 {
4777 throw std::runtime_error("Library not loaded!");
4778 }
4779}
4780
4781inline PEAK_API_STATUS DynamicLoader::peak_Frame_GetInfo(peak_frame_handle hFrame, peak_frame_info * frameInfo)
4782{
4783 auto& inst = instance();
4784 if(inst.m_peak_Frame_GetInfo)
4785 {
4786 return inst.m_peak_Frame_GetInfo(hFrame, frameInfo);
4787 }
4788 else
4789 {
4790 throw std::runtime_error("Library not loaded!");
4791 }
4792}
4793
4794inline PEAK_API_STATUS DynamicLoader::peak_Frame_Type_Get(peak_frame_handle hFrame, peak_frame_type * frameType)
4795{
4796 auto& inst = instance();
4797 if(inst.m_peak_Frame_Type_Get)
4798 {
4799 return inst.m_peak_Frame_Type_Get(hFrame, frameType);
4800 }
4801 else
4802 {
4803 throw std::runtime_error("Library not loaded!");
4804 }
4805}
4806
4807inline PEAK_API_STATUS DynamicLoader::peak_Frame_Buffer_Get(peak_frame_handle hFrame, peak_buffer * buffer)
4808{
4809 auto& inst = instance();
4810 if(inst.m_peak_Frame_Buffer_Get)
4811 {
4812 return inst.m_peak_Frame_Buffer_Get(hFrame, buffer);
4813 }
4814 else
4815 {
4816 throw std::runtime_error("Library not loaded!");
4817 }
4818}
4819
4820inline PEAK_API_STATUS DynamicLoader::peak_Frame_ID_Get(peak_frame_handle hFrame, uint64_t * frameID)
4821{
4822 auto& inst = instance();
4823 if(inst.m_peak_Frame_ID_Get)
4824 {
4825 return inst.m_peak_Frame_ID_Get(hFrame, frameID);
4826 }
4827 else
4828 {
4829 throw std::runtime_error("Library not loaded!");
4830 }
4831}
4832
4833inline PEAK_API_STATUS DynamicLoader::peak_Frame_Timestamp_Get(peak_frame_handle hFrame, uint64_t * timestamp_ns)
4834{
4835 auto& inst = instance();
4836 if(inst.m_peak_Frame_Timestamp_Get)
4837 {
4838 return inst.m_peak_Frame_Timestamp_Get(hFrame, timestamp_ns);
4839 }
4840 else
4841 {
4842 throw std::runtime_error("Library not loaded!");
4843 }
4844}
4845
4846inline PEAK_API_STATUS DynamicLoader::peak_Frame_ROI_Get(peak_frame_handle hFrame, peak_roi * roi)
4847{
4848 auto& inst = instance();
4849 if(inst.m_peak_Frame_ROI_Get)
4850 {
4851 return inst.m_peak_Frame_ROI_Get(hFrame, roi);
4852 }
4853 else
4854 {
4855 throw std::runtime_error("Library not loaded!");
4856 }
4857}
4858
4859inline PEAK_API_STATUS DynamicLoader::peak_Frame_PixelFormat_Get(peak_frame_handle hFrame, peak_pixel_format * pixelFormat)
4860{
4861 auto& inst = instance();
4862 if(inst.m_peak_Frame_PixelFormat_Get)
4863 {
4864 return inst.m_peak_Frame_PixelFormat_Get(hFrame, pixelFormat);
4865 }
4866 else
4867 {
4868 throw std::runtime_error("Library not loaded!");
4869 }
4870}
4871
4872inline PEAK_API_BOOL DynamicLoader::peak_Frame_IsComplete(peak_frame_handle hFrame)
4873{
4874 auto& inst = instance();
4875 if(inst.m_peak_Frame_IsComplete)
4876 {
4877 return inst.m_peak_Frame_IsComplete(hFrame);
4878 }
4879 else
4880 {
4881 throw std::runtime_error("Library not loaded!");
4882 }
4883}
4884
4885inline PEAK_API_STATUS DynamicLoader::peak_Frame_BytesExpected_Get(peak_frame_handle hFrame, size_t * bytesExpected)
4886{
4887 auto& inst = instance();
4888 if(inst.m_peak_Frame_BytesExpected_Get)
4889 {
4890 return inst.m_peak_Frame_BytesExpected_Get(hFrame, bytesExpected);
4891 }
4892 else
4893 {
4894 throw std::runtime_error("Library not loaded!");
4895 }
4896}
4897
4898inline PEAK_API_STATUS DynamicLoader::peak_Frame_BytesWritten_Get(peak_frame_handle hFrame, size_t * bytesWritten)
4899{
4900 auto& inst = instance();
4901 if(inst.m_peak_Frame_BytesWritten_Get)
4902 {
4903 return inst.m_peak_Frame_BytesWritten_Get(hFrame, bytesWritten);
4904 }
4905 else
4906 {
4907 throw std::runtime_error("Library not loaded!");
4908 }
4909}
4910
4911inline PEAK_API_STATUS DynamicLoader::peak_Frame_ProcessingTime_Get(peak_frame_handle hFrame, uint32_t * processingTime_ms)
4912{
4913 auto& inst = instance();
4914 if(inst.m_peak_Frame_ProcessingTime_Get)
4915 {
4916 return inst.m_peak_Frame_ProcessingTime_Get(hFrame, processingTime_ms);
4917 }
4918 else
4919 {
4920 throw std::runtime_error("Library not loaded!");
4921 }
4922}
4923
4924inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_GetAccessStatus(peak_camera_handle hCam, peak_parameter_set parameterSet)
4925{
4926 auto& inst = instance();
4927 if(inst.m_peak_CameraSettings_ParameterSet_GetAccessStatus)
4928 {
4929 return inst.m_peak_CameraSettings_ParameterSet_GetAccessStatus(hCam, parameterSet);
4930 }
4931 else
4932 {
4933 throw std::runtime_error("Library not loaded!");
4934 }
4935}
4936
4937inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_GetList(peak_camera_handle hCam, peak_parameter_set * parameterSetList, size_t * parameterSetCount)
4938{
4939 auto& inst = instance();
4940 if(inst.m_peak_CameraSettings_ParameterSet_GetList)
4941 {
4942 return inst.m_peak_CameraSettings_ParameterSet_GetList(hCam, parameterSetList, parameterSetCount);
4943 }
4944 else
4945 {
4946 throw std::runtime_error("Library not loaded!");
4947 }
4948}
4949
4950inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_Store(peak_camera_handle hCam, peak_parameter_set parameterSet)
4951{
4952 auto& inst = instance();
4953 if(inst.m_peak_CameraSettings_ParameterSet_Store)
4954 {
4955 return inst.m_peak_CameraSettings_ParameterSet_Store(hCam, parameterSet);
4956 }
4957 else
4958 {
4959 throw std::runtime_error("Library not loaded!");
4960 }
4961}
4962
4963inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_Apply(peak_camera_handle hCam, peak_parameter_set parameterSet)
4964{
4965 auto& inst = instance();
4966 if(inst.m_peak_CameraSettings_ParameterSet_Apply)
4967 {
4968 return inst.m_peak_CameraSettings_ParameterSet_Apply(hCam, parameterSet);
4969 }
4970 else
4971 {
4972 throw std::runtime_error("Library not loaded!");
4973 }
4974}
4975
4976inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_Startup_GetAccessStatus(peak_camera_handle hCam)
4977{
4978 auto& inst = instance();
4979 if(inst.m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus)
4980 {
4981 return inst.m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus(hCam);
4982 }
4983 else
4984 {
4985 throw std::runtime_error("Library not loaded!");
4986 }
4987}
4988
4989inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_Startup_Set(peak_camera_handle hCam, peak_parameter_set parameterSet)
4990{
4991 auto& inst = instance();
4992 if(inst.m_peak_CameraSettings_ParameterSet_Startup_Set)
4993 {
4994 return inst.m_peak_CameraSettings_ParameterSet_Startup_Set(hCam, parameterSet);
4995 }
4996 else
4997 {
4998 throw std::runtime_error("Library not loaded!");
4999 }
5000}
5001
5002inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_Startup_Get(peak_camera_handle hCam, peak_parameter_set * parameterSet)
5003{
5004 auto& inst = instance();
5005 if(inst.m_peak_CameraSettings_ParameterSet_Startup_Get)
5006 {
5007 return inst.m_peak_CameraSettings_ParameterSet_Startup_Get(hCam, parameterSet);
5008 }
5009 else
5010 {
5011 throw std::runtime_error("Library not loaded!");
5012 }
5013}
5014
5015inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_CameraSettings_DiskFile_GetAccessStatus(peak_camera_handle hCam)
5016{
5017 auto& inst = instance();
5018 if(inst.m_peak_CameraSettings_DiskFile_GetAccessStatus)
5019 {
5020 return inst.m_peak_CameraSettings_DiskFile_GetAccessStatus(hCam);
5021 }
5022 else
5023 {
5024 throw std::runtime_error("Library not loaded!");
5025 }
5026}
5027
5028inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_DiskFile_Store(peak_camera_handle hCam, const char * file)
5029{
5030 auto& inst = instance();
5031 if(inst.m_peak_CameraSettings_DiskFile_Store)
5032 {
5033 return inst.m_peak_CameraSettings_DiskFile_Store(hCam, file);
5034 }
5035 else
5036 {
5037 throw std::runtime_error("Library not loaded!");
5038 }
5039}
5040
5041inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char * file)
5042{
5043 auto& inst = instance();
5044 if(inst.m_peak_CameraSettings_DiskFile_Apply)
5045 {
5046 return inst.m_peak_CameraSettings_DiskFile_Apply(hCam, file);
5047 }
5048 else
5049 {
5050 throw std::runtime_error("Library not loaded!");
5051 }
5052}
5053
5054inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_FrameRate_GetAccessStatus(peak_camera_handle hCam)
5055{
5056 auto& inst = instance();
5057 if(inst.m_peak_FrameRate_GetAccessStatus)
5058 {
5059 return inst.m_peak_FrameRate_GetAccessStatus(hCam);
5060 }
5061 else
5062 {
5063 throw std::runtime_error("Library not loaded!");
5064 }
5065}
5066
5067inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_GetRange(peak_camera_handle hCam, double * minFrameRate_fps, double * maxFrameRate_fps, double * incFrameRate_fps)
5068{
5069 auto& inst = instance();
5070 if(inst.m_peak_FrameRate_GetRange)
5071 {
5072 return inst.m_peak_FrameRate_GetRange(hCam, minFrameRate_fps, maxFrameRate_fps, incFrameRate_fps);
5073 }
5074 else
5075 {
5076 throw std::runtime_error("Library not loaded!");
5077 }
5078}
5079
5080inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_Set(peak_camera_handle hCam, double frameRate_fps)
5081{
5082 auto& inst = instance();
5083 if(inst.m_peak_FrameRate_Set)
5084 {
5085 return inst.m_peak_FrameRate_Set(hCam, frameRate_fps);
5086 }
5087 else
5088 {
5089 throw std::runtime_error("Library not loaded!");
5090 }
5091}
5092
5093inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_Get(peak_camera_handle hCam, double * frameRate_fps)
5094{
5095 auto& inst = instance();
5096 if(inst.m_peak_FrameRate_Get)
5097 {
5098 return inst.m_peak_FrameRate_Get(hCam, frameRate_fps);
5099 }
5100 else
5101 {
5102 throw std::runtime_error("Library not loaded!");
5103 }
5104}
5105
5106inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ExposureTime_GetAccessStatus(peak_camera_handle hCam)
5107{
5108 auto& inst = instance();
5109 if(inst.m_peak_ExposureTime_GetAccessStatus)
5110 {
5111 return inst.m_peak_ExposureTime_GetAccessStatus(hCam);
5112 }
5113 else
5114 {
5115 throw std::runtime_error("Library not loaded!");
5116 }
5117}
5118
5119inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_GetRange(peak_camera_handle hCam, double * minExposureTime_us, double * maxExposureTime_us, double * incExposureTime_us)
5120{
5121 auto& inst = instance();
5122 if(inst.m_peak_ExposureTime_GetRange)
5123 {
5124 return inst.m_peak_ExposureTime_GetRange(hCam, minExposureTime_us, maxExposureTime_us, incExposureTime_us);
5125 }
5126 else
5127 {
5128 throw std::runtime_error("Library not loaded!");
5129 }
5130}
5131
5132inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_Set(peak_camera_handle hCam, double exposureTime_us)
5133{
5134 auto& inst = instance();
5135 if(inst.m_peak_ExposureTime_Set)
5136 {
5137 return inst.m_peak_ExposureTime_Set(hCam, exposureTime_us);
5138 }
5139 else
5140 {
5141 throw std::runtime_error("Library not loaded!");
5142 }
5143}
5144
5145inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_Get(peak_camera_handle hCam, double * exposureTime_us)
5146{
5147 auto& inst = instance();
5148 if(inst.m_peak_ExposureTime_Get)
5149 {
5150 return inst.m_peak_ExposureTime_Get(hCam, exposureTime_us);
5151 }
5152 else
5153 {
5154 throw std::runtime_error("Library not loaded!");
5155 }
5156}
5157
5158inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_PixelClock_GetAccessStatus(peak_camera_handle hCam)
5159{
5160 auto& inst = instance();
5161 if(inst.m_peak_PixelClock_GetAccessStatus)
5162 {
5163 return inst.m_peak_PixelClock_GetAccessStatus(hCam);
5164 }
5165 else
5166 {
5167 throw std::runtime_error("Library not loaded!");
5168 }
5169}
5170
5171inline PEAK_API_BOOL DynamicLoader::peak_PixelClock_HasRange(peak_camera_handle hCam)
5172{
5173 auto& inst = instance();
5174 if(inst.m_peak_PixelClock_HasRange)
5175 {
5176 return inst.m_peak_PixelClock_HasRange(hCam);
5177 }
5178 else
5179 {
5180 throw std::runtime_error("Library not loaded!");
5181 }
5182}
5183
5184inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_GetRange(peak_camera_handle hCam, double * minPixelClock_MHz, double * maxPixelClock_MHz, double * incPixelClock_MHz)
5185{
5186 auto& inst = instance();
5187 if(inst.m_peak_PixelClock_GetRange)
5188 {
5189 return inst.m_peak_PixelClock_GetRange(hCam, minPixelClock_MHz, maxPixelClock_MHz, incPixelClock_MHz);
5190 }
5191 else
5192 {
5193 throw std::runtime_error("Library not loaded!");
5194 }
5195}
5196
5197inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_GetList(peak_camera_handle hCam, double * pixelClockList, size_t * pixelClockCount)
5198{
5199 auto& inst = instance();
5200 if(inst.m_peak_PixelClock_GetList)
5201 {
5202 return inst.m_peak_PixelClock_GetList(hCam, pixelClockList, pixelClockCount);
5203 }
5204 else
5205 {
5206 throw std::runtime_error("Library not loaded!");
5207 }
5208}
5209
5210inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_Set(peak_camera_handle hCam, double pixelClock_MHz)
5211{
5212 auto& inst = instance();
5213 if(inst.m_peak_PixelClock_Set)
5214 {
5215 return inst.m_peak_PixelClock_Set(hCam, pixelClock_MHz);
5216 }
5217 else
5218 {
5219 throw std::runtime_error("Library not loaded!");
5220 }
5221}
5222
5223inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_Get(peak_camera_handle hCam, double * pixelClock_MHz)
5224{
5225 auto& inst = instance();
5226 if(inst.m_peak_PixelClock_Get)
5227 {
5228 return inst.m_peak_PixelClock_Get(hCam, pixelClock_MHz);
5229 }
5230 else
5231 {
5232 throw std::runtime_error("Library not loaded!");
5233 }
5234}
5235
5236inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
5237{
5238 auto& inst = instance();
5239 if(inst.m_peak_IOChannel_GetAccessStatus)
5240 {
5241 return inst.m_peak_IOChannel_GetAccessStatus(hCam, ioChannel);
5242 }
5243 else
5244 {
5245 throw std::runtime_error("Library not loaded!");
5246 }
5247}
5248
5249inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_GetList(peak_camera_handle hCam, peak_io_channel * ioChannelList, size_t * ioChannelCount)
5250{
5251 auto& inst = instance();
5252 if(inst.m_peak_IOChannel_GetList)
5253 {
5254 return inst.m_peak_IOChannel_GetList(hCam, ioChannelList, ioChannelCount);
5255 }
5256 else
5257 {
5258 throw std::runtime_error("Library not loaded!");
5259 }
5260}
5261
5262inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_Level_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
5263{
5264 auto& inst = instance();
5265 if(inst.m_peak_IOChannel_Level_GetAccessStatus)
5266 {
5267 return inst.m_peak_IOChannel_Level_GetAccessStatus(hCam, ioChannel);
5268 }
5269 else
5270 {
5271 throw std::runtime_error("Library not loaded!");
5272 }
5273}
5274
5275inline PEAK_API_BOOL DynamicLoader::peak_IOChannel_Level_IsHigh(peak_camera_handle hCam, peak_io_channel ioChannel)
5276{
5277 auto& inst = instance();
5278 if(inst.m_peak_IOChannel_Level_IsHigh)
5279 {
5280 return inst.m_peak_IOChannel_Level_IsHigh(hCam, ioChannel);
5281 }
5282 else
5283 {
5284 throw std::runtime_error("Library not loaded!");
5285 }
5286}
5287
5288inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_Inverter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
5289{
5290 auto& inst = instance();
5291 if(inst.m_peak_IOChannel_Inverter_GetAccessStatus)
5292 {
5293 return inst.m_peak_IOChannel_Inverter_GetAccessStatus(hCam, ioChannel);
5294 }
5295 else
5296 {
5297 throw std::runtime_error("Library not loaded!");
5298 }
5299}
5300
5301inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_Inverter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled)
5302{
5303 auto& inst = instance();
5304 if(inst.m_peak_IOChannel_Inverter_Enable)
5305 {
5306 return inst.m_peak_IOChannel_Inverter_Enable(hCam, ioChannel, enabled);
5307 }
5308 else
5309 {
5310 throw std::runtime_error("Library not loaded!");
5311 }
5312}
5313
5314inline PEAK_API_BOOL DynamicLoader::peak_IOChannel_Inverter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel)
5315{
5316 auto& inst = instance();
5317 if(inst.m_peak_IOChannel_Inverter_IsEnabled)
5318 {
5319 return inst.m_peak_IOChannel_Inverter_IsEnabled(hCam, ioChannel);
5320 }
5321 else
5322 {
5323 throw std::runtime_error("Library not loaded!");
5324 }
5325}
5326
5327inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
5328{
5329 auto& inst = instance();
5330 if(inst.m_peak_IOChannel_NoiseFilter_GetAccessStatus)
5331 {
5332 return inst.m_peak_IOChannel_NoiseFilter_GetAccessStatus(hCam, ioChannel);
5333 }
5334 else
5335 {
5336 throw std::runtime_error("Library not loaded!");
5337 }
5338}
5339
5340inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled)
5341{
5342 auto& inst = instance();
5343 if(inst.m_peak_IOChannel_NoiseFilter_Enable)
5344 {
5345 return inst.m_peak_IOChannel_NoiseFilter_Enable(hCam, ioChannel, enabled);
5346 }
5347 else
5348 {
5349 throw std::runtime_error("Library not loaded!");
5350 }
5351}
5352
5353inline PEAK_API_BOOL DynamicLoader::peak_IOChannel_NoiseFilter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel)
5354{
5355 auto& inst = instance();
5356 if(inst.m_peak_IOChannel_NoiseFilter_IsEnabled)
5357 {
5358 return inst.m_peak_IOChannel_NoiseFilter_IsEnabled(hCam, ioChannel);
5359 }
5360 else
5361 {
5362 throw std::runtime_error("Library not loaded!");
5363 }
5364}
5365
5366inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Duration_GetRange(peak_camera_handle hCam, peak_io_channel ioChannel, double * minNoiseFilterDuration_us, double * maxNoiseFilterDuration_us, double * incNoiseFilterDuration_us)
5367{
5368 auto& inst = instance();
5369 if(inst.m_peak_IOChannel_NoiseFilter_Duration_GetRange)
5370 {
5371 return inst.m_peak_IOChannel_NoiseFilter_Duration_GetRange(hCam, ioChannel, minNoiseFilterDuration_us, maxNoiseFilterDuration_us, incNoiseFilterDuration_us);
5372 }
5373 else
5374 {
5375 throw std::runtime_error("Library not loaded!");
5376 }
5377}
5378
5379inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Duration_Set(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us)
5380{
5381 auto& inst = instance();
5382 if(inst.m_peak_IOChannel_NoiseFilter_Duration_Set)
5383 {
5384 return inst.m_peak_IOChannel_NoiseFilter_Duration_Set(hCam, ioChannel, noiseFilterDuration_us);
5385 }
5386 else
5387 {
5388 throw std::runtime_error("Library not loaded!");
5389 }
5390}
5391
5392inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Duration_Get(peak_camera_handle hCam, peak_io_channel ioChannel, double * noiseFilterDuration_us)
5393{
5394 auto& inst = instance();
5395 if(inst.m_peak_IOChannel_NoiseFilter_Duration_Get)
5396 {
5397 return inst.m_peak_IOChannel_NoiseFilter_Duration_Get(hCam, ioChannel, noiseFilterDuration_us);
5398 }
5399 else
5400 {
5401 throw std::runtime_error("Library not loaded!");
5402 }
5403}
5404
5405inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_GetAccessStatus(peak_camera_handle hCam)
5406{
5407 auto& inst = instance();
5408 if(inst.m_peak_Trigger_GetAccessStatus)
5409 {
5410 return inst.m_peak_Trigger_GetAccessStatus(hCam);
5411 }
5412 else
5413 {
5414 throw std::runtime_error("Library not loaded!");
5415 }
5416}
5417
5418inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Enable(peak_camera_handle hCam, peak_bool enabled)
5419{
5420 auto& inst = instance();
5421 if(inst.m_peak_Trigger_Enable)
5422 {
5423 return inst.m_peak_Trigger_Enable(hCam, enabled);
5424 }
5425 else
5426 {
5427 throw std::runtime_error("Library not loaded!");
5428 }
5429}
5430
5431inline PEAK_API_BOOL DynamicLoader::peak_Trigger_IsEnabled(peak_camera_handle hCam)
5432{
5433 auto& inst = instance();
5434 if(inst.m_peak_Trigger_IsEnabled)
5435 {
5436 return inst.m_peak_Trigger_IsEnabled(hCam);
5437 }
5438 else
5439 {
5440 throw std::runtime_error("Library not loaded!");
5441 }
5442}
5443
5444inline PEAK_API_BOOL DynamicLoader::peak_Trigger_IsExecutable(peak_camera_handle hCam)
5445{
5446 auto& inst = instance();
5447 if(inst.m_peak_Trigger_IsExecutable)
5448 {
5449 return inst.m_peak_Trigger_IsExecutable(hCam);
5450 }
5451 else
5452 {
5453 throw std::runtime_error("Library not loaded!");
5454 }
5455}
5456
5457inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Execute(peak_camera_handle hCam)
5458{
5459 auto& inst = instance();
5460 if(inst.m_peak_Trigger_Execute)
5461 {
5462 return inst.m_peak_Trigger_Execute(hCam);
5463 }
5464 else
5465 {
5466 throw std::runtime_error("Library not loaded!");
5467 }
5468}
5469
5470inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Mode_GetAccessStatus(peak_camera_handle hCam, peak_trigger_mode triggerMode)
5471{
5472 auto& inst = instance();
5473 if(inst.m_peak_Trigger_Mode_GetAccessStatus)
5474 {
5475 return inst.m_peak_Trigger_Mode_GetAccessStatus(hCam, triggerMode);
5476 }
5477 else
5478 {
5479 throw std::runtime_error("Library not loaded!");
5480 }
5481}
5482
5483inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Mode_Set(peak_camera_handle hCam, peak_trigger_mode triggerMode)
5484{
5485 auto& inst = instance();
5486 if(inst.m_peak_Trigger_Mode_Set)
5487 {
5488 return inst.m_peak_Trigger_Mode_Set(hCam, triggerMode);
5489 }
5490 else
5491 {
5492 throw std::runtime_error("Library not loaded!");
5493 }
5494}
5495
5496inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Mode_Get(peak_camera_handle hCam, peak_trigger_mode * triggerMode)
5497{
5498 auto& inst = instance();
5499 if(inst.m_peak_Trigger_Mode_Get)
5500 {
5501 return inst.m_peak_Trigger_Mode_Get(hCam, triggerMode);
5502 }
5503 else
5504 {
5505 throw std::runtime_error("Library not loaded!");
5506 }
5507}
5508
5509inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Edge_GetAccessStatus(peak_camera_handle hCam)
5510{
5511 auto& inst = instance();
5512 if(inst.m_peak_Trigger_Edge_GetAccessStatus)
5513 {
5514 return inst.m_peak_Trigger_Edge_GetAccessStatus(hCam);
5515 }
5516 else
5517 {
5518 throw std::runtime_error("Library not loaded!");
5519 }
5520}
5521
5522inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_GetList(peak_camera_handle hCam, peak_trigger_edge * triggerEdgeList, size_t * triggerEdgeCount)
5523{
5524 auto& inst = instance();
5525 if(inst.m_peak_Trigger_Edge_GetList)
5526 {
5527 return inst.m_peak_Trigger_Edge_GetList(hCam, triggerEdgeList, triggerEdgeCount);
5528 }
5529 else
5530 {
5531 throw std::runtime_error("Library not loaded!");
5532 }
5533}
5534
5535inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_Set(peak_camera_handle hCam, peak_trigger_edge triggerEdge)
5536{
5537 auto& inst = instance();
5538 if(inst.m_peak_Trigger_Edge_Set)
5539 {
5540 return inst.m_peak_Trigger_Edge_Set(hCam, triggerEdge);
5541 }
5542 else
5543 {
5544 throw std::runtime_error("Library not loaded!");
5545 }
5546}
5547
5548inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_Get(peak_camera_handle hCam, peak_trigger_edge * triggerEdge)
5549{
5550 auto& inst = instance();
5551 if(inst.m_peak_Trigger_Edge_Get)
5552 {
5553 return inst.m_peak_Trigger_Edge_Get(hCam, triggerEdge);
5554 }
5555 else
5556 {
5557 throw std::runtime_error("Library not loaded!");
5558 }
5559}
5560
5561inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Delay_GetAccessStatus(peak_camera_handle hCam)
5562{
5563 auto& inst = instance();
5564 if(inst.m_peak_Trigger_Delay_GetAccessStatus)
5565 {
5566 return inst.m_peak_Trigger_Delay_GetAccessStatus(hCam);
5567 }
5568 else
5569 {
5570 throw std::runtime_error("Library not loaded!");
5571 }
5572}
5573
5574inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_GetRange(peak_camera_handle hCam, double * minTriggerDelay_us, double * maxTriggerDelay_us, double * incTriggerDelay_us)
5575{
5576 auto& inst = instance();
5577 if(inst.m_peak_Trigger_Delay_GetRange)
5578 {
5579 return inst.m_peak_Trigger_Delay_GetRange(hCam, minTriggerDelay_us, maxTriggerDelay_us, incTriggerDelay_us);
5580 }
5581 else
5582 {
5583 throw std::runtime_error("Library not loaded!");
5584 }
5585}
5586
5587inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_Set(peak_camera_handle hCam, double triggerDelay_us)
5588{
5589 auto& inst = instance();
5590 if(inst.m_peak_Trigger_Delay_Set)
5591 {
5592 return inst.m_peak_Trigger_Delay_Set(hCam, triggerDelay_us);
5593 }
5594 else
5595 {
5596 throw std::runtime_error("Library not loaded!");
5597 }
5598}
5599
5600inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_Get(peak_camera_handle hCam, double * triggerDelay_us)
5601{
5602 auto& inst = instance();
5603 if(inst.m_peak_Trigger_Delay_Get)
5604 {
5605 return inst.m_peak_Trigger_Delay_Get(hCam, triggerDelay_us);
5606 }
5607 else
5608 {
5609 throw std::runtime_error("Library not loaded!");
5610 }
5611}
5612
5613inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Divider_GetAccessStatus(peak_camera_handle hCam)
5614{
5615 auto& inst = instance();
5616 if(inst.m_peak_Trigger_Divider_GetAccessStatus)
5617 {
5618 return inst.m_peak_Trigger_Divider_GetAccessStatus(hCam);
5619 }
5620 else
5621 {
5622 throw std::runtime_error("Library not loaded!");
5623 }
5624}
5625
5626inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_GetRange(peak_camera_handle hCam, uint32_t * minTriggerDivider, uint32_t * maxTriggerDivider, uint32_t * incTriggerDivider)
5627{
5628 auto& inst = instance();
5629 if(inst.m_peak_Trigger_Divider_GetRange)
5630 {
5631 return inst.m_peak_Trigger_Divider_GetRange(hCam, minTriggerDivider, maxTriggerDivider, incTriggerDivider);
5632 }
5633 else
5634 {
5635 throw std::runtime_error("Library not loaded!");
5636 }
5637}
5638
5639inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_Set(peak_camera_handle hCam, uint32_t triggerDivider)
5640{
5641 auto& inst = instance();
5642 if(inst.m_peak_Trigger_Divider_Set)
5643 {
5644 return inst.m_peak_Trigger_Divider_Set(hCam, triggerDivider);
5645 }
5646 else
5647 {
5648 throw std::runtime_error("Library not loaded!");
5649 }
5650}
5651
5652inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t * triggerDivider)
5653{
5654 auto& inst = instance();
5655 if(inst.m_peak_Trigger_Divider_Get)
5656 {
5657 return inst.m_peak_Trigger_Divider_Get(hCam, triggerDivider);
5658 }
5659 else
5660 {
5661 throw std::runtime_error("Library not loaded!");
5662 }
5663}
5664
5665inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Burst_GetAccessStatus(peak_camera_handle hCam)
5666{
5667 auto& inst = instance();
5668 if(inst.m_peak_Trigger_Burst_GetAccessStatus)
5669 {
5670 return inst.m_peak_Trigger_Burst_GetAccessStatus(hCam);
5671 }
5672 else
5673 {
5674 throw std::runtime_error("Library not loaded!");
5675 }
5676}
5677
5678inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_GetRange(peak_camera_handle hCam, uint32_t * minTriggerBurst, uint32_t * maxTriggerBurst, uint32_t * incTriggerBurst)
5679{
5680 auto& inst = instance();
5681 if(inst.m_peak_Trigger_Burst_GetRange)
5682 {
5683 return inst.m_peak_Trigger_Burst_GetRange(hCam, minTriggerBurst, maxTriggerBurst, incTriggerBurst);
5684 }
5685 else
5686 {
5687 throw std::runtime_error("Library not loaded!");
5688 }
5689}
5690
5691inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_Set(peak_camera_handle hCam, uint32_t triggerBurst)
5692{
5693 auto& inst = instance();
5694 if(inst.m_peak_Trigger_Burst_Set)
5695 {
5696 return inst.m_peak_Trigger_Burst_Set(hCam, triggerBurst);
5697 }
5698 else
5699 {
5700 throw std::runtime_error("Library not loaded!");
5701 }
5702}
5703
5704inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_Get(peak_camera_handle hCam, uint32_t * triggerBurst)
5705{
5706 auto& inst = instance();
5707 if(inst.m_peak_Trigger_Burst_Get)
5708 {
5709 return inst.m_peak_Trigger_Burst_Get(hCam, triggerBurst);
5710 }
5711 else
5712 {
5713 throw std::runtime_error("Library not loaded!");
5714 }
5715}
5716
5717inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_GetAccessStatus(peak_camera_handle hCam)
5718{
5719 auto& inst = instance();
5720 if(inst.m_peak_Flash_GetAccessStatus)
5721 {
5722 return inst.m_peak_Flash_GetAccessStatus(hCam);
5723 }
5724 else
5725 {
5726 throw std::runtime_error("Library not loaded!");
5727 }
5728}
5729
5730inline PEAK_API_STATUS DynamicLoader::peak_Flash_Enable(peak_camera_handle hCam, peak_bool enabled)
5731{
5732 auto& inst = instance();
5733 if(inst.m_peak_Flash_Enable)
5734 {
5735 return inst.m_peak_Flash_Enable(hCam, enabled);
5736 }
5737 else
5738 {
5739 throw std::runtime_error("Library not loaded!");
5740 }
5741}
5742
5743inline PEAK_API_BOOL DynamicLoader::peak_Flash_IsEnabled(peak_camera_handle hCam)
5744{
5745 auto& inst = instance();
5746 if(inst.m_peak_Flash_IsEnabled)
5747 {
5748 return inst.m_peak_Flash_IsEnabled(hCam);
5749 }
5750 else
5751 {
5752 throw std::runtime_error("Library not loaded!");
5753 }
5754}
5755
5756inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_Mode_GetAccessStatus(peak_camera_handle hCam, peak_flash_mode flashMode)
5757{
5758 auto& inst = instance();
5759 if(inst.m_peak_Flash_Mode_GetAccessStatus)
5760 {
5761 return inst.m_peak_Flash_Mode_GetAccessStatus(hCam, flashMode);
5762 }
5763 else
5764 {
5765 throw std::runtime_error("Library not loaded!");
5766 }
5767}
5768
5769inline PEAK_API_STATUS DynamicLoader::peak_Flash_Mode_Set(peak_camera_handle hCam, peak_flash_mode flashMode)
5770{
5771 auto& inst = instance();
5772 if(inst.m_peak_Flash_Mode_Set)
5773 {
5774 return inst.m_peak_Flash_Mode_Set(hCam, flashMode);
5775 }
5776 else
5777 {
5778 throw std::runtime_error("Library not loaded!");
5779 }
5780}
5781
5782inline PEAK_API_STATUS DynamicLoader::peak_Flash_Mode_Get(peak_camera_handle hCam, peak_flash_mode * flashMode)
5783{
5784 auto& inst = instance();
5785 if(inst.m_peak_Flash_Mode_Get)
5786 {
5787 return inst.m_peak_Flash_Mode_Get(hCam, flashMode);
5788 }
5789 else
5790 {
5791 throw std::runtime_error("Library not loaded!");
5792 }
5793}
5794
5795inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_StartDelay_GetAccessStatus(peak_camera_handle hCam)
5796{
5797 auto& inst = instance();
5798 if(inst.m_peak_Flash_StartDelay_GetAccessStatus)
5799 {
5800 return inst.m_peak_Flash_StartDelay_GetAccessStatus(hCam);
5801 }
5802 else
5803 {
5804 throw std::runtime_error("Library not loaded!");
5805 }
5806}
5807
5808inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_GetRange(peak_camera_handle hCam, double * minFlashStartDelay_us, double * maxFlashStartDelay_us, double * incFlashStartDelay_us)
5809{
5810 auto& inst = instance();
5811 if(inst.m_peak_Flash_StartDelay_GetRange)
5812 {
5813 return inst.m_peak_Flash_StartDelay_GetRange(hCam, minFlashStartDelay_us, maxFlashStartDelay_us, incFlashStartDelay_us);
5814 }
5815 else
5816 {
5817 throw std::runtime_error("Library not loaded!");
5818 }
5819}
5820
5821inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_Set(peak_camera_handle hCam, double flashStartDelay_us)
5822{
5823 auto& inst = instance();
5824 if(inst.m_peak_Flash_StartDelay_Set)
5825 {
5826 return inst.m_peak_Flash_StartDelay_Set(hCam, flashStartDelay_us);
5827 }
5828 else
5829 {
5830 throw std::runtime_error("Library not loaded!");
5831 }
5832}
5833
5834inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_Get(peak_camera_handle hCam, double * flashStartDelay_us)
5835{
5836 auto& inst = instance();
5837 if(inst.m_peak_Flash_StartDelay_Get)
5838 {
5839 return inst.m_peak_Flash_StartDelay_Get(hCam, flashStartDelay_us);
5840 }
5841 else
5842 {
5843 throw std::runtime_error("Library not loaded!");
5844 }
5845}
5846
5847inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_EndDelay_GetAccessStatus(peak_camera_handle hCam)
5848{
5849 auto& inst = instance();
5850 if(inst.m_peak_Flash_EndDelay_GetAccessStatus)
5851 {
5852 return inst.m_peak_Flash_EndDelay_GetAccessStatus(hCam);
5853 }
5854 else
5855 {
5856 throw std::runtime_error("Library not loaded!");
5857 }
5858}
5859
5860inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_GetRange(peak_camera_handle hCam, double * minFlashEndDelay_us, double * maxFlashEndDelay_us, double * incFlashEndDelay_us)
5861{
5862 auto& inst = instance();
5863 if(inst.m_peak_Flash_EndDelay_GetRange)
5864 {
5865 return inst.m_peak_Flash_EndDelay_GetRange(hCam, minFlashEndDelay_us, maxFlashEndDelay_us, incFlashEndDelay_us);
5866 }
5867 else
5868 {
5869 throw std::runtime_error("Library not loaded!");
5870 }
5871}
5872
5873inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_Set(peak_camera_handle hCam, double flashEndDelay_us)
5874{
5875 auto& inst = instance();
5876 if(inst.m_peak_Flash_EndDelay_Set)
5877 {
5878 return inst.m_peak_Flash_EndDelay_Set(hCam, flashEndDelay_us);
5879 }
5880 else
5881 {
5882 throw std::runtime_error("Library not loaded!");
5883 }
5884}
5885
5886inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_Get(peak_camera_handle hCam, double * flashEndDelay_us)
5887{
5888 auto& inst = instance();
5889 if(inst.m_peak_Flash_EndDelay_Get)
5890 {
5891 return inst.m_peak_Flash_EndDelay_Get(hCam, flashEndDelay_us);
5892 }
5893 else
5894 {
5895 throw std::runtime_error("Library not loaded!");
5896 }
5897}
5898
5899inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_Duration_GetAccessStatus(peak_camera_handle hCam)
5900{
5901 auto& inst = instance();
5902 if(inst.m_peak_Flash_Duration_GetAccessStatus)
5903 {
5904 return inst.m_peak_Flash_Duration_GetAccessStatus(hCam);
5905 }
5906 else
5907 {
5908 throw std::runtime_error("Library not loaded!");
5909 }
5910}
5911
5912inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_GetRange(peak_camera_handle hCam, double * minFlashDuration_us, double * maxFlashDuration_us, double * incFlashDuration_us)
5913{
5914 auto& inst = instance();
5915 if(inst.m_peak_Flash_Duration_GetRange)
5916 {
5917 return inst.m_peak_Flash_Duration_GetRange(hCam, minFlashDuration_us, maxFlashDuration_us, incFlashDuration_us);
5918 }
5919 else
5920 {
5921 throw std::runtime_error("Library not loaded!");
5922 }
5923}
5924
5925inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_Set(peak_camera_handle hCam, double flashDuration_us)
5926{
5927 auto& inst = instance();
5928 if(inst.m_peak_Flash_Duration_Set)
5929 {
5930 return inst.m_peak_Flash_Duration_Set(hCam, flashDuration_us);
5931 }
5932 else
5933 {
5934 throw std::runtime_error("Library not loaded!");
5935 }
5936}
5937
5938inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_Get(peak_camera_handle hCam, double * flashDuration_us)
5939{
5940 auto& inst = instance();
5941 if(inst.m_peak_Flash_Duration_Get)
5942 {
5943 return inst.m_peak_Flash_Duration_Get(hCam, flashDuration_us);
5944 }
5945 else
5946 {
5947 throw std::runtime_error("Library not loaded!");
5948 }
5949}
5950
5951inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Focus_GetAccessStatus(peak_camera_handle hCam)
5952{
5953 auto& inst = instance();
5954 if(inst.m_peak_Focus_GetAccessStatus)
5955 {
5956 return inst.m_peak_Focus_GetAccessStatus(hCam);
5957 }
5958 else
5959 {
5960 throw std::runtime_error("Library not loaded!");
5961 }
5962}
5963
5964inline PEAK_API_STATUS DynamicLoader::peak_Focus_GetRange(peak_camera_handle hCam, uint32_t * minFocus, uint32_t * maxFocus, uint32_t * incFocus)
5965{
5966 auto& inst = instance();
5967 if(inst.m_peak_Focus_GetRange)
5968 {
5969 return inst.m_peak_Focus_GetRange(hCam, minFocus, maxFocus, incFocus);
5970 }
5971 else
5972 {
5973 throw std::runtime_error("Library not loaded!");
5974 }
5975}
5976
5977inline PEAK_API_STATUS DynamicLoader::peak_Focus_Set(peak_camera_handle hCam, uint32_t focus)
5978{
5979 auto& inst = instance();
5980 if(inst.m_peak_Focus_Set)
5981 {
5982 return inst.m_peak_Focus_Set(hCam, focus);
5983 }
5984 else
5985 {
5986 throw std::runtime_error("Library not loaded!");
5987 }
5988}
5989
5990inline PEAK_API_STATUS DynamicLoader::peak_Focus_Get(peak_camera_handle hCam, uint32_t * focus)
5991{
5992 auto& inst = instance();
5993 if(inst.m_peak_Focus_Get)
5994 {
5995 return inst.m_peak_Focus_Get(hCam, focus);
5996 }
5997 else
5998 {
5999 throw std::runtime_error("Library not loaded!");
6000 }
6001}
6002
6003inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_PixelFormat_GetAccessStatus(peak_camera_handle hCam)
6004{
6005 auto& inst = instance();
6006 if(inst.m_peak_PixelFormat_GetAccessStatus)
6007 {
6008 return inst.m_peak_PixelFormat_GetAccessStatus(hCam);
6009 }
6010 else
6011 {
6012 throw std::runtime_error("Library not loaded!");
6013 }
6014}
6015
6016inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount)
6017{
6018 auto& inst = instance();
6019 if(inst.m_peak_PixelFormat_GetList)
6020 {
6021 return inst.m_peak_PixelFormat_GetList(hCam, pixelFormatList, pixelFormatCount);
6022 }
6023 else
6024 {
6025 throw std::runtime_error("Library not loaded!");
6026 }
6027}
6028
6029inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
6030{
6031 auto& inst = instance();
6032 if(inst.m_peak_PixelFormat_Set)
6033 {
6034 return inst.m_peak_PixelFormat_Set(hCam, pixelFormat);
6035 }
6036 else
6037 {
6038 throw std::runtime_error("Library not loaded!");
6039 }
6040}
6041
6042inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat)
6043{
6044 auto& inst = instance();
6045 if(inst.m_peak_PixelFormat_Get)
6046 {
6047 return inst.m_peak_PixelFormat_Get(hCam, pixelFormat);
6048 }
6049 else
6050 {
6051 throw std::runtime_error("Library not loaded!");
6052 }
6053}
6054
6055inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Gain_GetAccessStatus(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel)
6056{
6057 auto& inst = instance();
6058 if(inst.m_peak_Gain_GetAccessStatus)
6059 {
6060 return inst.m_peak_Gain_GetAccessStatus(hCam, gainType, gainChannel);
6061 }
6062 else
6063 {
6064 throw std::runtime_error("Library not loaded!");
6065 }
6066}
6067
6068inline PEAK_API_STATUS DynamicLoader::peak_Gain_GetChannelList(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel * gainChannelList, size_t * gainChannelCount)
6069{
6070 auto& inst = instance();
6071 if(inst.m_peak_Gain_GetChannelList)
6072 {
6073 return inst.m_peak_Gain_GetChannelList(hCam, gainType, gainChannelList, gainChannelCount);
6074 }
6075 else
6076 {
6077 throw std::runtime_error("Library not loaded!");
6078 }
6079}
6080
6081inline PEAK_API_STATUS DynamicLoader::peak_Gain_GetRange(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain)
6082{
6083 auto& inst = instance();
6084 if(inst.m_peak_Gain_GetRange)
6085 {
6086 return inst.m_peak_Gain_GetRange(hCam, gainType, gainChannel, minGain, maxGain, incGain);
6087 }
6088 else
6089 {
6090 throw std::runtime_error("Library not loaded!");
6091 }
6092}
6093
6094inline PEAK_API_STATUS DynamicLoader::peak_Gain_Set(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain)
6095{
6096 auto& inst = instance();
6097 if(inst.m_peak_Gain_Set)
6098 {
6099 return inst.m_peak_Gain_Set(hCam, gainType, gainChannel, gain);
6100 }
6101 else
6102 {
6103 throw std::runtime_error("Library not loaded!");
6104 }
6105}
6106
6107inline PEAK_API_STATUS DynamicLoader::peak_Gain_Get(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * gain)
6108{
6109 auto& inst = instance();
6110 if(inst.m_peak_Gain_Get)
6111 {
6112 return inst.m_peak_Gain_Get(hCam, gainType, gainChannel, gain);
6113 }
6114 else
6115 {
6116 throw std::runtime_error("Library not loaded!");
6117 }
6118}
6119
6120inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Gamma_GetAccessStatus(peak_camera_handle hCam)
6121{
6122 auto& inst = instance();
6123 if(inst.m_peak_Gamma_GetAccessStatus)
6124 {
6125 return inst.m_peak_Gamma_GetAccessStatus(hCam);
6126 }
6127 else
6128 {
6129 throw std::runtime_error("Library not loaded!");
6130 }
6131}
6132
6133inline PEAK_API_STATUS DynamicLoader::peak_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma)
6134{
6135 auto& inst = instance();
6136 if(inst.m_peak_Gamma_GetRange)
6137 {
6138 return inst.m_peak_Gamma_GetRange(hCam, minGamma, maxGamma, incGamma);
6139 }
6140 else
6141 {
6142 throw std::runtime_error("Library not loaded!");
6143 }
6144}
6145
6146inline PEAK_API_STATUS DynamicLoader::peak_Gamma_Set(peak_camera_handle hCam, double gamma)
6147{
6148 auto& inst = instance();
6149 if(inst.m_peak_Gamma_Set)
6150 {
6151 return inst.m_peak_Gamma_Set(hCam, gamma);
6152 }
6153 else
6154 {
6155 throw std::runtime_error("Library not loaded!");
6156 }
6157}
6158
6159inline PEAK_API_STATUS DynamicLoader::peak_Gamma_Get(peak_camera_handle hCam, double * gamma)
6160{
6161 auto& inst = instance();
6162 if(inst.m_peak_Gamma_Get)
6163 {
6164 return inst.m_peak_Gamma_Get(hCam, gamma);
6165 }
6166 else
6167 {
6168 throw std::runtime_error("Library not loaded!");
6169 }
6170}
6171
6172inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ColorCorrection_GetAccessStatus(peak_camera_handle hCam)
6173{
6174 auto& inst = instance();
6175 if(inst.m_peak_ColorCorrection_GetAccessStatus)
6176 {
6177 return inst.m_peak_ColorCorrection_GetAccessStatus(hCam);
6178 }
6179 else
6180 {
6181 throw std::runtime_error("Library not loaded!");
6182 }
6183}
6184
6185inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_GetList(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionModeList, size_t * colorCorrectionModeCount)
6186{
6187 auto& inst = instance();
6188 if(inst.m_peak_ColorCorrection_Mode_GetList)
6189 {
6190 return inst.m_peak_ColorCorrection_Mode_GetList(hCam, colorCorrectionModeList, colorCorrectionModeCount);
6191 }
6192 else
6193 {
6194 throw std::runtime_error("Library not loaded!");
6195 }
6196}
6197
6198inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_Set(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode)
6199{
6200 auto& inst = instance();
6201 if(inst.m_peak_ColorCorrection_Mode_Set)
6202 {
6203 return inst.m_peak_ColorCorrection_Mode_Set(hCam, colorCorrectionMode);
6204 }
6205 else
6206 {
6207 throw std::runtime_error("Library not loaded!");
6208 }
6209}
6210
6211inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_Get(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionMode)
6212{
6213 auto& inst = instance();
6214 if(inst.m_peak_ColorCorrection_Mode_Get)
6215 {
6216 return inst.m_peak_ColorCorrection_Mode_Get(hCam, colorCorrectionMode);
6217 }
6218 else
6219 {
6220 throw std::runtime_error("Library not loaded!");
6221 }
6222}
6223
6224inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ColorCorrection_Matrix_GetAccessStatus(peak_camera_handle hCam)
6225{
6226 auto& inst = instance();
6227 if(inst.m_peak_ColorCorrection_Matrix_GetAccessStatus)
6228 {
6229 return inst.m_peak_ColorCorrection_Matrix_GetAccessStatus(hCam);
6230 }
6231 else
6232 {
6233 throw std::runtime_error("Library not loaded!");
6234 }
6235}
6236
6237inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_GetRange(peak_camera_handle hCam, double * minMatrixElementValue, double * maxMatrixElementValue, double * incMatrixElementValue)
6238{
6239 auto& inst = instance();
6240 if(inst.m_peak_ColorCorrection_Matrix_GetRange)
6241 {
6242 return inst.m_peak_ColorCorrection_Matrix_GetRange(hCam, minMatrixElementValue, maxMatrixElementValue, incMatrixElementValue);
6243 }
6244 else
6245 {
6246 throw std::runtime_error("Library not loaded!");
6247 }
6248}
6249
6250inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
6251{
6252 auto& inst = instance();
6253 if(inst.m_peak_ColorCorrection_Matrix_Set)
6254 {
6255 return inst.m_peak_ColorCorrection_Matrix_Set(hCam, colorCorrectionMatrix);
6256 }
6257 else
6258 {
6259 throw std::runtime_error("Library not loaded!");
6260 }
6261}
6262
6263inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix)
6264{
6265 auto& inst = instance();
6266 if(inst.m_peak_ColorCorrection_Matrix_Get)
6267 {
6268 return inst.m_peak_ColorCorrection_Matrix_Get(hCam, colorCorrectionMatrix);
6269 }
6270 else
6271 {
6272 throw std::runtime_error("Library not loaded!");
6273 }
6274}
6275
6276inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
6277{
6278 auto& inst = instance();
6279 if(inst.m_peak_ColorCorrection_Enable)
6280 {
6281 return inst.m_peak_ColorCorrection_Enable(hCam, enabled);
6282 }
6283 else
6284 {
6285 throw std::runtime_error("Library not loaded!");
6286 }
6287}
6288
6289inline PEAK_API_BOOL DynamicLoader::peak_ColorCorrection_IsEnabled(peak_camera_handle hCam)
6290{
6291 auto& inst = instance();
6292 if(inst.m_peak_ColorCorrection_IsEnabled)
6293 {
6294 return inst.m_peak_ColorCorrection_IsEnabled(hCam);
6295 }
6296 else
6297 {
6298 throw std::runtime_error("Library not loaded!");
6299 }
6300}
6301
6302inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_AutoBrightness_GetAccessStatus(peak_camera_handle hCam)
6303{
6304 auto& inst = instance();
6305 if(inst.m_peak_AutoBrightness_GetAccessStatus)
6306 {
6307 return inst.m_peak_AutoBrightness_GetAccessStatus(hCam);
6308 }
6309 else
6310 {
6311 throw std::runtime_error("Library not loaded!");
6312 }
6313}
6314
6315inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget)
6316{
6317 auto& inst = instance();
6318 if(inst.m_peak_AutoBrightness_Target_GetRange)
6319 {
6320 return inst.m_peak_AutoBrightness_Target_GetRange(hCam, minAutoBrightnessTarget, maxAutoBrightnessTarget, incAutoBrightnessTarget);
6321 }
6322 else
6323 {
6324 throw std::runtime_error("Library not loaded!");
6325 }
6326}
6327
6328inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
6329{
6330 auto& inst = instance();
6331 if(inst.m_peak_AutoBrightness_Target_Set)
6332 {
6333 return inst.m_peak_AutoBrightness_Target_Set(hCam, autoBrightnessTarget);
6334 }
6335 else
6336 {
6337 throw std::runtime_error("Library not loaded!");
6338 }
6339}
6340
6341inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget)
6342{
6343 auto& inst = instance();
6344 if(inst.m_peak_AutoBrightness_Target_Get)
6345 {
6346 return inst.m_peak_AutoBrightness_Target_Get(hCam, autoBrightnessTarget);
6347 }
6348 else
6349 {
6350 throw std::runtime_error("Library not loaded!");
6351 }
6352}
6353
6354inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance)
6355{
6356 auto& inst = instance();
6357 if(inst.m_peak_AutoBrightness_TargetTolerance_GetRange)
6358 {
6359 return inst.m_peak_AutoBrightness_TargetTolerance_GetRange(hCam, minAutoBrightnessTargetTolerance, maxAutoBrightnessTargetTolerance, incAutoBrightnessTargetTolerance);
6360 }
6361 else
6362 {
6363 throw std::runtime_error("Library not loaded!");
6364 }
6365}
6366
6367inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
6368{
6369 auto& inst = instance();
6370 if(inst.m_peak_AutoBrightness_TargetTolerance_Set)
6371 {
6372 return inst.m_peak_AutoBrightness_TargetTolerance_Set(hCam, autoBrightnessTargetTolerance);
6373 }
6374 else
6375 {
6376 throw std::runtime_error("Library not loaded!");
6377 }
6378}
6379
6380inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance)
6381{
6382 auto& inst = instance();
6383 if(inst.m_peak_AutoBrightness_TargetTolerance_Get)
6384 {
6385 return inst.m_peak_AutoBrightness_TargetTolerance_Get(hCam, autoBrightnessTargetTolerance);
6386 }
6387 else
6388 {
6389 throw std::runtime_error("Library not loaded!");
6390 }
6391}
6392
6393inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile)
6394{
6395 auto& inst = instance();
6396 if(inst.m_peak_AutoBrightness_TargetPercentile_GetRange)
6397 {
6398 return inst.m_peak_AutoBrightness_TargetPercentile_GetRange(hCam, minAutoBrightnessTargetPercentile, maxAutoBrightnessTargetPercentile, incAutoBrightnessTargetPercentile);
6399 }
6400 else
6401 {
6402 throw std::runtime_error("Library not loaded!");
6403 }
6404}
6405
6406inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
6407{
6408 auto& inst = instance();
6409 if(inst.m_peak_AutoBrightness_TargetPercentile_Set)
6410 {
6411 return inst.m_peak_AutoBrightness_TargetPercentile_Set(hCam, autoBrightnessTargetPercentile);
6412 }
6413 else
6414 {
6415 throw std::runtime_error("Library not loaded!");
6416 }
6417}
6418
6419inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile)
6420{
6421 auto& inst = instance();
6422 if(inst.m_peak_AutoBrightness_TargetPercentile_Get)
6423 {
6424 return inst.m_peak_AutoBrightness_TargetPercentile_Get(hCam, autoBrightnessTargetPercentile);
6425 }
6426 else
6427 {
6428 throw std::runtime_error("Library not loaded!");
6429 }
6430}
6431
6432inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode)
6433{
6434 auto& inst = instance();
6435 if(inst.m_peak_AutoBrightness_ROI_Mode_Set)
6436 {
6437 return inst.m_peak_AutoBrightness_ROI_Mode_Set(hCam, autoBrightnessROIMode);
6438 }
6439 else
6440 {
6441 throw std::runtime_error("Library not loaded!");
6442 }
6443}
6444
6445inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode)
6446{
6447 auto& inst = instance();
6448 if(inst.m_peak_AutoBrightness_ROI_Mode_Get)
6449 {
6450 return inst.m_peak_AutoBrightness_ROI_Mode_Get(hCam, autoBrightnessROIMode);
6451 }
6452 else
6453 {
6454 throw std::runtime_error("Library not loaded!");
6455 }
6456}
6457
6458inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset)
6459{
6460 auto& inst = instance();
6461 if(inst.m_peak_AutoBrightness_ROI_Offset_GetRange)
6462 {
6463 return inst.m_peak_AutoBrightness_ROI_Offset_GetRange(hCam, minAutoBrightnessROIOffset, maxAutoBrightnessROIOffset, incAutoBrightnessROIOffset);
6464 }
6465 else
6466 {
6467 throw std::runtime_error("Library not loaded!");
6468 }
6469}
6470
6471inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize)
6472{
6473 auto& inst = instance();
6474 if(inst.m_peak_AutoBrightness_ROI_Size_GetRange)
6475 {
6476 return inst.m_peak_AutoBrightness_ROI_Size_GetRange(hCam, minAutoBrightnessROISize, maxAutoBrightnessROISize, incAutoBrightnessROISize);
6477 }
6478 else
6479 {
6480 throw std::runtime_error("Library not loaded!");
6481 }
6482}
6483
6484inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
6485{
6486 auto& inst = instance();
6487 if(inst.m_peak_AutoBrightness_ROI_Set)
6488 {
6489 return inst.m_peak_AutoBrightness_ROI_Set(hCam, autoBrightnessROI);
6490 }
6491 else
6492 {
6493 throw std::runtime_error("Library not loaded!");
6494 }
6495}
6496
6497inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI)
6498{
6499 auto& inst = instance();
6500 if(inst.m_peak_AutoBrightness_ROI_Get)
6501 {
6502 return inst.m_peak_AutoBrightness_ROI_Get(hCam, autoBrightnessROI);
6503 }
6504 else
6505 {
6506 throw std::runtime_error("Library not loaded!");
6507 }
6508}
6509
6510inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_AutoBrightness_Exposure_GetAccessStatus(peak_camera_handle hCam)
6511{
6512 auto& inst = instance();
6513 if(inst.m_peak_AutoBrightness_Exposure_GetAccessStatus)
6514 {
6515 return inst.m_peak_AutoBrightness_Exposure_GetAccessStatus(hCam);
6516 }
6517 else
6518 {
6519 throw std::runtime_error("Library not loaded!");
6520 }
6521}
6522
6523inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode)
6524{
6525 auto& inst = instance();
6526 if(inst.m_peak_AutoBrightness_Exposure_Mode_Set)
6527 {
6528 return inst.m_peak_AutoBrightness_Exposure_Mode_Set(hCam, autoExposureMode);
6529 }
6530 else
6531 {
6532 throw std::runtime_error("Library not loaded!");
6533 }
6534}
6535
6536inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode)
6537{
6538 auto& inst = instance();
6539 if(inst.m_peak_AutoBrightness_Exposure_Mode_Get)
6540 {
6541 return inst.m_peak_AutoBrightness_Exposure_Mode_Get(hCam, autoExposureMode);
6542 }
6543 else
6544 {
6545 throw std::runtime_error("Library not loaded!");
6546 }
6547}
6548
6549inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_AutoBrightness_Gain_GetAccessStatus(peak_camera_handle hCam)
6550{
6551 auto& inst = instance();
6552 if(inst.m_peak_AutoBrightness_Gain_GetAccessStatus)
6553 {
6554 return inst.m_peak_AutoBrightness_Gain_GetAccessStatus(hCam);
6555 }
6556 else
6557 {
6558 throw std::runtime_error("Library not loaded!");
6559 }
6560}
6561
6562inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
6563{
6564 auto& inst = instance();
6565 if(inst.m_peak_AutoBrightness_Gain_Mode_Set)
6566 {
6567 return inst.m_peak_AutoBrightness_Gain_Mode_Set(hCam, autoGainMode);
6568 }
6569 else
6570 {
6571 throw std::runtime_error("Library not loaded!");
6572 }
6573}
6574
6575inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
6576{
6577 auto& inst = instance();
6578 if(inst.m_peak_AutoBrightness_Gain_Mode_Get)
6579 {
6580 return inst.m_peak_AutoBrightness_Gain_Mode_Get(hCam, autoGainMode);
6581 }
6582 else
6583 {
6584 throw std::runtime_error("Library not loaded!");
6585 }
6586}
6587
6588inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_AutoWhiteBalance_GetAccessStatus(peak_camera_handle hCam)
6589{
6590 auto& inst = instance();
6591 if(inst.m_peak_AutoWhiteBalance_GetAccessStatus)
6592 {
6593 return inst.m_peak_AutoWhiteBalance_GetAccessStatus(hCam);
6594 }
6595 else
6596 {
6597 throw std::runtime_error("Library not loaded!");
6598 }
6599}
6600
6601inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode)
6602{
6603 auto& inst = instance();
6604 if(inst.m_peak_AutoWhiteBalance_ROI_Mode_Set)
6605 {
6606 return inst.m_peak_AutoWhiteBalance_ROI_Mode_Set(hCam, autoWhiteBalanceROIMode);
6607 }
6608 else
6609 {
6610 throw std::runtime_error("Library not loaded!");
6611 }
6612}
6613
6614inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode)
6615{
6616 auto& inst = instance();
6617 if(inst.m_peak_AutoWhiteBalance_ROI_Mode_Get)
6618 {
6619 return inst.m_peak_AutoWhiteBalance_ROI_Mode_Get(hCam, autoWhiteBalanceROIMode);
6620 }
6621 else
6622 {
6623 throw std::runtime_error("Library not loaded!");
6624 }
6625}
6626
6627inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset)
6628{
6629 auto& inst = instance();
6630 if(inst.m_peak_AutoWhiteBalance_ROI_Offset_GetRange)
6631 {
6632 return inst.m_peak_AutoWhiteBalance_ROI_Offset_GetRange(hCam, minAutoWhiteBalanceROIOffset, maxAutoWhiteBalanceROIOffset, incAutoWhiteBalanceROIOffset);
6633 }
6634 else
6635 {
6636 throw std::runtime_error("Library not loaded!");
6637 }
6638}
6639
6640inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize)
6641{
6642 auto& inst = instance();
6643 if(inst.m_peak_AutoWhiteBalance_ROI_Size_GetRange)
6644 {
6645 return inst.m_peak_AutoWhiteBalance_ROI_Size_GetRange(hCam, minAutoWhiteBalanceROISize, maxAutoWhiteBalanceROISize, incAutoWhiteBalanceROISize);
6646 }
6647 else
6648 {
6649 throw std::runtime_error("Library not loaded!");
6650 }
6651}
6652
6653inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
6654{
6655 auto& inst = instance();
6656 if(inst.m_peak_AutoWhiteBalance_ROI_Set)
6657 {
6658 return inst.m_peak_AutoWhiteBalance_ROI_Set(hCam, autoWhiteBalanceROI);
6659 }
6660 else
6661 {
6662 throw std::runtime_error("Library not loaded!");
6663 }
6664}
6665
6666inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI)
6667{
6668 auto& inst = instance();
6669 if(inst.m_peak_AutoWhiteBalance_ROI_Get)
6670 {
6671 return inst.m_peak_AutoWhiteBalance_ROI_Get(hCam, autoWhiteBalanceROI);
6672 }
6673 else
6674 {
6675 throw std::runtime_error("Library not loaded!");
6676 }
6677}
6678
6679inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
6680{
6681 auto& inst = instance();
6682 if(inst.m_peak_AutoWhiteBalance_Mode_Set)
6683 {
6684 return inst.m_peak_AutoWhiteBalance_Mode_Set(hCam, autoWhiteBalanceMode);
6685 }
6686 else
6687 {
6688 throw std::runtime_error("Library not loaded!");
6689 }
6690}
6691
6692inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode)
6693{
6694 auto& inst = instance();
6695 if(inst.m_peak_AutoWhiteBalance_Mode_Get)
6696 {
6697 return inst.m_peak_AutoWhiteBalance_Mode_Get(hCam, autoWhiteBalanceMode);
6698 }
6699 else
6700 {
6701 throw std::runtime_error("Library not loaded!");
6702 }
6703}
6704
6705inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ROI_GetAccessStatus(peak_camera_handle hCam)
6706{
6707 auto& inst = instance();
6708 if(inst.m_peak_ROI_GetAccessStatus)
6709 {
6710 return inst.m_peak_ROI_GetAccessStatus(hCam);
6711 }
6712 else
6713 {
6714 throw std::runtime_error("Library not loaded!");
6715 }
6716}
6717
6718inline PEAK_API_STATUS DynamicLoader::peak_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minROIOffset, peak_position * maxROIOffset, peak_position * incROIOffset)
6719{
6720 auto& inst = instance();
6721 if(inst.m_peak_ROI_Offset_GetRange)
6722 {
6723 return inst.m_peak_ROI_Offset_GetRange(hCam, minROIOffset, maxROIOffset, incROIOffset);
6724 }
6725 else
6726 {
6727 throw std::runtime_error("Library not loaded!");
6728 }
6729}
6730
6731inline PEAK_API_STATUS DynamicLoader::peak_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minROISize, peak_size * maxROISize, peak_size * incROISize)
6732{
6733 auto& inst = instance();
6734 if(inst.m_peak_ROI_Size_GetRange)
6735 {
6736 return inst.m_peak_ROI_Size_GetRange(hCam, minROISize, maxROISize, incROISize);
6737 }
6738 else
6739 {
6740 throw std::runtime_error("Library not loaded!");
6741 }
6742}
6743
6744inline PEAK_API_STATUS DynamicLoader::peak_ROI_Set(peak_camera_handle hCam, peak_roi roi)
6745{
6746 auto& inst = instance();
6747 if(inst.m_peak_ROI_Set)
6748 {
6749 return inst.m_peak_ROI_Set(hCam, roi);
6750 }
6751 else
6752 {
6753 throw std::runtime_error("Library not loaded!");
6754 }
6755}
6756
6757inline PEAK_API_STATUS DynamicLoader::peak_ROI_Get(peak_camera_handle hCam, peak_roi * roi)
6758{
6759 auto& inst = instance();
6760 if(inst.m_peak_ROI_Get)
6761 {
6762 return inst.m_peak_ROI_Get(hCam, roi);
6763 }
6764 else
6765 {
6766 throw std::runtime_error("Library not loaded!");
6767 }
6768}
6769
6770inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Binning_GetAccessStatus(peak_camera_handle hCam)
6771{
6772 auto& inst = instance();
6773 if(inst.m_peak_Binning_GetAccessStatus)
6774 {
6775 return inst.m_peak_Binning_GetAccessStatus(hCam);
6776 }
6777 else
6778 {
6779 throw std::runtime_error("Library not loaded!");
6780 }
6781}
6782
6783inline PEAK_API_STATUS DynamicLoader::peak_Binning_FactorX_GetList(peak_camera_handle hCam, uint32_t * binningFactorXList, size_t * binningFactorXCount)
6784{
6785 auto& inst = instance();
6786 if(inst.m_peak_Binning_FactorX_GetList)
6787 {
6788 return inst.m_peak_Binning_FactorX_GetList(hCam, binningFactorXList, binningFactorXCount);
6789 }
6790 else
6791 {
6792 throw std::runtime_error("Library not loaded!");
6793 }
6794}
6795
6796inline PEAK_API_STATUS DynamicLoader::peak_Binning_FactorY_GetList(peak_camera_handle hCam, uint32_t * binningFactorYList, size_t * binningFactorYCount)
6797{
6798 auto& inst = instance();
6799 if(inst.m_peak_Binning_FactorY_GetList)
6800 {
6801 return inst.m_peak_Binning_FactorY_GetList(hCam, binningFactorYList, binningFactorYCount);
6802 }
6803 else
6804 {
6805 throw std::runtime_error("Library not loaded!");
6806 }
6807}
6808
6809inline PEAK_API_STATUS DynamicLoader::peak_Binning_Set(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY)
6810{
6811 auto& inst = instance();
6812 if(inst.m_peak_Binning_Set)
6813 {
6814 return inst.m_peak_Binning_Set(hCam, binningFactorX, binningFactorY);
6815 }
6816 else
6817 {
6818 throw std::runtime_error("Library not loaded!");
6819 }
6820}
6821
6822inline PEAK_API_STATUS DynamicLoader::peak_Binning_Get(peak_camera_handle hCam, uint32_t * binningFactorX, uint32_t * binningFactorY)
6823{
6824 auto& inst = instance();
6825 if(inst.m_peak_Binning_Get)
6826 {
6827 return inst.m_peak_Binning_Get(hCam, binningFactorX, binningFactorY);
6828 }
6829 else
6830 {
6831 throw std::runtime_error("Library not loaded!");
6832 }
6833}
6834
6835inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Decimation_GetAccessStatus(peak_camera_handle hCam)
6836{
6837 auto& inst = instance();
6838 if(inst.m_peak_Decimation_GetAccessStatus)
6839 {
6840 return inst.m_peak_Decimation_GetAccessStatus(hCam);
6841 }
6842 else
6843 {
6844 throw std::runtime_error("Library not loaded!");
6845 }
6846}
6847
6848inline PEAK_API_STATUS DynamicLoader::peak_Decimation_FactorX_GetList(peak_camera_handle hCam, uint32_t * decimationFactorXList, size_t * decimationFactorXCount)
6849{
6850 auto& inst = instance();
6851 if(inst.m_peak_Decimation_FactorX_GetList)
6852 {
6853 return inst.m_peak_Decimation_FactorX_GetList(hCam, decimationFactorXList, decimationFactorXCount);
6854 }
6855 else
6856 {
6857 throw std::runtime_error("Library not loaded!");
6858 }
6859}
6860
6861inline PEAK_API_STATUS DynamicLoader::peak_Decimation_FactorY_GetList(peak_camera_handle hCam, uint32_t * decimationFactorYList, size_t * decimationFactorYCount)
6862{
6863 auto& inst = instance();
6864 if(inst.m_peak_Decimation_FactorY_GetList)
6865 {
6866 return inst.m_peak_Decimation_FactorY_GetList(hCam, decimationFactorYList, decimationFactorYCount);
6867 }
6868 else
6869 {
6870 throw std::runtime_error("Library not loaded!");
6871 }
6872}
6873
6874inline PEAK_API_STATUS DynamicLoader::peak_Decimation_Set(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY)
6875{
6876 auto& inst = instance();
6877 if(inst.m_peak_Decimation_Set)
6878 {
6879 return inst.m_peak_Decimation_Set(hCam, decimationFactorX, decimationFactorY);
6880 }
6881 else
6882 {
6883 throw std::runtime_error("Library not loaded!");
6884 }
6885}
6886
6887inline PEAK_API_STATUS DynamicLoader::peak_Decimation_Get(peak_camera_handle hCam, uint32_t * decimationFactorX, uint32_t * decimationFactorY)
6888{
6889 auto& inst = instance();
6890 if(inst.m_peak_Decimation_Get)
6891 {
6892 return inst.m_peak_Decimation_Get(hCam, decimationFactorX, decimationFactorY);
6893 }
6894 else
6895 {
6896 throw std::runtime_error("Library not loaded!");
6897 }
6898}
6899
6900inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Mirror_LeftRight_GetAccessStatus(peak_camera_handle hCam)
6901{
6902 auto& inst = instance();
6903 if(inst.m_peak_Mirror_LeftRight_GetAccessStatus)
6904 {
6905 return inst.m_peak_Mirror_LeftRight_GetAccessStatus(hCam);
6906 }
6907 else
6908 {
6909 throw std::runtime_error("Library not loaded!");
6910 }
6911}
6912
6913inline PEAK_API_STATUS DynamicLoader::peak_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled)
6914{
6915 auto& inst = instance();
6916 if(inst.m_peak_Mirror_LeftRight_Enable)
6917 {
6918 return inst.m_peak_Mirror_LeftRight_Enable(hCam, enabled);
6919 }
6920 else
6921 {
6922 throw std::runtime_error("Library not loaded!");
6923 }
6924}
6925
6926inline PEAK_API_BOOL DynamicLoader::peak_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam)
6927{
6928 auto& inst = instance();
6929 if(inst.m_peak_Mirror_LeftRight_IsEnabled)
6930 {
6931 return inst.m_peak_Mirror_LeftRight_IsEnabled(hCam);
6932 }
6933 else
6934 {
6935 throw std::runtime_error("Library not loaded!");
6936 }
6937}
6938
6939inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Mirror_UpDown_GetAccessStatus(peak_camera_handle hCam)
6940{
6941 auto& inst = instance();
6942 if(inst.m_peak_Mirror_UpDown_GetAccessStatus)
6943 {
6944 return inst.m_peak_Mirror_UpDown_GetAccessStatus(hCam);
6945 }
6946 else
6947 {
6948 throw std::runtime_error("Library not loaded!");
6949 }
6950}
6951
6952inline PEAK_API_STATUS DynamicLoader::peak_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled)
6953{
6954 auto& inst = instance();
6955 if(inst.m_peak_Mirror_UpDown_Enable)
6956 {
6957 return inst.m_peak_Mirror_UpDown_Enable(hCam, enabled);
6958 }
6959 else
6960 {
6961 throw std::runtime_error("Library not loaded!");
6962 }
6963}
6964
6965inline PEAK_API_BOOL DynamicLoader::peak_Mirror_UpDown_IsEnabled(peak_camera_handle hCam)
6966{
6967 auto& inst = instance();
6968 if(inst.m_peak_Mirror_UpDown_IsEnabled)
6969 {
6970 return inst.m_peak_Mirror_UpDown_IsEnabled(hCam);
6971 }
6972 else
6973 {
6974 throw std::runtime_error("Library not loaded!");
6975 }
6976}
6977
6978inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_CameraMemory_Area_GetAccessStatus(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea)
6979{
6980 auto& inst = instance();
6981 if(inst.m_peak_CameraMemory_Area_GetAccessStatus)
6982 {
6983 return inst.m_peak_CameraMemory_Area_GetAccessStatus(hCam, cameraMemoryArea);
6984 }
6985 else
6986 {
6987 throw std::runtime_error("Library not loaded!");
6988 }
6989}
6990
6991inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_GetList(peak_camera_handle hCam, peak_camera_memory_area * cameraMemoryAreaList, size_t * cameraMemoryAreaCount)
6992{
6993 auto& inst = instance();
6994 if(inst.m_peak_CameraMemory_Area_GetList)
6995 {
6996 return inst.m_peak_CameraMemory_Area_GetList(hCam, cameraMemoryAreaList, cameraMemoryAreaCount);
6997 }
6998 else
6999 {
7000 throw std::runtime_error("Library not loaded!");
7001 }
7002}
7003
7004inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_Size_Get(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t * cameraMemoryAreaSize)
7005{
7006 auto& inst = instance();
7007 if(inst.m_peak_CameraMemory_Area_Size_Get)
7008 {
7009 return inst.m_peak_CameraMemory_Area_Size_Get(hCam, cameraMemoryArea, cameraMemoryAreaSize);
7010 }
7011 else
7012 {
7013 throw std::runtime_error("Library not loaded!");
7014 }
7015}
7016
7017inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_Data_Clear(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea)
7018{
7019 auto& inst = instance();
7020 if(inst.m_peak_CameraMemory_Area_Data_Clear)
7021 {
7022 return inst.m_peak_CameraMemory_Area_Data_Clear(hCam, cameraMemoryArea);
7023 }
7024 else
7025 {
7026 throw std::runtime_error("Library not loaded!");
7027 }
7028}
7029
7030inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_Data_Write(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, const uint8_t * data, size_t dataSize)
7031{
7032 auto& inst = instance();
7033 if(inst.m_peak_CameraMemory_Area_Data_Write)
7034 {
7035 return inst.m_peak_CameraMemory_Area_Data_Write(hCam, cameraMemoryArea, data, dataSize);
7036 }
7037 else
7038 {
7039 throw std::runtime_error("Library not loaded!");
7040 }
7041}
7042
7043inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_Data_Read(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, uint8_t * data, size_t dataSize)
7044{
7045 auto& inst = instance();
7046 if(inst.m_peak_CameraMemory_Area_Data_Read)
7047 {
7048 return inst.m_peak_CameraMemory_Area_Data_Read(hCam, cameraMemoryArea, data, dataSize);
7049 }
7050 else
7051 {
7052 throw std::runtime_error("Library not loaded!");
7053 }
7054}
7055
7056inline PEAK_API_STATUS DynamicLoader::peak_GFA_EnableWriteAccess(peak_camera_handle hCam, peak_bool enabled)
7057{
7058 auto& inst = instance();
7059 if(inst.m_peak_GFA_EnableWriteAccess)
7060 {
7061 return inst.m_peak_GFA_EnableWriteAccess(hCam, enabled);
7062 }
7063 else
7064 {
7065 throw std::runtime_error("Library not loaded!");
7066 }
7067}
7068
7069inline PEAK_API_BOOL DynamicLoader::peak_GFA_IsWriteAccessEnabled(peak_camera_handle hCam)
7070{
7071 auto& inst = instance();
7072 if(inst.m_peak_GFA_IsWriteAccessEnabled)
7073 {
7074 return inst.m_peak_GFA_IsWriteAccessEnabled(hCam);
7075 }
7076 else
7077 {
7078 throw std::runtime_error("Library not loaded!");
7079 }
7080}
7081
7082inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_Feature_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * featureName)
7083{
7084 auto& inst = instance();
7085 if(inst.m_peak_GFA_Feature_GetAccessStatus)
7086 {
7087 return inst.m_peak_GFA_Feature_GetAccessStatus(hCam, module, featureName);
7088 }
7089 else
7090 {
7091 throw std::runtime_error("Library not loaded!");
7092 }
7093}
7094
7095inline PEAK_API_BOOL DynamicLoader::peak_GFA_Float_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName)
7096{
7097 auto& inst = instance();
7098 if(inst.m_peak_GFA_Float_HasRange)
7099 {
7100 return inst.m_peak_GFA_Float_HasRange(hCam, module, floatFeatureName);
7101 }
7102 else
7103 {
7104 throw std::runtime_error("Library not loaded!");
7105 }
7106}
7107
7108inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * minFloatValue, double * maxFloatValue, double * incFloatValue)
7109{
7110 auto& inst = instance();
7111 if(inst.m_peak_GFA_Float_GetRange)
7112 {
7113 return inst.m_peak_GFA_Float_GetRange(hCam, module, floatFeatureName, minFloatValue, maxFloatValue, incFloatValue);
7114 }
7115 else
7116 {
7117 throw std::runtime_error("Library not loaded!");
7118 }
7119}
7120
7121inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatList, size_t * floatCount)
7122{
7123 auto& inst = instance();
7124 if(inst.m_peak_GFA_Float_GetList)
7125 {
7126 return inst.m_peak_GFA_Float_GetList(hCam, module, floatFeatureName, floatList, floatCount);
7127 }
7128 else
7129 {
7130 throw std::runtime_error("Library not loaded!");
7131 }
7132}
7133
7134inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_Set(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double floatValue)
7135{
7136 auto& inst = instance();
7137 if(inst.m_peak_GFA_Float_Set)
7138 {
7139 return inst.m_peak_GFA_Float_Set(hCam, module, floatFeatureName, floatValue);
7140 }
7141 else
7142 {
7143 throw std::runtime_error("Library not loaded!");
7144 }
7145}
7146
7147inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_Get(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatValue)
7148{
7149 auto& inst = instance();
7150 if(inst.m_peak_GFA_Float_Get)
7151 {
7152 return inst.m_peak_GFA_Float_Get(hCam, module, floatFeatureName, floatValue);
7153 }
7154 else
7155 {
7156 throw std::runtime_error("Library not loaded!");
7157 }
7158}
7159
7160inline PEAK_API_BOOL DynamicLoader::peak_GFA_Integer_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName)
7161{
7162 auto& inst = instance();
7163 if(inst.m_peak_GFA_Integer_HasRange)
7164 {
7165 return inst.m_peak_GFA_Integer_HasRange(hCam, module, integerFeatureName);
7166 }
7167 else
7168 {
7169 throw std::runtime_error("Library not loaded!");
7170 }
7171}
7172
7173inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * minIntegerValue, int64_t * maxIntegerValue, int64_t * incIntegerValue)
7174{
7175 auto& inst = instance();
7176 if(inst.m_peak_GFA_Integer_GetRange)
7177 {
7178 return inst.m_peak_GFA_Integer_GetRange(hCam, module, integerFeatureName, minIntegerValue, maxIntegerValue, incIntegerValue);
7179 }
7180 else
7181 {
7182 throw std::runtime_error("Library not loaded!");
7183 }
7184}
7185
7186inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerList, size_t * integerCount)
7187{
7188 auto& inst = instance();
7189 if(inst.m_peak_GFA_Integer_GetList)
7190 {
7191 return inst.m_peak_GFA_Integer_GetList(hCam, module, integerFeatureName, integerList, integerCount);
7192 }
7193 else
7194 {
7195 throw std::runtime_error("Library not loaded!");
7196 }
7197}
7198
7199inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_Set(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t integerValue)
7200{
7201 auto& inst = instance();
7202 if(inst.m_peak_GFA_Integer_Set)
7203 {
7204 return inst.m_peak_GFA_Integer_Set(hCam, module, integerFeatureName, integerValue);
7205 }
7206 else
7207 {
7208 throw std::runtime_error("Library not loaded!");
7209 }
7210}
7211
7212inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_Get(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerValue)
7213{
7214 auto& inst = instance();
7215 if(inst.m_peak_GFA_Integer_Get)
7216 {
7217 return inst.m_peak_GFA_Integer_Get(hCam, module, integerFeatureName, integerValue);
7218 }
7219 else
7220 {
7221 throw std::runtime_error("Library not loaded!");
7222 }
7223}
7224
7225inline PEAK_API_STATUS DynamicLoader::peak_GFA_Boolean_Set(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool booleanValue)
7226{
7227 auto& inst = instance();
7228 if(inst.m_peak_GFA_Boolean_Set)
7229 {
7230 return inst.m_peak_GFA_Boolean_Set(hCam, module, booleanFeatureName, booleanValue);
7231 }
7232 else
7233 {
7234 throw std::runtime_error("Library not loaded!");
7235 }
7236}
7237
7238inline PEAK_API_STATUS DynamicLoader::peak_GFA_Boolean_Get(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool * booleanValue)
7239{
7240 auto& inst = instance();
7241 if(inst.m_peak_GFA_Boolean_Get)
7242 {
7243 return inst.m_peak_GFA_Boolean_Get(hCam, module, booleanFeatureName, booleanValue);
7244 }
7245 else
7246 {
7247 throw std::runtime_error("Library not loaded!");
7248 }
7249}
7250
7251inline PEAK_API_STATUS DynamicLoader::peak_GFA_String_Set(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, const char * stringValue)
7252{
7253 auto& inst = instance();
7254 if(inst.m_peak_GFA_String_Set)
7255 {
7256 return inst.m_peak_GFA_String_Set(hCam, module, stringFeatureName, stringValue);
7257 }
7258 else
7259 {
7260 throw std::runtime_error("Library not loaded!");
7261 }
7262}
7263
7264inline PEAK_API_STATUS DynamicLoader::peak_GFA_String_Get(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, char * stringValue, size_t * stringValueSize)
7265{
7266 auto& inst = instance();
7267 if(inst.m_peak_GFA_String_Get)
7268 {
7269 return inst.m_peak_GFA_String_Get(hCam, module, stringFeatureName, stringValue, stringValueSize);
7270 }
7271 else
7272 {
7273 throw std::runtime_error("Library not loaded!");
7274 }
7275}
7276
7277inline PEAK_API_STATUS DynamicLoader::peak_GFA_Command_Execute(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName)
7278{
7279 auto& inst = instance();
7280 if(inst.m_peak_GFA_Command_Execute)
7281 {
7282 return inst.m_peak_GFA_Command_Execute(hCam, module, commandFeatureName);
7283 }
7284 else
7285 {
7286 throw std::runtime_error("Library not loaded!");
7287 }
7288}
7289
7290inline PEAK_API_STATUS DynamicLoader::peak_GFA_Command_WaitForDone(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName, uint32_t timeout_ms)
7291{
7292 auto& inst = instance();
7293 if(inst.m_peak_GFA_Command_WaitForDone)
7294 {
7295 return inst.m_peak_GFA_Command_WaitForDone(hCam, module, commandFeatureName, timeout_ms);
7296 }
7297 else
7298 {
7299 throw std::runtime_error("Library not loaded!");
7300 }
7301}
7302
7303inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntryList, size_t * enumerationEntryCount)
7304{
7305 auto& inst = instance();
7306 if(inst.m_peak_GFA_Enumeration_GetList)
7307 {
7308 return inst.m_peak_GFA_Enumeration_GetList(hCam, module, enumerationFeatureName, enumerationEntryList, enumerationEntryCount);
7309 }
7310 else
7311 {
7312 throw std::runtime_error("Library not loaded!");
7313 }
7314}
7315
7316inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_EnumerationEntry_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry)
7317{
7318 auto& inst = instance();
7319 if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatus)
7320 {
7321 return inst.m_peak_GFA_EnumerationEntry_GetAccessStatus(hCam, module, enumerationFeatureName, enumerationEntry);
7322 }
7323 else
7324 {
7325 throw std::runtime_error("Library not loaded!");
7326 }
7327}
7328
7329inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue)
7330{
7331 auto& inst = instance();
7332 if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue)
7333 {
7334 return inst.m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(hCam, module, enumerationFeatureName, enumerationEntrySymbolicValue);
7335 }
7336 else
7337 {
7338 throw std::runtime_error("Library not loaded!");
7339 }
7340}
7341
7342inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue)
7343{
7344 auto& inst = instance();
7345 if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue)
7346 {
7347 return inst.m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(hCam, module, enumerationFeatureName, enumerationEntryIntegerValue);
7348 }
7349 else
7350 {
7351 throw std::runtime_error("Library not loaded!");
7352 }
7353}
7354
7355inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_Set(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const peak_gfa_enumeration_entry * enumerationEntry)
7356{
7357 auto& inst = instance();
7358 if(inst.m_peak_GFA_Enumeration_Set)
7359 {
7360 return inst.m_peak_GFA_Enumeration_Set(hCam, module, enumerationFeatureName, enumerationEntry);
7361 }
7362 else
7363 {
7364 throw std::runtime_error("Library not loaded!");
7365 }
7366}
7367
7368inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_SetBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue)
7369{
7370 auto& inst = instance();
7371 if(inst.m_peak_GFA_Enumeration_SetBySymbolicValue)
7372 {
7373 return inst.m_peak_GFA_Enumeration_SetBySymbolicValue(hCam, module, enumerationFeatureName, enumerationEntrySymbolicValue);
7374 }
7375 else
7376 {
7377 throw std::runtime_error("Library not loaded!");
7378 }
7379}
7380
7381inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_SetByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue)
7382{
7383 auto& inst = instance();
7384 if(inst.m_peak_GFA_Enumeration_SetByIntegerValue)
7385 {
7386 return inst.m_peak_GFA_Enumeration_SetByIntegerValue(hCam, module, enumerationFeatureName, enumerationEntryIntegerValue);
7387 }
7388 else
7389 {
7390 throw std::runtime_error("Library not loaded!");
7391 }
7392}
7393
7394inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_Get(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntry)
7395{
7396 auto& inst = instance();
7397 if(inst.m_peak_GFA_Enumeration_Get)
7398 {
7399 return inst.m_peak_GFA_Enumeration_Get(hCam, module, enumerationFeatureName, enumerationEntry);
7400 }
7401 else
7402 {
7403 throw std::runtime_error("Library not loaded!");
7404 }
7405}
7406
7407inline PEAK_API_STATUS DynamicLoader::peak_GFA_Register_Set(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, const uint8_t * registerValue, size_t registerValueSize)
7408{
7409 auto& inst = instance();
7410 if(inst.m_peak_GFA_Register_Set)
7411 {
7412 return inst.m_peak_GFA_Register_Set(hCam, module, registerFeatureName, registerValue, registerValueSize);
7413 }
7414 else
7415 {
7416 throw std::runtime_error("Library not loaded!");
7417 }
7418}
7419
7420inline PEAK_API_STATUS DynamicLoader::peak_GFA_Register_Get(peak_camera_handle hCam, peak_gfa_module module, const char * registerFeatureName, uint8_t * registerValue, size_t * registerValueSize)
7421{
7422 auto& inst = instance();
7423 if(inst.m_peak_GFA_Register_Get)
7424 {
7425 return inst.m_peak_GFA_Register_Get(hCam, module, registerFeatureName, registerValue, registerValueSize);
7426 }
7427 else
7428 {
7429 throw std::runtime_error("Library not loaded!");
7430 }
7431}
7432
7433inline PEAK_API_STATUS DynamicLoader::peak_GFA_Data_Write(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, const uint8_t * data, size_t dataSize)
7434{
7435 auto& inst = instance();
7436 if(inst.m_peak_GFA_Data_Write)
7437 {
7438 return inst.m_peak_GFA_Data_Write(hCam, module, address, data, dataSize);
7439 }
7440 else
7441 {
7442 throw std::runtime_error("Library not loaded!");
7443 }
7444}
7445
7446inline PEAK_API_STATUS DynamicLoader::peak_GFA_Data_Read(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, uint8_t * data, size_t dataSize)
7447{
7448 auto& inst = instance();
7449 if(inst.m_peak_GFA_Data_Read)
7450 {
7451 return inst.m_peak_GFA_Data_Read(hCam, module, address, data, dataSize);
7452 }
7453 else
7454 {
7455 throw std::runtime_error("Library not loaded!");
7456 }
7457}
7458
7459inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format * outputPixelFormatList, size_t * outputPixelFormatCount)
7460{
7461 auto& inst = instance();
7462 if(inst.m_peak_IPL_PixelFormat_GetList)
7463 {
7464 return inst.m_peak_IPL_PixelFormat_GetList(hCam, inputPixelFormat, outputPixelFormatList, outputPixelFormatCount);
7465 }
7466 else
7467 {
7468 throw std::runtime_error("Library not loaded!");
7469 }
7470}
7471
7472inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
7473{
7474 auto& inst = instance();
7475 if(inst.m_peak_IPL_PixelFormat_Set)
7476 {
7477 return inst.m_peak_IPL_PixelFormat_Set(hCam, pixelFormat);
7478 }
7479 else
7480 {
7481 throw std::runtime_error("Library not loaded!");
7482 }
7483}
7484
7485inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat)
7486{
7487 auto& inst = instance();
7488 if(inst.m_peak_IPL_PixelFormat_Get)
7489 {
7490 return inst.m_peak_IPL_PixelFormat_Get(hCam, pixelFormat);
7491 }
7492 else
7493 {
7494 throw std::runtime_error("Library not loaded!");
7495 }
7496}
7497
7498inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_GetRange(peak_camera_handle hCam, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain)
7499{
7500 auto& inst = instance();
7501 if(inst.m_peak_IPL_Gain_GetRange)
7502 {
7503 return inst.m_peak_IPL_Gain_GetRange(hCam, gainChannel, minGain, maxGain, incGain);
7504 }
7505 else
7506 {
7507 throw std::runtime_error("Library not loaded!");
7508 }
7509}
7510
7511inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_Set(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain)
7512{
7513 auto& inst = instance();
7514 if(inst.m_peak_IPL_Gain_Set)
7515 {
7516 return inst.m_peak_IPL_Gain_Set(hCam, gainChannel, gain);
7517 }
7518 else
7519 {
7520 throw std::runtime_error("Library not loaded!");
7521 }
7522}
7523
7524inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_Get(peak_camera_handle hCam, peak_gain_channel gainChannel, double * gain)
7525{
7526 auto& inst = instance();
7527 if(inst.m_peak_IPL_Gain_Get)
7528 {
7529 return inst.m_peak_IPL_Gain_Get(hCam, gainChannel, gain);
7530 }
7531 else
7532 {
7533 throw std::runtime_error("Library not loaded!");
7534 }
7535}
7536
7537inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma)
7538{
7539 auto& inst = instance();
7540 if(inst.m_peak_IPL_Gamma_GetRange)
7541 {
7542 return inst.m_peak_IPL_Gamma_GetRange(hCam, minGamma, maxGamma, incGamma);
7543 }
7544 else
7545 {
7546 throw std::runtime_error("Library not loaded!");
7547 }
7548}
7549
7550inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_Set(peak_camera_handle hCam, double gamma)
7551{
7552 auto& inst = instance();
7553 if(inst.m_peak_IPL_Gamma_Set)
7554 {
7555 return inst.m_peak_IPL_Gamma_Set(hCam, gamma);
7556 }
7557 else
7558 {
7559 throw std::runtime_error("Library not loaded!");
7560 }
7561}
7562
7563inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_Get(peak_camera_handle hCam, double * gamma)
7564{
7565 auto& inst = instance();
7566 if(inst.m_peak_IPL_Gamma_Get)
7567 {
7568 return inst.m_peak_IPL_Gamma_Get(hCam, gamma);
7569 }
7570 else
7571 {
7572 throw std::runtime_error("Library not loaded!");
7573 }
7574}
7575
7576inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
7577{
7578 auto& inst = instance();
7579 if(inst.m_peak_IPL_ColorCorrection_Matrix_Set)
7580 {
7581 return inst.m_peak_IPL_ColorCorrection_Matrix_Set(hCam, colorCorrectionMatrix);
7582 }
7583 else
7584 {
7585 throw std::runtime_error("Library not loaded!");
7586 }
7587}
7588
7589inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix)
7590{
7591 auto& inst = instance();
7592 if(inst.m_peak_IPL_ColorCorrection_Matrix_Get)
7593 {
7594 return inst.m_peak_IPL_ColorCorrection_Matrix_Get(hCam, colorCorrectionMatrix);
7595 }
7596 else
7597 {
7598 throw std::runtime_error("Library not loaded!");
7599 }
7600}
7601
7602inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_Get(peak_camera_handle hCam, double * saturation)
7603{
7604 auto& inst = instance();
7605 if(inst.m_peak_IPL_ColorCorrection_Saturation_Get)
7606 {
7607 return inst.m_peak_IPL_ColorCorrection_Saturation_Get(hCam, saturation);
7608 }
7609 else
7610 {
7611 throw std::runtime_error("Library not loaded!");
7612 }
7613}
7614
7615inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_Set(peak_camera_handle hCam, double saturation)
7616{
7617 auto& inst = instance();
7618 if(inst.m_peak_IPL_ColorCorrection_Saturation_Set)
7619 {
7620 return inst.m_peak_IPL_ColorCorrection_Saturation_Set(hCam, saturation);
7621 }
7622 else
7623 {
7624 throw std::runtime_error("Library not loaded!");
7625 }
7626}
7627
7628inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_GetRange(peak_camera_handle hCam, double * minSaturation, double * maxSaturation, double * incSaturation)
7629{
7630 auto& inst = instance();
7631 if(inst.m_peak_IPL_ColorCorrection_Saturation_GetRange)
7632 {
7633 return inst.m_peak_IPL_ColorCorrection_Saturation_GetRange(hCam, minSaturation, maxSaturation, incSaturation);
7634 }
7635 else
7636 {
7637 throw std::runtime_error("Library not loaded!");
7638 }
7639}
7640
7641inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
7642{
7643 auto& inst = instance();
7644 if(inst.m_peak_IPL_ColorCorrection_Enable)
7645 {
7646 return inst.m_peak_IPL_ColorCorrection_Enable(hCam, enabled);
7647 }
7648 else
7649 {
7650 throw std::runtime_error("Library not loaded!");
7651 }
7652}
7653
7654inline PEAK_API_BOOL DynamicLoader::peak_IPL_ColorCorrection_IsEnabled(peak_camera_handle hCam)
7655{
7656 auto& inst = instance();
7657 if(inst.m_peak_IPL_ColorCorrection_IsEnabled)
7658 {
7659 return inst.m_peak_IPL_ColorCorrection_IsEnabled(hCam);
7660 }
7661 else
7662 {
7663 throw std::runtime_error("Library not loaded!");
7664 }
7665}
7666
7667inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget)
7668{
7669 auto& inst = instance();
7670 if(inst.m_peak_IPL_AutoBrightness_Target_GetRange)
7671 {
7672 return inst.m_peak_IPL_AutoBrightness_Target_GetRange(hCam, minAutoBrightnessTarget, maxAutoBrightnessTarget, incAutoBrightnessTarget);
7673 }
7674 else
7675 {
7676 throw std::runtime_error("Library not loaded!");
7677 }
7678}
7679
7680inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
7681{
7682 auto& inst = instance();
7683 if(inst.m_peak_IPL_AutoBrightness_Target_Set)
7684 {
7685 return inst.m_peak_IPL_AutoBrightness_Target_Set(hCam, autoBrightnessTarget);
7686 }
7687 else
7688 {
7689 throw std::runtime_error("Library not loaded!");
7690 }
7691}
7692
7693inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget)
7694{
7695 auto& inst = instance();
7696 if(inst.m_peak_IPL_AutoBrightness_Target_Get)
7697 {
7698 return inst.m_peak_IPL_AutoBrightness_Target_Get(hCam, autoBrightnessTarget);
7699 }
7700 else
7701 {
7702 throw std::runtime_error("Library not loaded!");
7703 }
7704}
7705
7706inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance)
7707{
7708 auto& inst = instance();
7709 if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_GetRange)
7710 {
7711 return inst.m_peak_IPL_AutoBrightness_TargetTolerance_GetRange(hCam, minAutoBrightnessTargetTolerance, maxAutoBrightnessTargetTolerance, incAutoBrightnessTargetTolerance);
7712 }
7713 else
7714 {
7715 throw std::runtime_error("Library not loaded!");
7716 }
7717}
7718
7719inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
7720{
7721 auto& inst = instance();
7722 if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_Set)
7723 {
7724 return inst.m_peak_IPL_AutoBrightness_TargetTolerance_Set(hCam, autoBrightnessTargetTolerance);
7725 }
7726 else
7727 {
7728 throw std::runtime_error("Library not loaded!");
7729 }
7730}
7731
7732inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance)
7733{
7734 auto& inst = instance();
7735 if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_Get)
7736 {
7737 return inst.m_peak_IPL_AutoBrightness_TargetTolerance_Get(hCam, autoBrightnessTargetTolerance);
7738 }
7739 else
7740 {
7741 throw std::runtime_error("Library not loaded!");
7742 }
7743}
7744
7745inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile)
7746{
7747 auto& inst = instance();
7748 if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_GetRange)
7749 {
7750 return inst.m_peak_IPL_AutoBrightness_TargetPercentile_GetRange(hCam, minAutoBrightnessTargetPercentile, maxAutoBrightnessTargetPercentile, incAutoBrightnessTargetPercentile);
7751 }
7752 else
7753 {
7754 throw std::runtime_error("Library not loaded!");
7755 }
7756}
7757
7758inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
7759{
7760 auto& inst = instance();
7761 if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_Set)
7762 {
7763 return inst.m_peak_IPL_AutoBrightness_TargetPercentile_Set(hCam, autoBrightnessTargetPercentile);
7764 }
7765 else
7766 {
7767 throw std::runtime_error("Library not loaded!");
7768 }
7769}
7770
7771inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile)
7772{
7773 auto& inst = instance();
7774 if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_Get)
7775 {
7776 return inst.m_peak_IPL_AutoBrightness_TargetPercentile_Get(hCam, autoBrightnessTargetPercentile);
7777 }
7778 else
7779 {
7780 throw std::runtime_error("Library not loaded!");
7781 }
7782}
7783
7784inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode)
7785{
7786 auto& inst = instance();
7787 if(inst.m_peak_IPL_AutoBrightness_ROI_Mode_Set)
7788 {
7789 return inst.m_peak_IPL_AutoBrightness_ROI_Mode_Set(hCam, autoBrightnessROIMode);
7790 }
7791 else
7792 {
7793 throw std::runtime_error("Library not loaded!");
7794 }
7795}
7796
7797inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode)
7798{
7799 auto& inst = instance();
7800 if(inst.m_peak_IPL_AutoBrightness_ROI_Mode_Get)
7801 {
7802 return inst.m_peak_IPL_AutoBrightness_ROI_Mode_Get(hCam, autoBrightnessROIMode);
7803 }
7804 else
7805 {
7806 throw std::runtime_error("Library not loaded!");
7807 }
7808}
7809
7810inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset)
7811{
7812 auto& inst = instance();
7813 if(inst.m_peak_IPL_AutoBrightness_ROI_Offset_GetRange)
7814 {
7815 return inst.m_peak_IPL_AutoBrightness_ROI_Offset_GetRange(hCam, minAutoBrightnessROIOffset, maxAutoBrightnessROIOffset, incAutoBrightnessROIOffset);
7816 }
7817 else
7818 {
7819 throw std::runtime_error("Library not loaded!");
7820 }
7821}
7822
7823inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize)
7824{
7825 auto& inst = instance();
7826 if(inst.m_peak_IPL_AutoBrightness_ROI_Size_GetRange)
7827 {
7828 return inst.m_peak_IPL_AutoBrightness_ROI_Size_GetRange(hCam, minAutoBrightnessROISize, maxAutoBrightnessROISize, incAutoBrightnessROISize);
7829 }
7830 else
7831 {
7832 throw std::runtime_error("Library not loaded!");
7833 }
7834}
7835
7836inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
7837{
7838 auto& inst = instance();
7839 if(inst.m_peak_IPL_AutoBrightness_ROI_Set)
7840 {
7841 return inst.m_peak_IPL_AutoBrightness_ROI_Set(hCam, autoBrightnessROI);
7842 }
7843 else
7844 {
7845 throw std::runtime_error("Library not loaded!");
7846 }
7847}
7848
7849inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI)
7850{
7851 auto& inst = instance();
7852 if(inst.m_peak_IPL_AutoBrightness_ROI_Get)
7853 {
7854 return inst.m_peak_IPL_AutoBrightness_ROI_Get(hCam, autoBrightnessROI);
7855 }
7856 else
7857 {
7858 throw std::runtime_error("Library not loaded!");
7859 }
7860}
7861
7862inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode)
7863{
7864 auto& inst = instance();
7865 if(inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Set)
7866 {
7867 return inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Set(hCam, autoExposureMode);
7868 }
7869 else
7870 {
7871 throw std::runtime_error("Library not loaded!");
7872 }
7873}
7874
7875inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode)
7876{
7877 auto& inst = instance();
7878 if(inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Get)
7879 {
7880 return inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Get(hCam, autoExposureMode);
7881 }
7882 else
7883 {
7884 throw std::runtime_error("Library not loaded!");
7885 }
7886}
7887
7888inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ExposureLimit_Get(peak_camera_handle hCam, peak_double_limit * exposureLimit)
7889{
7890 auto& inst = instance();
7891 if(inst.m_peak_IPL_AutoBrightness_ExposureLimit_Get)
7892 {
7893 return inst.m_peak_IPL_AutoBrightness_ExposureLimit_Get(hCam, exposureLimit);
7894 }
7895 else
7896 {
7897 throw std::runtime_error("Library not loaded!");
7898 }
7899}
7900
7901inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ExposureLimit_Set(peak_camera_handle hCam, peak_double_limit exposureLimit)
7902{
7903 auto& inst = instance();
7904 if(inst.m_peak_IPL_AutoBrightness_ExposureLimit_Set)
7905 {
7906 return inst.m_peak_IPL_AutoBrightness_ExposureLimit_Set(hCam, exposureLimit);
7907 }
7908 else
7909 {
7910 throw std::runtime_error("Library not loaded!");
7911 }
7912}
7913
7914inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
7915{
7916 auto& inst = instance();
7917 if(inst.m_peak_IPL_AutoBrightness_Gain_Mode_Set)
7918 {
7919 return inst.m_peak_IPL_AutoBrightness_Gain_Mode_Set(hCam, autoGainMode);
7920 }
7921 else
7922 {
7923 throw std::runtime_error("Library not loaded!");
7924 }
7925}
7926
7927inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
7928{
7929 auto& inst = instance();
7930 if(inst.m_peak_IPL_AutoBrightness_Gain_Mode_Get)
7931 {
7932 return inst.m_peak_IPL_AutoBrightness_Gain_Mode_Get(hCam, autoGainMode);
7933 }
7934 else
7935 {
7936 throw std::runtime_error("Library not loaded!");
7937 }
7938}
7939
7940inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainAnalog_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
7941{
7942 auto& inst = instance();
7943 if(inst.m_peak_IPL_AutoBrightness_GainAnalog_Mode_Set)
7944 {
7945 return inst.m_peak_IPL_AutoBrightness_GainAnalog_Mode_Set(hCam, autoGainMode);
7946 }
7947 else
7948 {
7949 throw std::runtime_error("Library not loaded!");
7950 }
7951}
7952
7953inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainAnalog_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
7954{
7955 auto& inst = instance();
7956 if(inst.m_peak_IPL_AutoBrightness_GainAnalog_Mode_Get)
7957 {
7958 return inst.m_peak_IPL_AutoBrightness_GainAnalog_Mode_Get(hCam, autoGainMode);
7959 }
7960 else
7961 {
7962 throw std::runtime_error("Library not loaded!");
7963 }
7964}
7965
7966inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainDigital_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
7967{
7968 auto& inst = instance();
7969 if(inst.m_peak_IPL_AutoBrightness_GainDigital_Mode_Set)
7970 {
7971 return inst.m_peak_IPL_AutoBrightness_GainDigital_Mode_Set(hCam, autoGainMode);
7972 }
7973 else
7974 {
7975 throw std::runtime_error("Library not loaded!");
7976 }
7977}
7978
7979inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainDigital_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
7980{
7981 auto& inst = instance();
7982 if(inst.m_peak_IPL_AutoBrightness_GainDigital_Mode_Get)
7983 {
7984 return inst.m_peak_IPL_AutoBrightness_GainDigital_Mode_Get(hCam, autoGainMode);
7985 }
7986 else
7987 {
7988 throw std::runtime_error("Library not loaded!");
7989 }
7990}
7991
7992inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainCombined_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
7993{
7994 auto& inst = instance();
7995 if(inst.m_peak_IPL_AutoBrightness_GainCombined_Mode_Set)
7996 {
7997 return inst.m_peak_IPL_AutoBrightness_GainCombined_Mode_Set(hCam, autoGainMode);
7998 }
7999 else
8000 {
8001 throw std::runtime_error("Library not loaded!");
8002 }
8003}
8004
8005inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainCombined_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
8006{
8007 auto& inst = instance();
8008 if(inst.m_peak_IPL_AutoBrightness_GainCombined_Mode_Get)
8009 {
8010 return inst.m_peak_IPL_AutoBrightness_GainCombined_Mode_Get(hCam, autoGainMode);
8011 }
8012 else
8013 {
8014 throw std::runtime_error("Library not loaded!");
8015 }
8016}
8017
8018inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainHost_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
8019{
8020 auto& inst = instance();
8021 if(inst.m_peak_IPL_AutoBrightness_GainHost_Mode_Set)
8022 {
8023 return inst.m_peak_IPL_AutoBrightness_GainHost_Mode_Set(hCam, autoGainMode);
8024 }
8025 else
8026 {
8027 throw std::runtime_error("Library not loaded!");
8028 }
8029}
8030
8031inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainHost_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode)
8032{
8033 auto& inst = instance();
8034 if(inst.m_peak_IPL_AutoBrightness_GainHost_Mode_Get)
8035 {
8036 return inst.m_peak_IPL_AutoBrightness_GainHost_Mode_Get(hCam, autoGainMode);
8037 }
8038 else
8039 {
8040 throw std::runtime_error("Library not loaded!");
8041 }
8042}
8043
8044inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Algorithm_Set(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm algorithm)
8045{
8046 auto& inst = instance();
8047 if(inst.m_peak_IPL_AutoBrightness_Algorithm_Set)
8048 {
8049 return inst.m_peak_IPL_AutoBrightness_Algorithm_Set(hCam, algorithm);
8050 }
8051 else
8052 {
8053 throw std::runtime_error("Library not loaded!");
8054 }
8055}
8056
8057inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Algorithm_Get(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm * algorithm)
8058{
8059 auto& inst = instance();
8060 if(inst.m_peak_IPL_AutoBrightness_Algorithm_Get)
8061 {
8062 return inst.m_peak_IPL_AutoBrightness_Algorithm_Get(hCam, algorithm);
8063 }
8064 else
8065 {
8066 throw std::runtime_error("Library not loaded!");
8067 }
8068}
8069
8070inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_AverageLast_Get(peak_camera_handle hCam, uint32_t * lastAverage)
8071{
8072 auto& inst = instance();
8073 if(inst.m_peak_IPL_AutoBrightness_AverageLast_Get)
8074 {
8075 return inst.m_peak_IPL_AutoBrightness_AverageLast_Get(hCam, lastAverage);
8076 }
8077 else
8078 {
8079 throw std::runtime_error("Library not loaded!");
8080 }
8081}
8082
8083inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
8084{
8085 auto& inst = instance();
8086 if(inst.m_peak_IPL_AutoBrightness_GainLimit_Set)
8087 {
8088 return inst.m_peak_IPL_AutoBrightness_GainLimit_Set(hCam, gainLimit);
8089 }
8090 else
8091 {
8092 throw std::runtime_error("Library not loaded!");
8093 }
8094}
8095
8096inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit)
8097{
8098 auto& inst = instance();
8099 if(inst.m_peak_IPL_AutoBrightness_GainLimit_Get)
8100 {
8101 return inst.m_peak_IPL_AutoBrightness_GainLimit_Get(hCam, gainLimit);
8102 }
8103 else
8104 {
8105 throw std::runtime_error("Library not loaded!");
8106 }
8107}
8108
8109inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainLimit_GetRange(peak_camera_handle hCam, peak_double_limit * gainLimit)
8110{
8111 auto& inst = instance();
8112 if(inst.m_peak_IPL_AutoBrightness_GainLimit_GetRange)
8113 {
8114 return inst.m_peak_IPL_AutoBrightness_GainLimit_GetRange(hCam, gainLimit);
8115 }
8116 else
8117 {
8118 throw std::runtime_error("Library not loaded!");
8119 }
8120}
8121
8122inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainAnalogLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
8123{
8124 auto& inst = instance();
8125 if(inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_Set)
8126 {
8127 return inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_Set(hCam, gainLimit);
8128 }
8129 else
8130 {
8131 throw std::runtime_error("Library not loaded!");
8132 }
8133}
8134
8135inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainAnalogLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit)
8136{
8137 auto& inst = instance();
8138 if(inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_Get)
8139 {
8140 return inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_Get(hCam, gainLimit);
8141 }
8142 else
8143 {
8144 throw std::runtime_error("Library not loaded!");
8145 }
8146}
8147
8148inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainAnalogLimit_GetRange(peak_camera_handle hCam, peak_double_limit * gainLimit)
8149{
8150 auto& inst = instance();
8151 if(inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange)
8152 {
8153 return inst.m_peak_IPL_AutoBrightness_GainAnalogLimit_GetRange(hCam, gainLimit);
8154 }
8155 else
8156 {
8157 throw std::runtime_error("Library not loaded!");
8158 }
8159}
8160
8161inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainDigitalLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
8162{
8163 auto& inst = instance();
8164 if(inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_Set)
8165 {
8166 return inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_Set(hCam, gainLimit);
8167 }
8168 else
8169 {
8170 throw std::runtime_error("Library not loaded!");
8171 }
8172}
8173
8174inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainDigitalLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit)
8175{
8176 auto& inst = instance();
8177 if(inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_Get)
8178 {
8179 return inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_Get(hCam, gainLimit);
8180 }
8181 else
8182 {
8183 throw std::runtime_error("Library not loaded!");
8184 }
8185}
8186
8187inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainDigitalLimit_GetRange(peak_camera_handle hCam, peak_double_limit * gainLimit)
8188{
8189 auto& inst = instance();
8190 if(inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange)
8191 {
8192 return inst.m_peak_IPL_AutoBrightness_GainDigitalLimit_GetRange(hCam, gainLimit);
8193 }
8194 else
8195 {
8196 throw std::runtime_error("Library not loaded!");
8197 }
8198}
8199
8200inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainCombinedLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
8201{
8202 auto& inst = instance();
8203 if(inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_Set)
8204 {
8205 return inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_Set(hCam, gainLimit);
8206 }
8207 else
8208 {
8209 throw std::runtime_error("Library not loaded!");
8210 }
8211}
8212
8213inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainCombinedLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit)
8214{
8215 auto& inst = instance();
8216 if(inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_Get)
8217 {
8218 return inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_Get(hCam, gainLimit);
8219 }
8220 else
8221 {
8222 throw std::runtime_error("Library not loaded!");
8223 }
8224}
8225
8226inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainCombinedLimit_GetRange(peak_camera_handle hCam, peak_double_limit * gainLimit)
8227{
8228 auto& inst = instance();
8229 if(inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange)
8230 {
8231 return inst.m_peak_IPL_AutoBrightness_GainCombinedLimit_GetRange(hCam, gainLimit);
8232 }
8233 else
8234 {
8235 throw std::runtime_error("Library not loaded!");
8236 }
8237}
8238
8239inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainHostLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
8240{
8241 auto& inst = instance();
8242 if(inst.m_peak_IPL_AutoBrightness_GainHostLimit_Set)
8243 {
8244 return inst.m_peak_IPL_AutoBrightness_GainHostLimit_Set(hCam, gainLimit);
8245 }
8246 else
8247 {
8248 throw std::runtime_error("Library not loaded!");
8249 }
8250}
8251
8252inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainHostLimit_Get(peak_camera_handle hCam, peak_double_limit * gainLimit)
8253{
8254 auto& inst = instance();
8255 if(inst.m_peak_IPL_AutoBrightness_GainHostLimit_Get)
8256 {
8257 return inst.m_peak_IPL_AutoBrightness_GainHostLimit_Get(hCam, gainLimit);
8258 }
8259 else
8260 {
8261 throw std::runtime_error("Library not loaded!");
8262 }
8263}
8264
8265inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_GainHostLimit_GetRange(peak_camera_handle hCam, peak_double_limit * gainLimit)
8266{
8267 auto& inst = instance();
8268 if(inst.m_peak_IPL_AutoBrightness_GainHostLimit_GetRange)
8269 {
8270 return inst.m_peak_IPL_AutoBrightness_GainHostLimit_GetRange(hCam, gainLimit);
8271 }
8272 else
8273 {
8274 throw std::runtime_error("Library not loaded!");
8275 }
8276}
8277
8278inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames)
8279{
8280 auto& inst = instance();
8281 if(inst.m_peak_IPL_AutoBrightness_SkipFrames_Set)
8282 {
8283 return inst.m_peak_IPL_AutoBrightness_SkipFrames_Set(hCam, skipFrames);
8284 }
8285 else
8286 {
8287 throw std::runtime_error("Library not loaded!");
8288 }
8289}
8290
8291inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_SkipFrames_Get(peak_camera_handle hCam, uint32_t * skipFrames)
8292{
8293 auto& inst = instance();
8294 if(inst.m_peak_IPL_AutoBrightness_SkipFrames_Get)
8295 {
8296 return inst.m_peak_IPL_AutoBrightness_SkipFrames_Get(hCam, skipFrames);
8297 }
8298 else
8299 {
8300 throw std::runtime_error("Library not loaded!");
8301 }
8302}
8303
8304inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc)
8305{
8306 auto& inst = instance();
8307 if(inst.m_peak_IPL_AutoBrightness_SkipFrames_GetRange)
8308 {
8309 return inst.m_peak_IPL_AutoBrightness_SkipFrames_GetRange(hCam, skipFramesMin, skipFramesMax, skipFramesInc);
8310 }
8311 else
8312 {
8313 throw std::runtime_error("Library not loaded!");
8314 }
8315}
8316
8317inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode)
8318{
8319 auto& inst = instance();
8320 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set)
8321 {
8322 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set(hCam, autoWhiteBalanceROIMode);
8323 }
8324 else
8325 {
8326 throw std::runtime_error("Library not loaded!");
8327 }
8328}
8329
8330inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode)
8331{
8332 auto& inst = instance();
8333 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get)
8334 {
8335 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get(hCam, autoWhiteBalanceROIMode);
8336 }
8337 else
8338 {
8339 throw std::runtime_error("Library not loaded!");
8340 }
8341}
8342
8343inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset)
8344{
8345 auto& inst = instance();
8346 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange)
8347 {
8348 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(hCam, minAutoWhiteBalanceROIOffset, maxAutoWhiteBalanceROIOffset, incAutoWhiteBalanceROIOffset);
8349 }
8350 else
8351 {
8352 throw std::runtime_error("Library not loaded!");
8353 }
8354}
8355
8356inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize)
8357{
8358 auto& inst = instance();
8359 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange)
8360 {
8361 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(hCam, minAutoWhiteBalanceROISize, maxAutoWhiteBalanceROISize, incAutoWhiteBalanceROISize);
8362 }
8363 else
8364 {
8365 throw std::runtime_error("Library not loaded!");
8366 }
8367}
8368
8369inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
8370{
8371 auto& inst = instance();
8372 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Set)
8373 {
8374 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Set(hCam, autoWhiteBalanceROI);
8375 }
8376 else
8377 {
8378 throw std::runtime_error("Library not loaded!");
8379 }
8380}
8381
8382inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI)
8383{
8384 auto& inst = instance();
8385 if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Get)
8386 {
8387 return inst.m_peak_IPL_AutoWhiteBalance_ROI_Get(hCam, autoWhiteBalanceROI);
8388 }
8389 else
8390 {
8391 throw std::runtime_error("Library not loaded!");
8392 }
8393}
8394
8395inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
8396{
8397 auto& inst = instance();
8398 if(inst.m_peak_IPL_AutoWhiteBalance_Mode_Set)
8399 {
8400 return inst.m_peak_IPL_AutoWhiteBalance_Mode_Set(hCam, autoWhiteBalanceMode);
8401 }
8402 else
8403 {
8404 throw std::runtime_error("Library not loaded!");
8405 }
8406}
8407
8408inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode)
8409{
8410 auto& inst = instance();
8411 if(inst.m_peak_IPL_AutoWhiteBalance_Mode_Get)
8412 {
8413 return inst.m_peak_IPL_AutoWhiteBalance_Mode_Get(hCam, autoWhiteBalanceMode);
8414 }
8415 else
8416 {
8417 throw std::runtime_error("Library not loaded!");
8418 }
8419}
8420
8421inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames)
8422{
8423 auto& inst = instance();
8424 if(inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_Set)
8425 {
8426 return inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_Set(hCam, skipFrames);
8427 }
8428 else
8429 {
8430 throw std::runtime_error("Library not loaded!");
8431 }
8432}
8433
8434inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_SkipFrames_Get(peak_camera_handle hCam, uint32_t * skipFrames)
8435{
8436 auto& inst = instance();
8437 if(inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_Get)
8438 {
8439 return inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_Get(hCam, skipFrames);
8440 }
8441 else
8442 {
8443 throw std::runtime_error("Library not loaded!");
8444 }
8445}
8446
8447inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t * skipFramesMin, uint32_t * skipFramesMax, uint32_t * skipFramesInc)
8448{
8449 auto& inst = instance();
8450 if(inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange)
8451 {
8452 return inst.m_peak_IPL_AutoWhiteBalance_SkipFrames_GetRange(hCam, skipFramesMin, skipFramesMax, skipFramesInc);
8453 }
8454 else
8455 {
8456 throw std::runtime_error("Library not loaded!");
8457 }
8458}
8459
8460inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IPL_AutoFocus_GetAccessStatus(peak_camera_handle hCam)
8461{
8462 auto& inst = instance();
8463 if(inst.m_peak_IPL_AutoFocus_GetAccessStatus)
8464 {
8465 return inst.m_peak_IPL_AutoFocus_GetAccessStatus(hCam);
8466 }
8467 else
8468 {
8469 throw std::runtime_error("Library not loaded!");
8470 }
8471}
8472
8473inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_ROI_Set(peak_camera_handle hCam, const peak_focus_roi * autoFocusROIList, size_t autoFocusROICount)
8474{
8475 auto& inst = instance();
8476 if(inst.m_peak_IPL_AutoFocus_ROI_Set)
8477 {
8478 return inst.m_peak_IPL_AutoFocus_ROI_Set(hCam, autoFocusROIList, autoFocusROICount);
8479 }
8480 else
8481 {
8482 throw std::runtime_error("Library not loaded!");
8483 }
8484}
8485
8486inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_ROI_Get(peak_camera_handle hCam, peak_focus_roi * autoFocusROIList, size_t * autoFocusROICount)
8487{
8488 auto& inst = instance();
8489 if(inst.m_peak_IPL_AutoFocus_ROI_Get)
8490 {
8491 return inst.m_peak_IPL_AutoFocus_ROI_Get(hCam, autoFocusROIList, autoFocusROICount);
8492 }
8493 else
8494 {
8495 throw std::runtime_error("Library not loaded!");
8496 }
8497}
8498
8499inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoFocusMode)
8500{
8501 auto& inst = instance();
8502 if(inst.m_peak_IPL_AutoFocus_Mode_Set)
8503 {
8504 return inst.m_peak_IPL_AutoFocus_Mode_Set(hCam, autoFocusMode);
8505 }
8506 else
8507 {
8508 throw std::runtime_error("Library not loaded!");
8509 }
8510}
8511
8512inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoFocusMode)
8513{
8514 auto& inst = instance();
8515 if(inst.m_peak_IPL_AutoFocus_Mode_Get)
8516 {
8517 return inst.m_peak_IPL_AutoFocus_Mode_Get(hCam, autoFocusMode);
8518 }
8519 else
8520 {
8521 throw std::runtime_error("Library not loaded!");
8522 }
8523}
8524
8525inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_SearchAlgorithm_Set(peak_camera_handle hCam, peak_auto_focus_search_algorithm searchAlgorithm)
8526{
8527 auto& inst = instance();
8528 if(inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Set)
8529 {
8530 return inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Set(hCam, searchAlgorithm);
8531 }
8532 else
8533 {
8534 throw std::runtime_error("Library not loaded!");
8535 }
8536}
8537
8538inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_SearchAlgorithm_Get(peak_camera_handle hCam, peak_auto_focus_search_algorithm * searchAlgorithm)
8539{
8540 auto& inst = instance();
8541 if(inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Get)
8542 {
8543 return inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Get(hCam, searchAlgorithm);
8544 }
8545 else
8546 {
8547 throw std::runtime_error("Library not loaded!");
8548 }
8549}
8550
8551inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_SharpnessAlgorithm_Set(peak_camera_handle hCam, peak_sharpness_algorithm sharpnessAlgorithm)
8552{
8553 auto& inst = instance();
8554 if(inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set)
8555 {
8556 return inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set(hCam, sharpnessAlgorithm);
8557 }
8558 else
8559 {
8560 throw std::runtime_error("Library not loaded!");
8561 }
8562}
8563
8564inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_SharpnessAlgorithm_Get(peak_camera_handle hCam, peak_sharpness_algorithm * sharpnessAlgorithm)
8565{
8566 auto& inst = instance();
8567 if(inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get)
8568 {
8569 return inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get(hCam, sharpnessAlgorithm);
8570 }
8571 else
8572 {
8573 throw std::runtime_error("Library not loaded!");
8574 }
8575}
8576
8577inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Range_Set(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd)
8578{
8579 auto& inst = instance();
8580 if(inst.m_peak_IPL_AutoFocus_Range_Set)
8581 {
8582 return inst.m_peak_IPL_AutoFocus_Range_Set(hCam, rangeBegin, rangeEnd);
8583 }
8584 else
8585 {
8586 throw std::runtime_error("Library not loaded!");
8587 }
8588}
8589
8590inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Range_Get(peak_camera_handle hCam, uint32_t * rangeBegin, uint32_t * rangeEnd)
8591{
8592 auto& inst = instance();
8593 if(inst.m_peak_IPL_AutoFocus_Range_Get)
8594 {
8595 return inst.m_peak_IPL_AutoFocus_Range_Get(hCam, rangeBegin, rangeEnd);
8596 }
8597 else
8598 {
8599 throw std::runtime_error("Library not loaded!");
8600 }
8601}
8602
8603inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_Set(peak_camera_handle hCam, uint8_t hysteresis)
8604{
8605 auto& inst = instance();
8606 if(inst.m_peak_IPL_AutoFocus_Hysteresis_Set)
8607 {
8608 return inst.m_peak_IPL_AutoFocus_Hysteresis_Set(hCam, hysteresis);
8609 }
8610 else
8611 {
8612 throw std::runtime_error("Library not loaded!");
8613 }
8614}
8615
8616inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_Get(peak_camera_handle hCam, uint8_t * hysteresis)
8617{
8618 auto& inst = instance();
8619 if(inst.m_peak_IPL_AutoFocus_Hysteresis_Get)
8620 {
8621 return inst.m_peak_IPL_AutoFocus_Hysteresis_Get(hCam, hysteresis);
8622 }
8623 else
8624 {
8625 throw std::runtime_error("Library not loaded!");
8626 }
8627}
8628
8629inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_GetRange(peak_camera_handle hCam, uint8_t * minHysteresis, uint8_t * maxHysteresis, uint8_t * incHysteresis)
8630{
8631 auto& inst = instance();
8632 if(inst.m_peak_IPL_AutoFocus_Hysteresis_GetRange)
8633 {
8634 return inst.m_peak_IPL_AutoFocus_Hysteresis_GetRange(hCam, minHysteresis, maxHysteresis, incHysteresis);
8635 }
8636 else
8637 {
8638 throw std::runtime_error("Library not loaded!");
8639 }
8640}
8641
8642inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_Sensitivity_Set(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity)
8643{
8644 auto& inst = instance();
8645 if(inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Set)
8646 {
8647 return inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Set(hCam, hotpixelCorrectionSensitivity);
8648 }
8649 else
8650 {
8651 throw std::runtime_error("Library not loaded!");
8652 }
8653}
8654
8655inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_Sensitivity_Get(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity * hotpixelCorrectionSensitivity)
8656{
8657 auto& inst = instance();
8658 if(inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Get)
8659 {
8660 return inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Get(hCam, hotpixelCorrectionSensitivity);
8661 }
8662 else
8663 {
8664 throw std::runtime_error("Library not loaded!");
8665 }
8666}
8667
8668inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_GetList(peak_camera_handle hCam, peak_position * hotpixelList, size_t * hotpixelCount)
8669{
8670 auto& inst = instance();
8671 if(inst.m_peak_IPL_HotpixelCorrection_GetList)
8672 {
8673 return inst.m_peak_IPL_HotpixelCorrection_GetList(hCam, hotpixelList, hotpixelCount);
8674 }
8675 else
8676 {
8677 throw std::runtime_error("Library not loaded!");
8678 }
8679}
8680
8681inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_SetList(peak_camera_handle hCam, const peak_position * hotpixelList, size_t hotpixelCount)
8682{
8683 auto& inst = instance();
8684 if(inst.m_peak_IPL_HotpixelCorrection_SetList)
8685 {
8686 return inst.m_peak_IPL_HotpixelCorrection_SetList(hCam, hotpixelList, hotpixelCount);
8687 }
8688 else
8689 {
8690 throw std::runtime_error("Library not loaded!");
8691 }
8692}
8693
8694inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_ResetList(peak_camera_handle hCam)
8695{
8696 auto& inst = instance();
8697 if(inst.m_peak_IPL_HotpixelCorrection_ResetList)
8698 {
8699 return inst.m_peak_IPL_HotpixelCorrection_ResetList(hCam);
8700 }
8701 else
8702 {
8703 throw std::runtime_error("Library not loaded!");
8704 }
8705}
8706
8707inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
8708{
8709 auto& inst = instance();
8710 if(inst.m_peak_IPL_HotpixelCorrection_Enable)
8711 {
8712 return inst.m_peak_IPL_HotpixelCorrection_Enable(hCam, enabled);
8713 }
8714 else
8715 {
8716 throw std::runtime_error("Library not loaded!");
8717 }
8718}
8719
8720inline PEAK_API_BOOL DynamicLoader::peak_IPL_HotpixelCorrection_IsEnabled(peak_camera_handle hCam)
8721{
8722 auto& inst = instance();
8723 if(inst.m_peak_IPL_HotpixelCorrection_IsEnabled)
8724 {
8725 return inst.m_peak_IPL_HotpixelCorrection_IsEnabled(hCam);
8726 }
8727 else
8728 {
8729 throw std::runtime_error("Library not loaded!");
8730 }
8731}
8732
8733inline PEAK_API_STATUS DynamicLoader::peak_IPL_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled)
8734{
8735 auto& inst = instance();
8736 if(inst.m_peak_IPL_Mirror_UpDown_Enable)
8737 {
8738 return inst.m_peak_IPL_Mirror_UpDown_Enable(hCam, enabled);
8739 }
8740 else
8741 {
8742 throw std::runtime_error("Library not loaded!");
8743 }
8744}
8745
8746inline PEAK_API_BOOL DynamicLoader::peak_IPL_Mirror_UpDown_IsEnabled(peak_camera_handle hCam)
8747{
8748 auto& inst = instance();
8749 if(inst.m_peak_IPL_Mirror_UpDown_IsEnabled)
8750 {
8751 return inst.m_peak_IPL_Mirror_UpDown_IsEnabled(hCam);
8752 }
8753 else
8754 {
8755 throw std::runtime_error("Library not loaded!");
8756 }
8757}
8758
8759inline PEAK_API_STATUS DynamicLoader::peak_IPL_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled)
8760{
8761 auto& inst = instance();
8762 if(inst.m_peak_IPL_Mirror_LeftRight_Enable)
8763 {
8764 return inst.m_peak_IPL_Mirror_LeftRight_Enable(hCam, enabled);
8765 }
8766 else
8767 {
8768 throw std::runtime_error("Library not loaded!");
8769 }
8770}
8771
8772inline PEAK_API_BOOL DynamicLoader::peak_IPL_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam)
8773{
8774 auto& inst = instance();
8775 if(inst.m_peak_IPL_Mirror_LeftRight_IsEnabled)
8776 {
8777 return inst.m_peak_IPL_Mirror_LeftRight_IsEnabled(hCam);
8778 }
8779 else
8780 {
8781 throw std::runtime_error("Library not loaded!");
8782 }
8783}
8784
8785inline PEAK_API_STATUS DynamicLoader::peak_IPL_ProcessFrame(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle * hResultFrame)
8786{
8787 auto& inst = instance();
8788 if(inst.m_peak_IPL_ProcessFrame)
8789 {
8790 return inst.m_peak_IPL_ProcessFrame(hCam, hFrame, hResultFrame);
8791 }
8792 else
8793 {
8794 throw std::runtime_error("Library not loaded!");
8795 }
8796}
8797
8798inline PEAK_API_STATUS DynamicLoader::peak_IPL_ProcessFrameInplace(peak_camera_handle hCam, peak_frame_handle hFrame)
8799{
8800 auto& inst = instance();
8801 if(inst.m_peak_IPL_ProcessFrameInplace)
8802 {
8803 return inst.m_peak_IPL_ProcessFrameInplace(hCam, hFrame);
8804 }
8805 else
8806 {
8807 throw std::runtime_error("Library not loaded!");
8808 }
8809}
8810
8811inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Enable(peak_camera_handle hCam, peak_bool enable)
8812{
8813 auto& inst = instance();
8814 if(inst.m_peak_IPL_EdgeEnhancement_Enable)
8815 {
8816 return inst.m_peak_IPL_EdgeEnhancement_Enable(hCam, enable);
8817 }
8818 else
8819 {
8820 throw std::runtime_error("Library not loaded!");
8821 }
8822}
8823
8824inline PEAK_API_BOOL DynamicLoader::peak_IPL_EdgeEnhancement_IsEnabled(peak_camera_handle hCam)
8825{
8826 auto& inst = instance();
8827 if(inst.m_peak_IPL_EdgeEnhancement_IsEnabled)
8828 {
8829 return inst.m_peak_IPL_EdgeEnhancement_IsEnabled(hCam);
8830 }
8831 else
8832 {
8833 throw std::runtime_error("Library not loaded!");
8834 }
8835}
8836
8837inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_Set(peak_camera_handle hCam, uint32_t factor)
8838{
8839 auto& inst = instance();
8840 if(inst.m_peak_IPL_EdgeEnhancement_Factor_Set)
8841 {
8842 return inst.m_peak_IPL_EdgeEnhancement_Factor_Set(hCam, factor);
8843 }
8844 else
8845 {
8846 throw std::runtime_error("Library not loaded!");
8847 }
8848}
8849
8850inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_Get(peak_camera_handle hCam, uint32_t * factor)
8851{
8852 auto& inst = instance();
8853 if(inst.m_peak_IPL_EdgeEnhancement_Factor_Get)
8854 {
8855 return inst.m_peak_IPL_EdgeEnhancement_Factor_Get(hCam, factor);
8856 }
8857 else
8858 {
8859 throw std::runtime_error("Library not loaded!");
8860 }
8861}
8862
8863inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_GetDefault(peak_camera_handle hCam, uint32_t * defaultFactor)
8864{
8865 auto& inst = instance();
8866 if(inst.m_peak_IPL_EdgeEnhancement_Factor_GetDefault)
8867 {
8868 return inst.m_peak_IPL_EdgeEnhancement_Factor_GetDefault(hCam, defaultFactor);
8869 }
8870 else
8871 {
8872 throw std::runtime_error("Library not loaded!");
8873 }
8874}
8875
8876inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_GetRange(peak_camera_handle hCam, uint32_t * minFactor, uint32_t * maxFactor, uint32_t * incFactor)
8877{
8878 auto& inst = instance();
8879 if(inst.m_peak_IPL_EdgeEnhancement_Factor_GetRange)
8880 {
8881 return inst.m_peak_IPL_EdgeEnhancement_Factor_GetRange(hCam, minFactor, maxFactor, incFactor);
8882 }
8883 else
8884 {
8885 throw std::runtime_error("Library not loaded!");
8886 }
8887}
8888
8889inline PEAK_API_STATUS DynamicLoader::peak_IPL_Sharpness_Measure(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double * calculatedValue)
8890{
8891 auto& inst = instance();
8892 if(inst.m_peak_IPL_Sharpness_Measure)
8893 {
8894 return inst.m_peak_IPL_Sharpness_Measure(hFrame, roi, sharpnessAlgorithm, calculatedValue);
8895 }
8896 else
8897 {
8898 throw std::runtime_error("Library not loaded!");
8899 }
8900}
8901
8902inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Open(peak_video_handle * hVideo, const char * fileName, peak_video_container container, peak_video_encoder encoder)
8903{
8904 auto& inst = instance();
8905 if(inst.m_peak_VideoWriter_Open)
8906 {
8907 return inst.m_peak_VideoWriter_Open(hVideo, fileName, container, encoder);
8908 }
8909 else
8910 {
8911 throw std::runtime_error("Library not loaded!");
8912 }
8913}
8914
8915inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Close(peak_video_handle hVideo)
8916{
8917 auto& inst = instance();
8918 if(inst.m_peak_VideoWriter_Close)
8919 {
8920 return inst.m_peak_VideoWriter_Close(hVideo);
8921 }
8922 else
8923 {
8924 throw std::runtime_error("Library not loaded!");
8925 }
8926}
8927
8928inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_AddFrame(peak_video_handle hVideo, peak_frame_handle hFrame)
8929{
8930 auto& inst = instance();
8931 if(inst.m_peak_VideoWriter_AddFrame)
8932 {
8933 return inst.m_peak_VideoWriter_AddFrame(hVideo, hFrame);
8934 }
8935 else
8936 {
8937 throw std::runtime_error("Library not loaded!");
8938 }
8939}
8940
8941inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Container_GetEncoderList(peak_video_container container, peak_video_encoder * encoderList, size_t * encoderCount)
8942{
8943 auto& inst = instance();
8944 if(inst.m_peak_VideoWriter_Container_GetEncoderList)
8945 {
8946 return inst.m_peak_VideoWriter_Container_GetEncoderList(container, encoderList, encoderCount);
8947 }
8948 else
8949 {
8950 throw std::runtime_error("Library not loaded!");
8951 }
8952}
8953
8954inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_GetPixelFormatList(peak_video_encoder encoder, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount)
8955{
8956 auto& inst = instance();
8957 if(inst.m_peak_VideoWriter_Encoder_GetPixelFormatList)
8958 {
8959 return inst.m_peak_VideoWriter_Encoder_GetPixelFormatList(encoder, pixelFormatList, pixelFormatCount);
8960 }
8961 else
8962 {
8963 throw std::runtime_error("Library not loaded!");
8964 }
8965}
8966
8967inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_GetContainerList(peak_video_encoder encoder, peak_video_container * containerList, size_t * containerCount)
8968{
8969 auto& inst = instance();
8970 if(inst.m_peak_VideoWriter_Encoder_GetContainerList)
8971 {
8972 return inst.m_peak_VideoWriter_Encoder_GetContainerList(encoder, containerList, containerCount);
8973 }
8974 else
8975 {
8976 throw std::runtime_error("Library not loaded!");
8977 }
8978}
8979
8980inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_GetInfo(peak_video_handle hVideo, peak_video_info * videoInfo)
8981{
8982 auto& inst = instance();
8983 if(inst.m_peak_VideoWriter_GetInfo)
8984 {
8985 return inst.m_peak_VideoWriter_GetInfo(hVideo, videoInfo);
8986 }
8987 else
8988 {
8989 throw std::runtime_error("Library not loaded!");
8990 }
8991}
8992
8993inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Container_Option_Set(peak_video_handle hVideo, peak_video_container_option containerOption, const void * value, size_t count)
8994{
8995 auto& inst = instance();
8996 if(inst.m_peak_VideoWriter_Container_Option_Set)
8997 {
8998 return inst.m_peak_VideoWriter_Container_Option_Set(hVideo, containerOption, value, count);
8999 }
9000 else
9001 {
9002 throw std::runtime_error("Library not loaded!");
9003 }
9004}
9005
9006inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Container_Option_Get(peak_video_handle hVideo, peak_video_container_option containerOption, void * value, size_t count, size_t * outCount)
9007{
9008 auto& inst = instance();
9009 if(inst.m_peak_VideoWriter_Container_Option_Get)
9010 {
9011 return inst.m_peak_VideoWriter_Container_Option_Get(hVideo, containerOption, value, count, outCount);
9012 }
9013 else
9014 {
9015 throw std::runtime_error("Library not loaded!");
9016 }
9017}
9018
9019inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_Option_Set(peak_video_handle hVideo, peak_video_encoder_option encoderOption, const void * value, size_t count)
9020{
9021 auto& inst = instance();
9022 if(inst.m_peak_VideoWriter_Encoder_Option_Set)
9023 {
9024 return inst.m_peak_VideoWriter_Encoder_Option_Set(hVideo, encoderOption, value, count);
9025 }
9026 else
9027 {
9028 throw std::runtime_error("Library not loaded!");
9029 }
9030}
9031
9032inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_Option_Get(peak_video_handle hVideo, peak_video_encoder_option encoderOption, void * value, size_t count, size_t * outCount)
9033{
9034 auto& inst = instance();
9035 if(inst.m_peak_VideoWriter_Encoder_Option_Get)
9036 {
9037 return inst.m_peak_VideoWriter_Encoder_Option_Get(hVideo, encoderOption, value, count, outCount);
9038 }
9039 else
9040 {
9041 throw std::runtime_error("Library not loaded!");
9042 }
9043}
9044
9045inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_WaitUntilQueueEmpty(peak_video_handle hVideo, int32_t timeout_ms)
9046{
9047 auto& inst = instance();
9048 if(inst.m_peak_VideoWriter_WaitUntilQueueEmpty)
9049 {
9050 return inst.m_peak_VideoWriter_WaitUntilQueueEmpty(hVideo, timeout_ms);
9051 }
9052 else
9053 {
9054 throw std::runtime_error("Library not loaded!");
9055 }
9056}
9057
9058inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_Open(const char * path, peak_inference_handle * hInference)
9059{
9060 auto& inst = instance();
9061 if(inst.m_peak_Inference_CNN_Open)
9062 {
9063 return inst.m_peak_Inference_CNN_Open(path, hInference);
9064 }
9065 else
9066 {
9067 throw std::runtime_error("Library not loaded!");
9068 }
9069}
9070
9071inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_Close(peak_inference_handle hInference)
9072{
9073 auto& inst = instance();
9074 if(inst.m_peak_Inference_CNN_Close)
9075 {
9076 return inst.m_peak_Inference_CNN_Close(hInference);
9077 }
9078 else
9079 {
9080 throw std::runtime_error("Library not loaded!");
9081 }
9082}
9083
9084inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_ProcessFrame(peak_inference_handle hInference, peak_frame_handle hFrame, peak_inference_result_handle * hInferenceHandle)
9085{
9086 auto& inst = instance();
9087 if(inst.m_peak_Inference_CNN_ProcessFrame)
9088 {
9089 return inst.m_peak_Inference_CNN_ProcessFrame(hInference, hFrame, hInferenceHandle);
9090 }
9091 else
9092 {
9093 throw std::runtime_error("Library not loaded!");
9094 }
9095}
9096
9097inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_Info_Get(peak_inference_handle hInference, peak_inference_info * info)
9098{
9099 auto& inst = instance();
9100 if(inst.m_peak_Inference_CNN_Info_Get)
9101 {
9102 return inst.m_peak_Inference_CNN_Info_Get(hInference, info);
9103 }
9104 else
9105 {
9106 throw std::runtime_error("Library not loaded!");
9107 }
9108}
9109
9110inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Get(peak_inference_result_handle hInferenceHandle, peak_inference_result_data * result)
9111{
9112 auto& inst = instance();
9113 if(inst.m_peak_Inference_Result_Get)
9114 {
9115 return inst.m_peak_Inference_Result_Get(hInferenceHandle, result);
9116 }
9117 else
9118 {
9119 throw std::runtime_error("Library not loaded!");
9120 }
9121}
9122
9123inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Release(peak_inference_result_handle hInferenceHandle)
9124{
9125 auto& inst = instance();
9126 if(inst.m_peak_Inference_Result_Release)
9127 {
9128 return inst.m_peak_Inference_Result_Release(hInferenceHandle);
9129 }
9130 else
9131 {
9132 throw std::runtime_error("Library not loaded!");
9133 }
9134}
9135
9136inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Classification_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification * resultList, size_t * resultCount)
9137{
9138 auto& inst = instance();
9139 if(inst.m_peak_Inference_Result_Classification_GetList)
9140 {
9141 return inst.m_peak_Inference_Result_Classification_GetList(hInferenceHandle, resultList, resultCount);
9142 }
9143 else
9144 {
9145 throw std::runtime_error("Library not loaded!");
9146 }
9147}
9148
9149inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Detection_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection * resultList, size_t * resultCount)
9150{
9151 auto& inst = instance();
9152 if(inst.m_peak_Inference_Result_Detection_GetList)
9153 {
9154 return inst.m_peak_Inference_Result_Detection_GetList(hInferenceHandle, resultList, resultCount);
9155 }
9156 else
9157 {
9158 throw std::runtime_error("Library not loaded!");
9159 }
9160}
9161
9162inline PEAK_API_STATUS DynamicLoader::peak_Inference_Statistics_Get(peak_inference_handle hInference, peak_inference_statistics * statistics)
9163{
9164 auto& inst = instance();
9165 if(inst.m_peak_Inference_Statistics_Get)
9166 {
9167 return inst.m_peak_Inference_Statistics_Get(hInference, statistics);
9168 }
9169 else
9170 {
9171 throw std::runtime_error("Library not loaded!");
9172 }
9173}
9174
9175inline PEAK_API_STATUS DynamicLoader::peak_Inference_Statistics_Reset(peak_inference_handle hInference)
9176{
9177 auto& inst = instance();
9178 if(inst.m_peak_Inference_Statistics_Reset)
9179 {
9180 return inst.m_peak_Inference_Statistics_Reset(hInference);
9181 }
9182 else
9183 {
9184 throw std::runtime_error("Library not loaded!");
9185 }
9186}
9187
9188inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_Get(peak_inference_handle hInference, uint32_t * threshold)
9189{
9190 auto& inst = instance();
9191 if(inst.m_peak_Inference_ConfidenceThreshold_Get)
9192 {
9193 return inst.m_peak_Inference_ConfidenceThreshold_Get(hInference, threshold);
9194 }
9195 else
9196 {
9197 throw std::runtime_error("Library not loaded!");
9198 }
9199}
9200
9201inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_GetRange(peak_inference_handle hInference, uint32_t * minThreshold, uint32_t * maxThreshold, uint32_t * incThreshold)
9202{
9203 auto& inst = instance();
9204 if(inst.m_peak_Inference_ConfidenceThreshold_GetRange)
9205 {
9206 return inst.m_peak_Inference_ConfidenceThreshold_GetRange(hInference, minThreshold, maxThreshold, incThreshold);
9207 }
9208 else
9209 {
9210 throw std::runtime_error("Library not loaded!");
9211 }
9212}
9213
9214inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_Set(peak_inference_handle hInference, uint32_t threshold)
9215{
9216 auto& inst = instance();
9217 if(inst.m_peak_Inference_ConfidenceThreshold_Set)
9218 {
9219 return inst.m_peak_Inference_ConfidenceThreshold_Set(hInference, threshold);
9220 }
9221 else
9222 {
9223 throw std::runtime_error("Library not loaded!");
9224 }
9225}
9226
9227inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Create(peak_message_queue_handle * hMessageQueue)
9228{
9229 auto& inst = instance();
9230 if(inst.m_peak_MessageQueue_Create)
9231 {
9232 return inst.m_peak_MessageQueue_Create(hMessageQueue);
9233 }
9234 else
9235 {
9236 throw std::runtime_error("Library not loaded!");
9237 }
9238}
9239
9240inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Destroy(peak_message_queue_handle hMessageQueue)
9241{
9242 auto& inst = instance();
9243 if(inst.m_peak_MessageQueue_Destroy)
9244 {
9245 return inst.m_peak_MessageQueue_Destroy(hMessageQueue);
9246 }
9247 else
9248 {
9249 throw std::runtime_error("Library not loaded!");
9250 }
9251}
9252
9253inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_EnableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
9254{
9255 auto& inst = instance();
9256 if(inst.m_peak_MessageQueue_EnableMessage)
9257 {
9258 return inst.m_peak_MessageQueue_EnableMessage(hMessageQueue, hCam, messageType);
9259 }
9260 else
9261 {
9262 throw std::runtime_error("Library not loaded!");
9263 }
9264}
9265
9266inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_DisableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
9267{
9268 auto& inst = instance();
9269 if(inst.m_peak_MessageQueue_DisableMessage)
9270 {
9271 return inst.m_peak_MessageQueue_DisableMessage(hMessageQueue, hCam, messageType);
9272 }
9273 else
9274 {
9275 throw std::runtime_error("Library not loaded!");
9276 }
9277}
9278
9279inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_EnableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize)
9280{
9281 auto& inst = instance();
9282 if(inst.m_peak_MessageQueue_EnableMessageList)
9283 {
9284 return inst.m_peak_MessageQueue_EnableMessageList(hMessageQueue, hCam, messageTypesArray, messageTypesArraySize);
9285 }
9286 else
9287 {
9288 throw std::runtime_error("Library not loaded!");
9289 }
9290}
9291
9292inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_DisableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type * messageTypesArray, size_t messageTypesArraySize)
9293{
9294 auto& inst = instance();
9295 if(inst.m_peak_MessageQueue_DisableMessageList)
9296 {
9297 return inst.m_peak_MessageQueue_DisableMessageList(hMessageQueue, hCam, messageTypesArray, messageTypesArraySize);
9298 }
9299 else
9300 {
9301 throw std::runtime_error("Library not loaded!");
9302 }
9303}
9304
9305inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_EnabledMessages_GetList(peak_message_queue_handle hMessageQueue, peak_message_type * messageTypesArray, size_t * messageTypesArraySize)
9306{
9307 auto& inst = instance();
9308 if(inst.m_peak_MessageQueue_EnabledMessages_GetList)
9309 {
9310 return inst.m_peak_MessageQueue_EnabledMessages_GetList(hMessageQueue, messageTypesArray, messageTypesArraySize);
9311 }
9312 else
9313 {
9314 throw std::runtime_error("Library not loaded!");
9315 }
9316}
9317
9318inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_SetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode queueMode)
9319{
9320 auto& inst = instance();
9321 if(inst.m_peak_MessageQueue_SetMode)
9322 {
9323 return inst.m_peak_MessageQueue_SetMode(hMessageQueue, queueMode);
9324 }
9325 else
9326 {
9327 throw std::runtime_error("Library not loaded!");
9328 }
9329}
9330
9331inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_GetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode * queueMode)
9332{
9333 auto& inst = instance();
9334 if(inst.m_peak_MessageQueue_GetMode)
9335 {
9336 return inst.m_peak_MessageQueue_GetMode(hMessageQueue, queueMode);
9337 }
9338 else
9339 {
9340 throw std::runtime_error("Library not loaded!");
9341 }
9342}
9343
9344inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Start(peak_message_queue_handle hMessageQueue)
9345{
9346 auto& inst = instance();
9347 if(inst.m_peak_MessageQueue_Start)
9348 {
9349 return inst.m_peak_MessageQueue_Start(hMessageQueue);
9350 }
9351 else
9352 {
9353 throw std::runtime_error("Library not loaded!");
9354 }
9355}
9356
9357inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Stop(peak_message_queue_handle hMessageQueue)
9358{
9359 auto& inst = instance();
9360 if(inst.m_peak_MessageQueue_Stop)
9361 {
9362 return inst.m_peak_MessageQueue_Stop(hMessageQueue);
9363 }
9364 else
9365 {
9366 throw std::runtime_error("Library not loaded!");
9367 }
9368}
9369
9370inline PEAK_API_BOOL DynamicLoader::peak_MessageQueue_IsStarted(peak_message_queue_handle hMessageQueue)
9371{
9372 auto& inst = instance();
9373 if(inst.m_peak_MessageQueue_IsStarted)
9374 {
9375 return inst.m_peak_MessageQueue_IsStarted(hMessageQueue);
9376 }
9377 else
9378 {
9379 throw std::runtime_error("Library not loaded!");
9380 }
9381}
9382
9383inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_WaitForMessage(peak_message_queue_handle hMessageQueue, uint32_t timeout_ms, peak_message_handle * hMessage)
9384{
9385 auto& inst = instance();
9386 if(inst.m_peak_MessageQueue_WaitForMessage)
9387 {
9388 return inst.m_peak_MessageQueue_WaitForMessage(hMessageQueue, timeout_ms, hMessage);
9389 }
9390 else
9391 {
9392 throw std::runtime_error("Library not loaded!");
9393 }
9394}
9395
9396inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Flush(peak_message_queue_handle hMessageQueue)
9397{
9398 auto& inst = instance();
9399 if(inst.m_peak_MessageQueue_Flush)
9400 {
9401 return inst.m_peak_MessageQueue_Flush(hMessageQueue);
9402 }
9403 else
9404 {
9405 throw std::runtime_error("Library not loaded!");
9406 }
9407}
9408
9409inline PEAK_API_BOOL DynamicLoader::peak_MessageQueue_IsMessageSupported(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
9410{
9411 auto& inst = instance();
9412 if(inst.m_peak_MessageQueue_IsMessageSupported)
9413 {
9414 return inst.m_peak_MessageQueue_IsMessageSupported(hMessageQueue, hCam, messageType);
9415 }
9416 else
9417 {
9418 throw std::runtime_error("Library not loaded!");
9419 }
9420}
9421
9422inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Statistics_Get(peak_message_queue_handle hMessageQueue, peak_message_queue_statistics_info * messageQueueInfo)
9423{
9424 auto& inst = instance();
9425 if(inst.m_peak_MessageQueue_Statistics_Get)
9426 {
9427 return inst.m_peak_MessageQueue_Statistics_Get(hMessageQueue, messageQueueInfo);
9428 }
9429 else
9430 {
9431 throw std::runtime_error("Library not loaded!");
9432 }
9433}
9434
9435inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_Statistics_Reset(peak_message_queue_handle hMessageQueue)
9436{
9437 auto& inst = instance();
9438 if(inst.m_peak_MessageQueue_Statistics_Reset)
9439 {
9440 return inst.m_peak_MessageQueue_Statistics_Reset(hMessageQueue);
9441 }
9442 else
9443 {
9444 throw std::runtime_error("Library not loaded!");
9445 }
9446}
9447
9448inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_MaxQueueSize_Set(peak_message_queue_handle hMessageQueue, size_t messageQueueMaxSize)
9449{
9450 auto& inst = instance();
9451 if(inst.m_peak_MessageQueue_MaxQueueSize_Set)
9452 {
9453 return inst.m_peak_MessageQueue_MaxQueueSize_Set(hMessageQueue, messageQueueMaxSize);
9454 }
9455 else
9456 {
9457 throw std::runtime_error("Library not loaded!");
9458 }
9459}
9460
9461inline PEAK_API_STATUS DynamicLoader::peak_MessageQueue_MaxQueueSize_Get(peak_message_queue_handle hMessageQueue, size_t * messageQueueMaxSize)
9462{
9463 auto& inst = instance();
9464 if(inst.m_peak_MessageQueue_MaxQueueSize_Get)
9465 {
9466 return inst.m_peak_MessageQueue_MaxQueueSize_Get(hMessageQueue, messageQueueMaxSize);
9467 }
9468 else
9469 {
9470 throw std::runtime_error("Library not loaded!");
9471 }
9472}
9473
9474inline PEAK_API_STATUS DynamicLoader::peak_Message_Release(peak_message_handle hMessage)
9475{
9476 auto& inst = instance();
9477 if(inst.m_peak_Message_Release)
9478 {
9479 return inst.m_peak_Message_Release(hMessage);
9480 }
9481 else
9482 {
9483 throw std::runtime_error("Library not loaded!");
9484 }
9485}
9486
9487inline PEAK_API_STATUS DynamicLoader::peak_Message_GetInfo(peak_message_handle hMessage, peak_message_info * messageInfo)
9488{
9489 auto& inst = instance();
9490 if(inst.m_peak_Message_GetInfo)
9491 {
9492 return inst.m_peak_Message_GetInfo(hMessage, messageInfo);
9493 }
9494 else
9495 {
9496 throw std::runtime_error("Library not loaded!");
9497 }
9498}
9499
9500inline PEAK_API_STATUS DynamicLoader::peak_Message_Type_Get(peak_message_handle hMessage, peak_message_type * messageType)
9501{
9502 auto& inst = instance();
9503 if(inst.m_peak_Message_Type_Get)
9504 {
9505 return inst.m_peak_Message_Type_Get(hMessage, messageType);
9506 }
9507 else
9508 {
9509 throw std::runtime_error("Library not loaded!");
9510 }
9511}
9512
9513inline PEAK_API_STATUS DynamicLoader::peak_Message_CameraHandle_Get(peak_message_handle hMessage, peak_camera_handle * hCam)
9514{
9515 auto& inst = instance();
9516 if(inst.m_peak_Message_CameraHandle_Get)
9517 {
9518 return inst.m_peak_Message_CameraHandle_Get(hMessage, hCam);
9519 }
9520 else
9521 {
9522 throw std::runtime_error("Library not loaded!");
9523 }
9524}
9525
9526inline PEAK_API_STATUS DynamicLoader::peak_Message_ID_Get(peak_message_handle hMessage, uint64_t * messageID)
9527{
9528 auto& inst = instance();
9529 if(inst.m_peak_Message_ID_Get)
9530 {
9531 return inst.m_peak_Message_ID_Get(hMessage, messageID);
9532 }
9533 else
9534 {
9535 throw std::runtime_error("Library not loaded!");
9536 }
9537}
9538
9539inline PEAK_API_STATUS DynamicLoader::peak_Message_HostTimestamp_Get(peak_message_handle hMessage, uint64_t * hostTimestamp_ns)
9540{
9541 auto& inst = instance();
9542 if(inst.m_peak_Message_HostTimestamp_Get)
9543 {
9544 return inst.m_peak_Message_HostTimestamp_Get(hMessage, hostTimestamp_ns);
9545 }
9546 else
9547 {
9548 throw std::runtime_error("Library not loaded!");
9549 }
9550}
9551
9552inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_Type_Get(peak_message_handle hMessage, peak_message_data_type * messageType)
9553{
9554 auto& inst = instance();
9555 if(inst.m_peak_Message_Data_Type_Get)
9556 {
9557 return inst.m_peak_Message_Data_Type_Get(hMessage, messageType);
9558 }
9559 else
9560 {
9561 throw std::runtime_error("Library not loaded!");
9562 }
9563}
9564
9565inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_RemoteDevice_Get(peak_message_handle hMessage, peak_message_data_remote_device * message)
9566{
9567 auto& inst = instance();
9568 if(inst.m_peak_Message_Data_RemoteDevice_Get)
9569 {
9570 return inst.m_peak_Message_Data_RemoteDevice_Get(hMessage, message);
9571 }
9572 else
9573 {
9574 throw std::runtime_error("Library not loaded!");
9575 }
9576}
9577
9578inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_RemoteDeviceError_Get(peak_message_handle hMessage, peak_message_data_remote_device_error * message)
9579{
9580 auto& inst = instance();
9581 if(inst.m_peak_Message_Data_RemoteDeviceError_Get)
9582 {
9583 return inst.m_peak_Message_Data_RemoteDeviceError_Get(hMessage, message);
9584 }
9585 else
9586 {
9587 throw std::runtime_error("Library not loaded!");
9588 }
9589}
9590
9591inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_RemoteDeviceDropped_Get(peak_message_handle hMessage, peak_message_data_remote_device_dropped * message)
9592{
9593 auto& inst = instance();
9594 if(inst.m_peak_Message_Data_RemoteDeviceDropped_Get)
9595 {
9596 return inst.m_peak_Message_Data_RemoteDeviceDropped_Get(hMessage, message);
9597 }
9598 else
9599 {
9600 throw std::runtime_error("Library not loaded!");
9601 }
9602}
9603
9604inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_RemoteDeviceFrame_Get(peak_message_handle hMessage, peak_message_data_remote_device_frame * message)
9605{
9606 auto& inst = instance();
9607 if(inst.m_peak_Message_Data_RemoteDeviceFrame_Get)
9608 {
9609 return inst.m_peak_Message_Data_RemoteDeviceFrame_Get(hMessage, message);
9610 }
9611 else
9612 {
9613 throw std::runtime_error("Library not loaded!");
9614 }
9615}
9616
9617inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_RemoteDeviceTemperature_Get(peak_message_handle hMessage, peak_message_data_remote_device_temperature * message)
9618{
9619 auto& inst = instance();
9620 if(inst.m_peak_Message_Data_RemoteDeviceTemperature_Get)
9621 {
9622 return inst.m_peak_Message_Data_RemoteDeviceTemperature_Get(hMessage, message);
9623 }
9624 else
9625 {
9626 throw std::runtime_error("Library not loaded!");
9627 }
9628}
9629
9630inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_AutoFocusData_Get(peak_message_handle hMessage, peak_message_data_autofocus * message)
9631{
9632 auto& inst = instance();
9633 if(inst.m_peak_Message_Data_AutoFocusData_Get)
9634 {
9635 return inst.m_peak_Message_Data_AutoFocusData_Get(hMessage, message);
9636 }
9637 else
9638 {
9639 throw std::runtime_error("Library not loaded!");
9640 }
9641}
9642
9643inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_DeviceFound_Get(peak_message_handle hMessage, peak_message_data_device_found * message)
9644{
9645 auto& inst = instance();
9646 if(inst.m_peak_Message_Data_DeviceFound_Get)
9647 {
9648 return inst.m_peak_Message_Data_DeviceFound_Get(hMessage, message);
9649 }
9650 else
9651 {
9652 throw std::runtime_error("Library not loaded!");
9653 }
9654}
9655
9656inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_DeviceLost_Get(peak_message_handle hMessage, peak_message_data_device_lost * message)
9657{
9658 auto& inst = instance();
9659 if(inst.m_peak_Message_Data_DeviceLost_Get)
9660 {
9661 return inst.m_peak_Message_Data_DeviceLost_Get(hMessage, message);
9662 }
9663 else
9664 {
9665 throw std::runtime_error("Library not loaded!");
9666 }
9667}
9668
9669inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_DeviceReconnected_Get(peak_message_handle hMessage, peak_message_data_device_reconnected * message)
9670{
9671 auto& inst = instance();
9672 if(inst.m_peak_Message_Data_DeviceReconnected_Get)
9673 {
9674 return inst.m_peak_Message_Data_DeviceReconnected_Get(hMessage, message);
9675 }
9676 else
9677 {
9678 throw std::runtime_error("Library not loaded!");
9679 }
9680}
9681
9682inline PEAK_API_STATUS DynamicLoader::peak_Message_Data_DeviceDisconnected_Get(peak_message_handle hMessage, peak_message_data_device_disconnected * message)
9683{
9684 auto& inst = instance();
9685 if(inst.m_peak_Message_Data_DeviceDisconnected_Get)
9686 {
9687 return inst.m_peak_Message_Data_DeviceDisconnected_Get(hMessage, message);
9688 }
9689 else
9690 {
9691 throw std::runtime_error("Library not loaded!");
9692 }
9693}
9694
9695inline PEAK_API_STATUS DynamicLoader::peak_I2C_Create(peak_camera_handle hCam, peak_i2c_handle * hI2C)
9696{
9697 auto& inst = instance();
9698 if(inst.m_peak_I2C_Create)
9699 {
9700 return inst.m_peak_I2C_Create(hCam, hI2C);
9701 }
9702 else
9703 {
9704 throw std::runtime_error("Library not loaded!");
9705 }
9706}
9707
9708inline PEAK_API_STATUS DynamicLoader::peak_I2C_Destroy(peak_i2c_handle hI2C)
9709{
9710 auto& inst = instance();
9711 if(inst.m_peak_I2C_Destroy)
9712 {
9713 return inst.m_peak_I2C_Destroy(hI2C);
9714 }
9715 else
9716 {
9717 throw std::runtime_error("Library not loaded!");
9718 }
9719}
9720
9721inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_I2C_GetAccessStatus(peak_i2c_handle hI2C)
9722{
9723 auto& inst = instance();
9724 if(inst.m_peak_I2C_GetAccessStatus)
9725 {
9726 return inst.m_peak_I2C_GetAccessStatus(hI2C);
9727 }
9728 else
9729 {
9730 throw std::runtime_error("Library not loaded!");
9731 }
9732}
9733
9734inline PEAK_API_STATUS DynamicLoader::peak_I2C_Mode_GetList(peak_i2c_handle hI2C, peak_i2c_mode * modeList, size_t * modeListSize)
9735{
9736 auto& inst = instance();
9737 if(inst.m_peak_I2C_Mode_GetList)
9738 {
9739 return inst.m_peak_I2C_Mode_GetList(hI2C, modeList, modeListSize);
9740 }
9741 else
9742 {
9743 throw std::runtime_error("Library not loaded!");
9744 }
9745}
9746
9747inline PEAK_API_STATUS DynamicLoader::peak_I2C_Mode_Set(peak_i2c_handle hI2C, peak_i2c_mode mode)
9748{
9749 auto& inst = instance();
9750 if(inst.m_peak_I2C_Mode_Set)
9751 {
9752 return inst.m_peak_I2C_Mode_Set(hI2C, mode);
9753 }
9754 else
9755 {
9756 throw std::runtime_error("Library not loaded!");
9757 }
9758}
9759
9760inline PEAK_API_STATUS DynamicLoader::peak_I2C_Mode_Get(peak_i2c_handle hI2C, peak_i2c_mode * mode)
9761{
9762 auto& inst = instance();
9763 if(inst.m_peak_I2C_Mode_Get)
9764 {
9765 return inst.m_peak_I2C_Mode_Get(hI2C, mode);
9766 }
9767 else
9768 {
9769 throw std::runtime_error("Library not loaded!");
9770 }
9771}
9772
9773inline PEAK_API_STATUS DynamicLoader::peak_I2C_DeviceAddress_GetRange(peak_i2c_handle hI2C, uint32_t * minAddress, uint32_t * maxAddress)
9774{
9775 auto& inst = instance();
9776 if(inst.m_peak_I2C_DeviceAddress_GetRange)
9777 {
9778 return inst.m_peak_I2C_DeviceAddress_GetRange(hI2C, minAddress, maxAddress);
9779 }
9780 else
9781 {
9782 throw std::runtime_error("Library not loaded!");
9783 }
9784}
9785
9786inline PEAK_API_STATUS DynamicLoader::peak_I2C_DeviceAddress_Set(peak_i2c_handle hI2C, uint32_t address)
9787{
9788 auto& inst = instance();
9789 if(inst.m_peak_I2C_DeviceAddress_Set)
9790 {
9791 return inst.m_peak_I2C_DeviceAddress_Set(hI2C, address);
9792 }
9793 else
9794 {
9795 throw std::runtime_error("Library not loaded!");
9796 }
9797}
9798
9799inline PEAK_API_STATUS DynamicLoader::peak_I2C_DeviceAddress_Get(peak_i2c_handle hI2C, uint32_t * address)
9800{
9801 auto& inst = instance();
9802 if(inst.m_peak_I2C_DeviceAddress_Get)
9803 {
9804 return inst.m_peak_I2C_DeviceAddress_Get(hI2C, address);
9805 }
9806 else
9807 {
9808 throw std::runtime_error("Library not loaded!");
9809 }
9810}
9811
9812inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Length_GetList(peak_i2c_handle hI2C, peak_i2c_register_address_length * i2cLengthList, size_t * i2cLengthCount)
9813{
9814 auto& inst = instance();
9815 if(inst.m_peak_I2C_RegisterAddress_Length_GetList)
9816 {
9817 return inst.m_peak_I2C_RegisterAddress_Length_GetList(hI2C, i2cLengthList, i2cLengthCount);
9818 }
9819 else
9820 {
9821 throw std::runtime_error("Library not loaded!");
9822 }
9823}
9824
9825inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Length_Set(peak_i2c_handle hI2C, peak_i2c_register_address_length length)
9826{
9827 auto& inst = instance();
9828 if(inst.m_peak_I2C_RegisterAddress_Length_Set)
9829 {
9830 return inst.m_peak_I2C_RegisterAddress_Length_Set(hI2C, length);
9831 }
9832 else
9833 {
9834 throw std::runtime_error("Library not loaded!");
9835 }
9836}
9837
9838inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Length_Get(peak_i2c_handle hI2C, peak_i2c_register_address_length * length)
9839{
9840 auto& inst = instance();
9841 if(inst.m_peak_I2C_RegisterAddress_Length_Get)
9842 {
9843 return inst.m_peak_I2C_RegisterAddress_Length_Get(hI2C, length);
9844 }
9845 else
9846 {
9847 throw std::runtime_error("Library not loaded!");
9848 }
9849}
9850
9851inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Endianness_Set(peak_i2c_handle hI2C, peak_endianness endianness)
9852{
9853 auto& inst = instance();
9854 if(inst.m_peak_I2C_RegisterAddress_Endianness_Set)
9855 {
9856 return inst.m_peak_I2C_RegisterAddress_Endianness_Set(hI2C, endianness);
9857 }
9858 else
9859 {
9860 throw std::runtime_error("Library not loaded!");
9861 }
9862}
9863
9864inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Endianness_Get(peak_i2c_handle hI2C, peak_endianness * endianness)
9865{
9866 auto& inst = instance();
9867 if(inst.m_peak_I2C_RegisterAddress_Endianness_Get)
9868 {
9869 return inst.m_peak_I2C_RegisterAddress_Endianness_Get(hI2C, endianness);
9870 }
9871 else
9872 {
9873 throw std::runtime_error("Library not loaded!");
9874 }
9875}
9876
9877inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Set(peak_i2c_handle hI2C, uint32_t address)
9878{
9879 auto& inst = instance();
9880 if(inst.m_peak_I2C_RegisterAddress_Set)
9881 {
9882 return inst.m_peak_I2C_RegisterAddress_Set(hI2C, address);
9883 }
9884 else
9885 {
9886 throw std::runtime_error("Library not loaded!");
9887 }
9888}
9889
9890inline PEAK_API_STATUS DynamicLoader::peak_I2C_RegisterAddress_Get(peak_i2c_handle hI2C, uint32_t * address)
9891{
9892 auto& inst = instance();
9893 if(inst.m_peak_I2C_RegisterAddress_Get)
9894 {
9895 return inst.m_peak_I2C_RegisterAddress_Get(hI2C, address);
9896 }
9897 else
9898 {
9899 throw std::runtime_error("Library not loaded!");
9900 }
9901}
9902
9903inline PEAK_API_STATUS DynamicLoader::peak_I2C_AckPolling_Enable(peak_i2c_handle hI2C, peak_bool enabled)
9904{
9905 auto& inst = instance();
9906 if(inst.m_peak_I2C_AckPolling_Enable)
9907 {
9908 return inst.m_peak_I2C_AckPolling_Enable(hI2C, enabled);
9909 }
9910 else
9911 {
9912 throw std::runtime_error("Library not loaded!");
9913 }
9914}
9915
9916inline PEAK_API_BOOL DynamicLoader::peak_I2C_AckPolling_IsEnabled(peak_i2c_handle hI2C)
9917{
9918 auto& inst = instance();
9919 if(inst.m_peak_I2C_AckPolling_IsEnabled)
9920 {
9921 return inst.m_peak_I2C_AckPolling_IsEnabled(hI2C);
9922 }
9923 else
9924 {
9925 throw std::runtime_error("Library not loaded!");
9926 }
9927}
9928
9929inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_I2C_AckPolling_Timeout_GetAccessStatus(peak_i2c_handle hI2C)
9930{
9931 auto& inst = instance();
9932 if(inst.m_peak_I2C_AckPolling_Timeout_GetAccessStatus)
9933 {
9934 return inst.m_peak_I2C_AckPolling_Timeout_GetAccessStatus(hI2C);
9935 }
9936 else
9937 {
9938 throw std::runtime_error("Library not loaded!");
9939 }
9940}
9941
9942inline PEAK_API_STATUS DynamicLoader::peak_I2C_AckPolling_Timeout_GetRange(peak_i2c_handle hI2C, uint32_t * minTimeout_ms, uint32_t * maxTimeout_ms, uint32_t * incTimeout_ms)
9943{
9944 auto& inst = instance();
9945 if(inst.m_peak_I2C_AckPolling_Timeout_GetRange)
9946 {
9947 return inst.m_peak_I2C_AckPolling_Timeout_GetRange(hI2C, minTimeout_ms, maxTimeout_ms, incTimeout_ms);
9948 }
9949 else
9950 {
9951 throw std::runtime_error("Library not loaded!");
9952 }
9953}
9954
9955inline PEAK_API_STATUS DynamicLoader::peak_I2C_AckPolling_Timeout_Set(peak_i2c_handle hI2C, uint32_t timeout_ms)
9956{
9957 auto& inst = instance();
9958 if(inst.m_peak_I2C_AckPolling_Timeout_Set)
9959 {
9960 return inst.m_peak_I2C_AckPolling_Timeout_Set(hI2C, timeout_ms);
9961 }
9962 else
9963 {
9964 throw std::runtime_error("Library not loaded!");
9965 }
9966}
9967
9968inline PEAK_API_STATUS DynamicLoader::peak_I2C_AckPolling_Timeout_Get(peak_i2c_handle hI2C, uint32_t * timeout_ms)
9969{
9970 auto& inst = instance();
9971 if(inst.m_peak_I2C_AckPolling_Timeout_Get)
9972 {
9973 return inst.m_peak_I2C_AckPolling_Timeout_Get(hI2C, timeout_ms);
9974 }
9975 else
9976 {
9977 throw std::runtime_error("Library not loaded!");
9978 }
9979}
9980
9981inline PEAK_API_STATUS DynamicLoader::peak_I2C_Data_Write(peak_i2c_handle hI2C, const uint8_t * data, size_t dataSize)
9982{
9983 auto& inst = instance();
9984 if(inst.m_peak_I2C_Data_Write)
9985 {
9986 return inst.m_peak_I2C_Data_Write(hI2C, data, dataSize);
9987 }
9988 else
9989 {
9990 throw std::runtime_error("Library not loaded!");
9991 }
9992}
9993
9994inline PEAK_API_STATUS DynamicLoader::peak_I2C_Data_Read(peak_i2c_handle hI2C, size_t maxDataSize, uint8_t * data, size_t * dataSize)
9995{
9996 auto& inst = instance();
9997 if(inst.m_peak_I2C_Data_Read)
9998 {
9999 return inst.m_peak_I2C_Data_Read(hI2C, maxDataSize, data, dataSize);
10000 }
10001 else
10002 {
10003 throw std::runtime_error("Library not loaded!");
10004 }
10005}
10006
10007inline PEAK_API_STATUS DynamicLoader::peak_I2C_Data_MaxSize_Get(peak_i2c_handle hI2C, size_t * maxDataSize)
10008{
10009 auto& inst = instance();
10010 if(inst.m_peak_I2C_Data_MaxSize_Get)
10011 {
10012 return inst.m_peak_I2C_Data_MaxSize_Get(hI2C, maxDataSize);
10013 }
10014 else
10015 {
10016 throw std::runtime_error("Library not loaded!");
10017 }
10018}
10019
10020inline PEAK_API_STATUS DynamicLoader::peak_I2C_OperationStatus_Get(peak_i2c_handle hI2C, peak_i2c_operation_status * operationStatus)
10021{
10022 auto& inst = instance();
10023 if(inst.m_peak_I2C_OperationStatus_Get)
10024 {
10025 return inst.m_peak_I2C_OperationStatus_Get(hI2C, operationStatus);
10026 }
10027 else
10028 {
10029 throw std::runtime_error("Library not loaded!");
10030 }
10031}
10032
10033} /* namespace dynamic */
10034} /* namespace peak_comfortC */
peak_status peak_Acquisition_GetInfo(peak_camera_handle hCam, peak_acquisition_info *acquisitionInfo)
Query the acquisition info.
peak_bool peak_Acquisition_IsStarted(peak_camera_handle hCam)
Check whether the acquisition is currently started or not.
peak_status peak_Acquisition_Stop(peak_camera_handle hCam)
Stops an acquisition.
peak_status peak_Acquisition_WaitForFrame(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle *hFrame)
Wait for an acquired frame.
peak_status peak_Acquisition_Start(peak_camera_handle hCam, uint32_t numberOfFrames)
Start an acquisition.
peak_status peak_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
Set the auto brightness target percentile value.
peak_status peak_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t *minAutoBrightnessTargetTolerance, uint32_t *maxAutoBrightnessTargetTolerance, uint32_t *incAutoBrightnessTargetTolerance)
Get the current range of valid auto brightness target tolerance values.
peak_status peak_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t *autoBrightnessTarget)
Get the auto brightness target value.
peak_status peak_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size *minAutoBrightnessROISize, peak_size *maxAutoBrightnessROISize, peak_size *incAutoBrightnessROISize)
Get the current range of valid auto brightness ROI sizes.
peak_status peak_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode)
Set the auto exposure control mode.
peak_access_status peak_AutoBrightness_Exposure_GetAccessStatus(peak_camera_handle hCam)
Query the auto exposure control access status.
peak_access_status peak_AutoBrightness_Gain_GetAccessStatus(peak_camera_handle hCam)
Query the auto gain control access status.
peak_status peak_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double *autoBrightnessTargetPercentile)
Get the auto brightness target percentile value.
peak_access_status peak_AutoBrightness_GetAccessStatus(peak_camera_handle hCam)
Query the auto brightness access status.
peak_status peak_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
Set the auto brightness target tolerance value.
peak_status peak_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the auto gain control mode.
peak_status peak_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
Set the auto brightness ROI.
peak_status peak_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double *minAutoBrightnessTargetPercentile, double *maxAutoBrightnessTargetPercentile, double *incAutoBrightnessTargetPercentile)
Get the current range of valid auto brightness target percentile values.
peak_status peak_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the auto gain control mode.
peak_status peak_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t *autoBrightnessTargetTolerance)
Get the auto brightness target tolerance value.
peak_status peak_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoExposureMode)
Get the auto exposure control mode.
peak_status peak_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode *autoBrightnessROIMode)
Get the auto brightness ROI mode.
peak_status peak_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi *autoBrightnessROI)
Get the auto brightness ROI.
peak_status peak_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
Set the auto brightness target value.
peak_status peak_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t *minAutoBrightnessTarget, uint32_t *maxAutoBrightnessTarget, uint32_t *incAutoBrightnessTarget)
Get the current range of valid auto brightness target values.
peak_status peak_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode)
Set the auto brightness ROI mode.
peak_status peak_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position *minAutoBrightnessROIOffset, peak_position *maxAutoBrightnessROIOffset, peak_position *incAutoBrightnessROIOffset)
Get the current range of valid auto brightness ROI offsets.
peak_status peak_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode *autoWhiteBalanceROIMode)
Get the auto white balance ROI mode.
peak_status peak_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position *minAutoWhiteBalanceROIOffset, peak_position *maxAutoWhiteBalanceROIOffset, peak_position *incAutoWhiteBalanceROIOffset)
Get the current range of valid auto white balance ROI offsets.
peak_access_status peak_AutoWhiteBalance_GetAccessStatus(peak_camera_handle hCam)
Query the auto white balance access status.
peak_status peak_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode)
Set the auto white balance ROI mode.
peak_status peak_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
Set the auto white balance control mode.
peak_status peak_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi *autoWhiteBalanceROI)
Get the auto white balance ROI.
peak_status peak_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
Set the auto white balance ROI.
peak_status peak_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoWhiteBalanceMode)
Get the auto white balance control mode.
peak_status peak_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size *minAutoWhiteBalanceROISize, peak_size *maxAutoWhiteBalanceROISize, peak_size *incAutoWhiteBalanceROISize)
Get the current range of valid auto white balance ROI sizes.
peak_status peak_Binning_Get(peak_camera_handle hCam, uint32_t *binningFactorX, uint32_t *binningFactorY)
Get the binning factors.
peak_status peak_Binning_FactorX_GetList(peak_camera_handle hCam, uint32_t *binningFactorXList, size_t *binningFactorXCount)
Get the list of currently selectable factors for the binning in x direction.
peak_status peak_Binning_FactorY_GetList(peak_camera_handle hCam, uint32_t *binningFactorYList, size_t *binningFactorYCount)
Get the list of currently selectable factors for the binning in y direction.
peak_status peak_Binning_Set(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY)
Set the binning factors.
peak_access_status peak_Binning_GetAccessStatus(peak_camera_handle hCam)
Query the binning access status.
peak_camera_memory_area
peak Camera Memory Area
Definition ids_peak_comfort_c.h:7493
peak_status peak_CameraMemory_Area_Data_Read(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, uint8_t *data, size_t dataSize)
Read from the specified camera memory area.
peak_status peak_CameraMemory_Area_GetList(peak_camera_handle hCam, peak_camera_memory_area *cameraMemoryAreaList, size_t *cameraMemoryAreaCount)
Get the list of currently usable camera memory areas.
peak_status peak_CameraMemory_Area_Size_Get(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t *cameraMemoryAreaSize)
Get the size of a camera memory area.
peak_access_status peak_CameraMemory_Area_GetAccessStatus(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea)
Query the camera memory area access status.
peak_status peak_CameraMemory_Area_Data_Write(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, const uint8_t *data, size_t dataSize)
Write to a camera memory area.
peak_status peak_CameraMemory_Area_Data_Clear(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea)
Clear a camera memory area.
peak_access_status peak_CameraSettings_DiskFile_GetAccessStatus(peak_camera_handle hCam)
Query the disk file settings access status.
peak_status peak_CameraSettings_ParameterSet_Store(peak_camera_handle hCam, peak_parameter_set parameterSet)
Store the current camera configuration in a user-definable parameter set.
peak_parameter_set
peak Parameter set
Definition ids_peak_comfort_c.h:3119
peak_status peak_CameraSettings_ParameterSet_GetList(peak_camera_handle hCam, peak_parameter_set *parameterSetList, size_t *parameterSetCount)
Get the list of currently usable parameter sets.
peak_status peak_CameraSettings_ParameterSet_Startup_Get(peak_camera_handle hCam, peak_parameter_set *parameterSet)
Get the startup parameter set.
peak_status peak_CameraSettings_DiskFile_Store(peak_camera_handle hCam, const char *file)
Store the current camera configuration to a disk file.
peak_status peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char *file)
Apply the camera configuration from the specified disk file.
peak_access_status peak_CameraSettings_ParameterSet_GetAccessStatus(peak_camera_handle hCam, peak_parameter_set parameterSet)
Query the parameter set access status.
peak_access_status peak_CameraSettings_ParameterSet_Startup_GetAccessStatus(peak_camera_handle hCam)
Query the startup parameter set access status.
peak_status peak_CameraSettings_ParameterSet_Apply(peak_camera_handle hCam, peak_parameter_set parameterSet)
Apply the specified parameter set.
peak_status peak_CameraSettings_ParameterSet_Startup_Set(peak_camera_handle hCam, peak_parameter_set parameterSet)
Set the startup parameter set.
uint64_t peak_camera_id
peak Camera ID
Definition ids_peak_comfort_c.h:1343
peak_status peak_CameraList_Update(size_t *cameraCount)
Update the camera list.
struct peak_camera * peak_camera_handle
peak Camera handle
Definition ids_peak_comfort_c.h:1328
peak_camera_id peak_Camera_ID_FromSerialNumber(const char *serialNumber)
Query the camera id by the serial number.
peak_bool peak_Camera_IsConnected(peak_camera_handle hCam)
Get the connected status of the camera.
peak_status peak_Camera_Open(peak_camera_id cameraID, peak_camera_handle *hCam)
Open the camera by the Camera id.
peak_camera_id peak_Camera_ID_FromUserDefinedName(const char *userDefinedName)
Query the camera id by the user defined name.
peak_status peak_Camera_Reboot(peak_camera_handle hCam)
Reboot the camera.
peak_status peak_Camera_UserDefinedName_Get(peak_camera_handle hCam, char *userDefinedName, size_t *userDefinedNameSize)
Get the user defined name.
peak_status peak_Camera_GetDescriptor(peak_camera_id cameraID, peak_camera_descriptor *cameraDescriptor)
Query the camera descriptor.
peak_status peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char *userDefinedName)
Set the user defined name.
peak_status peak_Camera_ResetToDefaultSettings(peak_camera_handle hCam)
Reset the camera configuration.
peak_status peak_CameraList_Get(peak_camera_descriptor *cameraList, size_t *cameraCount)
Query the current camera list.
peak_status peak_Camera_Close(peak_camera_handle hCam)
Close the camera.
peak_access_status peak_Camera_GetAccessStatus(peak_camera_id cameraID)
Query the camera access status.
peak_status peak_Camera_OpenFirstAvailable(peak_camera_handle *hCam)
Open the first available camera.
peak_camera_id peak_Camera_ID_FromHandle(peak_camera_handle hCam)
Query the camera id by the camera handle.
peak_camera_id peak_Camera_ID_FromMAC(peak_mac_address macAddress)
Query the camera id by the mac address.
peak_status peak_ColorCorrection_Mode_Get(peak_camera_handle hCam, peak_color_correction_mode *colorCorrectionMode)
Get the color correction mode.
peak_access_status peak_ColorCorrection_Matrix_GetAccessStatus(peak_camera_handle hCam)
Query the color correction matrix access status.
peak_status peak_ColorCorrection_Matrix_GetRange(peak_camera_handle hCam, double *minMatrixElementValue, double *maxMatrixElementValue, double *incMatrixElementValue)
Get the current range of valid color correction matrix element values.
peak_status peak_ColorCorrection_Mode_Set(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode)
Set the color correction mode.
peak_bool peak_ColorCorrection_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the color correction.
peak_access_status peak_ColorCorrection_GetAccessStatus(peak_camera_handle hCam)
Query the color correction access status.
peak_status peak_ColorCorrection_Mode_GetList(peak_camera_handle hCam, peak_color_correction_mode *colorCorrectionModeList, size_t *colorCorrectionModeCount)
Get the list of currently selectable color correction modes.
peak_status peak_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
Sets the color correction matrix for the current selected color correction.
peak_status peak_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the color correction.
peak_color_correction_mode
peak Color correction mode
Definition ids_peak_comfort_c.h:5886
peak_status peak_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix *colorCorrectionMatrix)
Get the color correction matrix.
peak_status peak_Decimation_Get(peak_camera_handle hCam, uint32_t *decimationFactorX, uint32_t *decimationFactorY)
Get the decimation factors.
peak_status peak_Decimation_FactorX_GetList(peak_camera_handle hCam, uint32_t *decimationFactorXList, size_t *decimationFactorXCount)
Get the list of currently selectable factors for the decimation in x direction.
peak_status peak_Decimation_Set(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY)
Set the decimation factors.
peak_status peak_Decimation_FactorY_GetList(peak_camera_handle hCam, uint32_t *decimationFactorYList, size_t *decimationFactorYCount)
Get the list of currently selectable factors for the decimation in y direction.
peak_access_status peak_EthernetConfig_PersistentIP_GetAccessStatus(peak_camera_id cameraID)
Query the persistent ip access status.
peak_bool peak_EthernetConfig_DHCP_IsEnabled(peak_camera_id cameraID)
Get the enabled status of dhcp.
peak_status peak_EthernetConfig_GetInfo(peak_camera_id cameraID, peak_ethernet_info *ethernetInfo)
Query the ethernet information.
peak_status peak_EthernetConfig_DHCP_Enable(peak_camera_id cameraID, peak_bool enabled)
Enable/Disable dhcp.
peak_access_status peak_EthernetConfig_DHCP_GetAccessStatus(peak_camera_id cameraID)
Query the dhcp access status.
peak_status peak_EthernetConfig_PersistentIP_Get(peak_camera_id cameraID, peak_ip_config *persistentIP)
Get the persistent ip.
peak_status peak_EthernetConfig_PersistentIP_Set(peak_camera_id cameraID, peak_ip_config persistentIP)
Set the persistent ip.
peak_access_status peak_EthernetConfig_GetAccessStatus(peak_camera_id cameraID)
Query the ethernet configuration access status.
peak_status peak_ExposureTime_GetRange(peak_camera_handle hCam, double *minExposureTime_us, double *maxExposureTime_us, double *incExposureTime_us)
Get the current range of valid exposure time values.
peak_status peak_ExposureTime_Set(peak_camera_handle hCam, double exposureTime_us)
Set the exposure time.
peak_access_status peak_ExposureTime_GetAccessStatus(peak_camera_handle hCam)
Query the exposure time access status.
peak_status peak_ExposureTime_Get(peak_camera_handle hCam, double *exposureTime_us)
Get the exposure time.
peak_access_status peak_Flash_Duration_GetAccessStatus(peak_camera_handle hCam)
Query the flash duration property access status.
peak_status peak_Flash_Duration_GetRange(peak_camera_handle hCam, double *minFlashDuration_us, double *maxFlashDuration_us, double *incFlashDuration_us)
Get the current range of valid flash duration values.
peak_status peak_Flash_Duration_Set(peak_camera_handle hCam, double flashDuration_us)
Set the flash duration.
peak_status peak_Flash_Duration_Get(peak_camera_handle hCam, double *flashDuration_us)
Get the flash duration.
peak_status peak_Flash_EndDelay_Set(peak_camera_handle hCam, double flashEndDelay_us)
Set the flash end delay.
peak_status peak_Flash_EndDelay_Get(peak_camera_handle hCam, double *flashEndDelay_us)
Get the flash end delay.
peak_status peak_Flash_EndDelay_GetRange(peak_camera_handle hCam, double *minFlashEndDelay_us, double *maxFlashEndDelay_us, double *incFlashEndDelay_us)
Get the current range of valid flash end delay values.
peak_access_status peak_Flash_EndDelay_GetAccessStatus(peak_camera_handle hCam)
Query the flash end delay property access status.
peak_status peak_Flash_StartDelay_Get(peak_camera_handle hCam, double *flashStartDelay_us)
Get the flash start delay.
peak_access_status peak_Flash_StartDelay_GetAccessStatus(peak_camera_handle hCam)
Query the flash start delay property access status.
peak_status peak_Flash_StartDelay_Set(peak_camera_handle hCam, double flashStartDelay_us)
Set the flash start delay.
peak_status peak_Flash_StartDelay_GetRange(peak_camera_handle hCam, double *minFlashStartDelay_us, double *maxFlashStartDelay_us, double *incFlashStartDelay_us)
Get the current range of valid flash start delay values.
peak_status peak_Flash_Mode_Get(peak_camera_handle hCam, peak_flash_mode *flashMode)
Get the flash mode.
peak_access_status peak_Flash_Mode_GetAccessStatus(peak_camera_handle hCam, peak_flash_mode flashMode)
Query the flash mode access status.
peak_status peak_Flash_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the flash.
peak_status peak_Flash_Mode_Set(peak_camera_handle hCam, peak_flash_mode flashMode)
Set the flash mode.
peak_access_status peak_Flash_GetAccessStatus(peak_camera_handle hCam)
Query the flash feature access status.
peak_bool peak_Flash_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the flash.
peak_status peak_Focus_GetRange(peak_camera_handle hCam, uint32_t *minFocus, uint32_t *maxFocus, uint32_t *incFocus)
Get the current range of valid focus values.
peak_access_status peak_Focus_GetAccessStatus(peak_camera_handle hCam)
Query the focus access status.
peak_status peak_Focus_Set(peak_camera_handle hCam, uint32_t focus)
Set the focus value.
peak_status peak_Focus_Get(peak_camera_handle hCam, uint32_t *focus)
Get the focus value.
peak_status peak_Frame_ID_Get(peak_frame_handle hFrame, uint64_t *frameID)
Query the frame id of a frame.
peak_status peak_Frame_Timestamp_Get(peak_frame_handle hFrame, uint64_t *timestamp_ns)
Query the timestamp of a frame.
peak_status peak_Frame_BytesWritten_Get(peak_frame_handle hFrame, size_t *bytesWritten)
Query the bytes written to the buffer of a frame.
peak_status peak_Frame_ROI_Get(peak_frame_handle hFrame, peak_roi *roi)
Query the size parameters of a frame.
peak_frame_type
peak Frame type
Definition ids_peak_comfort_c.h:2832
peak_status peak_Frame_ProcessingTime_Get(peak_frame_handle hFrame, uint32_t *processingTime_ms)
Query the processing time of a frame.
peak_status peak_Frame_Type_Get(peak_frame_handle hFrame, peak_frame_type *frameType)
Query the type of a frame.
peak_bool peak_Frame_IsComplete(peak_frame_handle hFrame)
Check whether the frame is complete.
peak_status peak_Frame_GetInfo(peak_frame_handle hFrame, peak_frame_info *frameInfo)
Query the frame info.
peak_status peak_Frame_Buffer_Get(peak_frame_handle hFrame, peak_buffer *buffer)
Query the buffer of a frame.
peak_status peak_Frame_PixelFormat_Get(peak_frame_handle hFrame, peak_pixel_format *pixelFormat)
Query the pixel format of a frame.
peak_status peak_Frame_BytesExpected_Get(peak_frame_handle hFrame, size_t *bytesExpected)
Query the bytes expected for a complete image.
peak_status peak_Frame_Release(peak_camera_handle hCam, peak_frame_handle hFrame)
Release a frame.
struct peak_frame * peak_frame_handle
peak Frame handle
Definition ids_peak_comfort_c.h:2235
peak_status peak_FrameRate_Get(peak_camera_handle hCam, double *frameRate_fps)
Get the frame rate.
peak_status peak_FrameRate_Set(peak_camera_handle hCam, double frameRate_fps)
Set the frame rate.
peak_status peak_FrameRate_GetRange(peak_camera_handle hCam, double *minFrameRate_fps, double *maxFrameRate_fps, double *incFrameRate_fps)
Get the current range of valid frame rate values.
peak_access_status peak_FrameRate_GetAccessStatus(peak_camera_handle hCam)
Query the frame rate access status.
peak_status peak_Gain_Get(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double *gain)
Get the gain value for the specified gain type and gain channel.
peak_access_status peak_Gain_GetAccessStatus(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel)
Query the gain access status for the specified gain type and gain channel.
peak_gain_type
peak Gain type
Definition ids_peak_comfort_c.h:5598
peak_gain_channel
peak Gain channel
Definition ids_peak_comfort_c.h:5623
peak_status peak_Gain_GetChannelList(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel *gainChannelList, size_t *gainChannelCount)
Get the list of available gain channels for the given gain type.
peak_status peak_Gain_GetRange(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double *minGain, double *maxGain, double *incGain)
Get the current range of valid gain values for the specified gain type and gain channel.
peak_status peak_Gain_Set(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain)
Set the gain for the specified gain type and gain channel.
peak_access_status peak_Gamma_GetAccessStatus(peak_camera_handle hCam)
Query the gamma access status.
peak_status peak_Gamma_Get(peak_camera_handle hCam, double *gamma)
Get the gamma value.
peak_status peak_Gamma_GetRange(peak_camera_handle hCam, double *minGamma, double *maxGamma, double *incGamma)
Get the current range of valid gamma values.
peak_status peak_Gamma_Set(peak_camera_handle hCam, double gamma)
Set the gamma value.
peak_auto_feature_roi_mode
peak Auto feature ROI mode
Definition ids_peak_comfort_c.h:6212
peak_auto_feature_brightness_algorithm
peak Auto feature brightness algorithm
Definition ids_peak_comfort_c.h:6184
peak_auto_feature_mode
peak Auto feature mode
Definition ids_peak_comfort_c.h:6148
peak_status peak_GFA_Boolean_Set(peak_camera_handle hCam, peak_gfa_module module, const char *booleanFeatureName, peak_bool booleanValue)
Set the boolean feature with the given name.
peak_status peak_GFA_Boolean_Get(peak_camera_handle hCam, peak_gfa_module module, const char *booleanFeatureName, peak_bool *booleanValue)
Get the boolean feature with the given name.
peak_status peak_GFA_Command_WaitForDone(peak_camera_handle hCam, peak_gfa_module module, const char *commandFeatureName, uint32_t timeout_ms)
Wait for the execution of the command feature with the given name to be done.
peak_status peak_GFA_Command_Execute(peak_camera_handle hCam, peak_gfa_module module, const char *commandFeatureName)
Execute the command feature with the given name.
peak_status peak_GFA_Data_Write(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, const uint8_t *data, size_t dataSize)
Write data to the specified register address.
peak_status peak_GFA_Data_Read(peak_camera_handle hCam, peak_gfa_module module, uint64_t address, uint8_t *data, size_t dataSize)
Read data from the specified register address.
peak_access_status peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, const char *enumerationEntrySymbolicValue)
Query the access status of the enumeration entry by its symbolic value.
peak_access_status peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, int64_t enumerationEntryIntegerValue)
Query the access status of the enumeration entry by its integer value.
peak_access_status peak_GFA_EnumerationEntry_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, const peak_gfa_enumeration_entry *enumerationEntry)
Query the access status of the enumeration entry.
peak_status peak_GFA_Enumeration_GetList(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, peak_gfa_enumeration_entry *enumerationEntryList, size_t *enumerationEntryCount)
Get the list of currently selectable enumeration entries.
peak_status peak_GFA_Enumeration_SetBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, const char *enumerationEntrySymbolicValue)
Set the enumeration feature with the given name by the entries symbolic value.
peak_status peak_GFA_Enumeration_SetByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, int64_t enumerationEntryIntegerValue)
Set the enumeration feature with the given name by the entries integer value.
peak_status peak_GFA_Enumeration_Set(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, const peak_gfa_enumeration_entry *enumerationEntry)
Set the enumeration feature with the given name.
peak_status peak_GFA_Enumeration_Get(peak_camera_handle hCam, peak_gfa_module module, const char *enumerationFeatureName, peak_gfa_enumeration_entry *enumerationEntry)
Get the enumeration feature with the given name.
peak_status peak_GFA_Float_GetList(peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *floatList, size_t *floatCount)
Get the list of currently selectable values for the float feature with the given name.
peak_status peak_GFA_Float_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *minFloatValue, double *maxFloatValue, double *incFloatValue)
Get the current range of valid values for the float feature with the given name.
peak_status peak_GFA_Float_Set(peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double floatValue)
Set the float feature with the given name.
peak_status peak_GFA_Float_Get(peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName, double *floatValue)
Get the float feature with the given name.
peak_bool peak_GFA_Float_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char *floatFeatureName)
Check whether the valid values for the float feature with the given name are organized as a range.
peak_status peak_GFA_Integer_GetRange(peak_camera_handle hCam, peak_gfa_module module, const char *integerFeatureName, int64_t *minIntegerValue, int64_t *maxIntegerValue, int64_t *incIntegerValue)
Get the current range of valid values for the integer feature with the given name.
peak_status peak_GFA_Integer_GetList(peak_camera_handle hCam, peak_gfa_module module, const char *integerFeatureName, int64_t *integerList, size_t *integerCount)
Get the list of currently selectable values for the integer feature with the given name.
peak_bool peak_GFA_Integer_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char *integerFeatureName)
Check whether the valid values for the integer feature with the given name are organized as a range.
peak_status peak_GFA_Integer_Set(peak_camera_handle hCam, peak_gfa_module module, const char *integerFeatureName, int64_t integerValue)
Set the integer feature with the given name.
peak_status peak_GFA_Integer_Get(peak_camera_handle hCam, peak_gfa_module module, const char *integerFeatureName, int64_t *integerValue)
Get the integer feature with the given name.
peak_status peak_GFA_Register_Set(peak_camera_handle hCam, peak_gfa_module module, const char *registerFeatureName, const uint8_t *registerValue, size_t registerValueSize)
Set the register feature with the given name.
peak_status peak_GFA_Register_Get(peak_camera_handle hCam, peak_gfa_module module, const char *registerFeatureName, uint8_t *registerValue, size_t *registerValueSize)
Get the register feature with the given name.
peak_status peak_GFA_String_Set(peak_camera_handle hCam, peak_gfa_module module, const char *stringFeatureName, const char *stringValue)
Set the string feature with the given name.
peak_status peak_GFA_String_Get(peak_camera_handle hCam, peak_gfa_module module, const char *stringFeatureName, char *stringValue, size_t *stringValueSize)
Get the string feature with the given name.
peak_access_status peak_GFA_Feature_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char *featureName)
Query the access status of the feature with the given name.
peak_gfa_module
peak GFA modules
Definition ids_peak_comfort_c.h:7765
peak_bool peak_GFA_IsWriteAccessEnabled(peak_camera_handle hCam)
Get the enabled status of the GFA write access.
peak_status peak_GFA_EnableWriteAccess(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the GFA write access.
peak_status peak_IPL_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
Set the host auto brightness target value.
peak_status peak_IPL_AutoBrightness_Algorithm_Set(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm algorithm)
Set the host auto brightness control algorithm.
peak_status peak_IPL_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t *minAutoBrightnessTarget, uint32_t *maxAutoBrightnessTarget, uint32_t *incAutoBrightnessTarget)
Get the current range of valid host auto brightness target values.
peak_status peak_IPL_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
Set the host auto brightness target percentile value.
peak_status peak_IPL_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t *minAutoBrightnessTargetTolerance, uint32_t *maxAutoBrightnessTargetTolerance, uint32_t *incAutoBrightnessTargetTolerance)
Get the current range of valid host auto brightness target tolerance values.
peak_status peak_IPL_AutoBrightness_AverageLast_Get(peak_camera_handle hCam, uint32_t *lastAverage)
Get the last calculated brightness average value.
peak_status peak_IPL_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position *minAutoBrightnessROIOffset, peak_position *maxAutoBrightnessROIOffset, peak_position *incAutoBrightnessROIOffset)
Get the current range of valid host auto brightness ROI offsets.
peak_status peak_IPL_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode *autoBrightnessROIMode)
Get the host auto brightness ROI mode.
peak_status peak_IPL_AutoBrightness_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames)
Set the skip frames for the auto brightness controller.
peak_status peak_IPL_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t *autoBrightnessTargetTolerance)
Get the host auto brightness target tolerance value.
peak_status peak_IPL_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode)
Set the host auto brightness ROI mode.
peak_status peak_IPL_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
Set the host auto brightness target tolerance value.
peak_status peak_IPL_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi *autoBrightnessROI)
Get the host auto brightness ROI.
peak_status peak_IPL_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double *autoBrightnessTargetPercentile)
Get the host auto brightness target percentile value.
peak_status peak_IPL_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t *autoBrightnessTarget)
Get the host auto brightness target value.
peak_status peak_IPL_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double *minAutoBrightnessTargetPercentile, double *maxAutoBrightnessTargetPercentile, double *incAutoBrightnessTargetPercentile)
Get the current range of valid host auto brightness target percentile values.
peak_status peak_IPL_AutoBrightness_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t *skipFramesMin, uint32_t *skipFramesMax, uint32_t *skipFramesInc)
Get the skip frames range for the auto brightness controller.
peak_status peak_IPL_AutoBrightness_Algorithm_Get(peak_camera_handle hCam, peak_auto_feature_brightness_algorithm *algorithm)
Get the host auto brightness control algorithm.
peak_status peak_IPL_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
Set the host auto brightness ROI.
peak_status peak_IPL_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size *minAutoBrightnessROISize, peak_size *maxAutoBrightnessROISize, peak_size *incAutoBrightnessROISize)
Get the current range of valid host auto brightness ROI sizes.
peak_status peak_IPL_AutoBrightness_SkipFrames_Get(peak_camera_handle hCam, uint32_t *skipFrames)
Get the skip frames for the auto brightness controller.
peak_status peak_IPL_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoExposureMode)
Get the host auto exposure control mode.
peak_status peak_IPL_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode)
Set the host auto exposure control mode.
peak_status peak_IPL_AutoBrightness_ExposureLimit_Set(peak_camera_handle hCam, peak_double_limit exposureLimit)
Set the host auto exposure limit.
peak_status peak_IPL_AutoBrightness_ExposureLimit_Get(peak_camera_handle hCam, peak_double_limit *exposureLimit)
Get the host auto exposure limit.
peak_status peak_IPL_AutoFocus_Hysteresis_GetRange(peak_camera_handle hCam, uint8_t *minHysteresis, uint8_t *maxHysteresis, uint8_t *incHysteresis)
Get the current range of valid auto focus hysteresis values.
peak_status peak_IPL_AutoFocus_SharpnessAlgorithm_Get(peak_camera_handle hCam, peak_sharpness_algorithm *sharpnessAlgorithm)
Get the focus sharpness algorithm.
peak_status peak_IPL_AutoFocus_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoFocusMode)
Get the host auto focus control mode.
peak_status peak_IPL_AutoFocus_SharpnessAlgorithm_Set(peak_camera_handle hCam, peak_sharpness_algorithm sharpnessAlgorithm)
Set the host auto focus sharpness algorithm.
peak_access_status peak_IPL_AutoFocus_GetAccessStatus(peak_camera_handle hCam)
Query the auto focus access status.
peak_status peak_IPL_AutoFocus_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoFocusMode)
Set the host auto focus control mode.
peak_status peak_IPL_AutoFocus_Hysteresis_Set(peak_camera_handle hCam, uint8_t hysteresis)
Set the host auto focus hysteresis.
peak_status peak_IPL_AutoFocus_Hysteresis_Get(peak_camera_handle hCam, uint8_t *hysteresis)
Get the host auto focus hysteresis.
peak_status peak_IPL_AutoFocus_ROI_Set(peak_camera_handle hCam, const peak_focus_roi *autoFocusROIList, size_t autoFocusROICount)
Set the list of host auto focus regions of interest.
peak_status peak_IPL_AutoFocus_SearchAlgorithm_Get(peak_camera_handle hCam, peak_auto_focus_search_algorithm *searchAlgorithm)
Get the host auto focus search algorithm.
peak_status peak_IPL_AutoFocus_Range_Set(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd)
Set the host auto focus range.
peak_status peak_IPL_AutoFocus_ROI_Get(peak_camera_handle hCam, peak_focus_roi *autoFocusROIList, size_t *autoFocusROICount)
Get the list of host auto focus regions of interest.
peak_auto_focus_search_algorithm
The peak focus search algorithm.
Definition ids_peak_comfort_c.h:10420
peak_sharpness_algorithm
The peak sharpness measurement algorithm.
Definition ids_peak_comfort_c.h:10503
peak_status peak_IPL_AutoFocus_Range_Get(peak_camera_handle hCam, uint32_t *rangeBegin, uint32_t *rangeEnd)
Get the host auto focus range.
peak_status peak_IPL_AutoFocus_SearchAlgorithm_Set(peak_camera_handle hCam, peak_auto_focus_search_algorithm searchAlgorithm)
Set the host auto focus search algorithm.
peak_status peak_IPL_AutoBrightness_GainAnalog_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_GainAnalogLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
Set the host auto gain analog limit.
peak_status peak_IPL_AutoBrightness_GainAnalog_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_GainAnalogLimit_Get(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain analog limit.
peak_status peak_IPL_AutoBrightness_GainAnalogLimit_GetRange(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain analog limit range.
peak_status peak_IPL_AutoBrightness_GainLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
Set the host auto gain limit.
peak_status peak_IPL_AutoBrightness_GainLimit_GetRange(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain limit range.
peak_status peak_IPL_AutoBrightness_GainLimit_Get(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain limit.
peak_status peak_IPL_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_GainCombinedLimit_Get(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host gain combined limit.
peak_status peak_IPL_AutoBrightness_GainCombined_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the host combined gain control mode.
peak_status peak_IPL_AutoBrightness_GainCombined_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the combined gain control mode.
peak_status peak_IPL_AutoBrightness_GainCombinedLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
Set the host auto gain combined limit.
peak_status peak_IPL_AutoBrightness_GainCombinedLimit_GetRange(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain combined limit range.
peak_status peak_IPL_AutoBrightness_GainDigitalLimit_Get(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain digital limit.
peak_status peak_IPL_AutoBrightness_GainDigitalLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
Set the host auto gain digital limit.
peak_status peak_IPL_AutoBrightness_GainDigital_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_GainDigitalLimit_GetRange(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the host auto gain digital limit range.
peak_status peak_IPL_AutoBrightness_GainDigital_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the host auto gain control mode.
peak_status peak_IPL_AutoBrightness_GainHost_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode)
Set the host gain control mode.
peak_status peak_IPL_AutoBrightness_GainHostLimit_GetRange(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the auto host gain limit range.
peak_status peak_IPL_AutoBrightness_GainHost_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the host gain control mode.
peak_status peak_IPL_AutoBrightness_GainHostLimit_Set(peak_camera_handle hCam, peak_double_limit gainLimit)
Set the host auto gain limit.
peak_status peak_IPL_AutoBrightness_GainHostLimit_Get(peak_camera_handle hCam, peak_double_limit *gainLimit)
Get the auto host gain limit.
peak_status peak_IPL_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi *autoWhiteBalanceROI)
Get the host auto white balance ROI.
peak_status peak_IPL_AutoWhiteBalance_SkipFrames_GetRange(peak_camera_handle hCam, uint32_t *skipFramesMin, uint32_t *skipFramesMax, uint32_t *skipFramesInc)
Get the skip frames range for the auto white balance controller.
peak_status peak_IPL_AutoWhiteBalance_SkipFrames_Get(peak_camera_handle hCam, uint32_t *skipFrames)
Get the skip frames for the auto white balance controller.
peak_status peak_IPL_AutoWhiteBalance_SkipFrames_Set(peak_camera_handle hCam, uint32_t skipFrames)
Set the skip frames for the auto white balance controller.
peak_status peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size *minAutoWhiteBalanceROISize, peak_size *maxAutoWhiteBalanceROISize, peak_size *incAutoWhiteBalanceROISize)
Get the current range of valid host auto white balance ROI sizes.
peak_status peak_IPL_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoWhiteBalanceMode)
Get the host auto white balance control mode.
peak_status peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position *minAutoWhiteBalanceROIOffset, peak_position *maxAutoWhiteBalanceROIOffset, peak_position *incAutoWhiteBalanceROIOffset)
Get the current range of valid host auto white balance ROI offsets.
peak_status peak_IPL_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode *autoWhiteBalanceROIMode)
Get the host auto white balance ROI mode.
peak_status peak_IPL_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
Set the host auto white balance ROI.
peak_status peak_IPL_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
Set the host auto white balance control mode.
peak_status peak_IPL_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode)
Set the host auto white balance ROI mode.
peak_bool peak_IPL_ColorCorrection_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the host color correction.
peak_status peak_IPL_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix *colorCorrectionMatrix)
Get the host color correction matrix.
peak_status peak_IPL_ColorCorrection_Saturation_Get(peak_camera_handle hCam, double *saturation)
Get the saturation value.
peak_status peak_IPL_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
Sets the cost color correction matrix.
peak_status peak_IPL_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the host color correction.
peak_status peak_IPL_ColorCorrection_Saturation_GetRange(peak_camera_handle hCam, double *minSaturation, double *maxSaturation, double *incSaturation)
Get the current range of valid saturation values.
peak_status peak_IPL_ColorCorrection_Saturation_Set(peak_camera_handle hCam, double saturation)
Sets the saturation value.
peak_status peak_IPL_EdgeEnhancement_Factor_Get(peak_camera_handle hCam, uint32_t *factor)
Get the currently set host edge enhancement factor.
peak_status peak_IPL_EdgeEnhancement_Factor_Set(peak_camera_handle hCam, uint32_t factor)
Set the host edge enhancement factor.
peak_status peak_IPL_EdgeEnhancement_Factor_GetDefault(peak_camera_handle hCam, uint32_t *defaultFactor)
Get the default host edge enhancement factor.
peak_bool peak_IPL_EdgeEnhancement_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the edge enhancement feature.
peak_status peak_IPL_EdgeEnhancement_Factor_GetRange(peak_camera_handle hCam, uint32_t *minFactor, uint32_t *maxFactor, uint32_t *incFactor)
Get the range for the host edge enhancement factor.
peak_status peak_IPL_EdgeEnhancement_Enable(peak_camera_handle hCam, peak_bool enable)
Enable/Disable the host edge enhancement.
peak_status peak_IPL_ProcessFrame(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle *hResultFrame)
Process a frame with the host image processing pipeline and store the result in a new frame.
peak_status peak_IPL_ProcessFrameInplace(peak_camera_handle hCam, peak_frame_handle hFrame)
Process a frame with the host image processing pipeline and replace the original frame.
peak_status peak_IPL_Gain_GetRange(peak_camera_handle hCam, peak_gain_channel gainChannel, double *minGain, double *maxGain, double *incGain)
Get the current range of valid host gain values for the specified gain channel.
peak_status peak_IPL_Gain_Set(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain)
Set the host gain for the specified gain channel.
peak_status peak_IPL_Gain_Get(peak_camera_handle hCam, peak_gain_channel gainChannel, double *gain)
Get the host gain value for the specified gain channel.
peak_status peak_IPL_Gamma_GetRange(peak_camera_handle hCam, double *minGamma, double *maxGamma, double *incGamma)
Get the current range of valid host gamma values.
peak_status peak_IPL_Gamma_Set(peak_camera_handle hCam, double gamma)
Set the host gamma value.
peak_status peak_IPL_Gamma_Get(peak_camera_handle hCam, double *gamma)
Get the host gamma value.
peak_status peak_IPL_HotpixelCorrection_Sensitivity_Set(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity)
Set the host hotpixel correction sensitivity level.
peak_status peak_IPL_HotpixelCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the host hotpixel correction.
peak_status peak_IPL_HotpixelCorrection_GetList(peak_camera_handle hCam, peak_position *hotpixelList, size_t *hotpixelCount)
Get the list of detected host hotpixel correction positions/pixels.
peak_hotpixel_correction_sensitivity
peak hotpixel correction sensitivity level
Definition ids_peak_comfort_c.h:10691
peak_status peak_IPL_HotpixelCorrection_Sensitivity_Get(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity *hotpixelCorrectionSensitivity)
Get the host hotpixel correction sensitivity level.
peak_bool peak_IPL_HotpixelCorrection_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the host hotpixel correction.
peak_status peak_IPL_HotpixelCorrection_ResetList(peak_camera_handle hCam)
Reset the list of host hotpixel positions.
peak_status peak_IPL_HotpixelCorrection_SetList(peak_camera_handle hCam, const peak_position *hotpixelList, size_t hotpixelCount)
Set the list of host hotpixel positions.
peak_bool peak_IPL_Mirror_UpDown_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the up-down host mirroring.
peak_status peak_IPL_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the left-right host mirroring.
peak_bool peak_IPL_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the left-right host mirroring.
peak_status peak_IPL_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the up-down host mirroring.
peak_status peak_IPL_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format *pixelFormat)
Get the output pixel format of the host processing.
peak_status peak_IPL_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
Set the output pixel format for host processing.
peak_status peak_IPL_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format *outputPixelFormatList, size_t *outputPixelFormatCount)
Get a list of supported output pixel formats for a specific input pixelformat.
peak_status peak_I2C_RegisterAddress_Length_Get(peak_i2c_handle hI2C, peak_i2c_register_address_length *length)
Get the i2c register address length.
peak_status peak_I2C_OperationStatus_Get(peak_i2c_handle hI2C, peak_i2c_operation_status *operationStatus)
Get the i2c operation status.
peak_status peak_I2C_AckPolling_Timeout_Set(peak_i2c_handle hI2C, uint32_t timeout_ms)
Set the i2c ack polling timeout in milliseconds.
peak_status peak_I2C_RegisterAddress_Endianness_Set(peak_i2c_handle hI2C, peak_endianness endianness)
Set the i2c register address endianness.
peak_status peak_I2C_DeviceAddress_GetRange(peak_i2c_handle hI2C, uint32_t *minAddress, uint32_t *maxAddress)
Get the current range of valid i2c device addresses.
peak_status peak_I2C_AckPolling_Timeout_GetRange(peak_i2c_handle hI2C, uint32_t *minTimeout_ms, uint32_t *maxTimeout_ms, uint32_t *incTimeout_ms)
Get the current range of valid i2c ack polling timeouts in milliseconds.
peak_status peak_I2C_RegisterAddress_Endianness_Get(peak_i2c_handle hI2C, peak_endianness *endianness)
Get the i2c register endianness.
peak_status peak_I2C_Mode_Set(peak_i2c_handle hI2C, peak_i2c_mode mode)
Set the i2c mode.
peak_status peak_I2C_AckPolling_Timeout_Get(peak_i2c_handle hI2C, uint32_t *timeout_ms)
Get the i2c ack polling timeout in milliseconds.
peak_status peak_I2C_Data_Read(peak_i2c_handle hI2C, size_t maxDataSize, uint8_t *data, size_t *dataSize)
Read from a i2c device register.
peak_status peak_I2C_Mode_Get(peak_i2c_handle hI2C, peak_i2c_mode *mode)
Get the i2c mode.
peak_status peak_I2C_Mode_GetList(peak_i2c_handle hI2C, peak_i2c_mode *modeList, size_t *modeListSize)
Get the list of currently selectable i2c modes.
peak_status peak_I2C_DeviceAddress_Get(peak_i2c_handle hI2C, uint32_t *address)
Get the i2c device address.
peak_status peak_I2C_Data_MaxSize_Get(peak_i2c_handle hI2C, size_t *maxDataSize)
Get the max data size to read or to write from i2c device register.
peak_status peak_I2C_AckPolling_Enable(peak_i2c_handle hI2C, peak_bool enabled)
Enable/Disable the i2c ack polling.
peak_i2c_operation_status
peak i2c operation status
Definition ids_peak_comfort_c.h:13788
peak_status peak_I2C_RegisterAddress_Get(peak_i2c_handle hI2C, uint32_t *address)
Get the i2c register address.
peak_status peak_I2C_Data_Write(peak_i2c_handle hI2C, const uint8_t *data, size_t dataSize)
Write to a i2c device register.
peak_i2c_register_address_length
peak i2c register address length
Definition ids_peak_comfort_c.h:13366
struct peak_i2c * peak_i2c_handle
peak i2c handle The value for an invalid i2c handle is PEAK_INVALID_HANDLE.
Definition ids_peak_comfort_c.h:13117
peak_bool peak_I2C_AckPolling_IsEnabled(peak_i2c_handle hI2C)
Get the enabled status of the i2c ack polling.
peak_status peak_I2C_Destroy(peak_i2c_handle hI2C)
Destroys a i2c handle.
peak_status peak_I2C_Create(peak_camera_handle hCam, peak_i2c_handle *hI2C)
Creates a new i2c instance.
peak_status peak_I2C_RegisterAddress_Length_Set(peak_i2c_handle hI2C, peak_i2c_register_address_length length)
Set the i2c register address length.
peak_status peak_I2C_RegisterAddress_Length_GetList(peak_i2c_handle hI2C, peak_i2c_register_address_length *i2cLengthList, size_t *i2cLengthCount)
Get list of supported i2c register address lengths.
peak_i2c_mode
peak i2c modes
Definition ids_peak_comfort_c.h:13184
peak_access_status peak_I2C_AckPolling_Timeout_GetAccessStatus(peak_i2c_handle hI2C)
Query the i2c ack polling timeout access status.
peak_status peak_I2C_RegisterAddress_Set(peak_i2c_handle hI2C, uint32_t address)
Set the i2c register address.
peak_status peak_I2C_DeviceAddress_Set(peak_i2c_handle hI2C, uint32_t address)
Set the i2c device address.
peak_access_status peak_I2C_GetAccessStatus(peak_i2c_handle hI2C)
Query the i2c access status.
peak_status peak_Inference_Statistics_Get(peak_inference_handle hInference, peak_inference_statistics *statistics)
Gets the inference statistics.
peak_status peak_Inference_CNN_Open(const char *path, peak_inference_handle *hInference)
Loads a cnn file from the filesystem and returns a handle to the inference instance.
struct peak_inference * peak_inference_handle
The handle to identify an inference instance.
Definition ids_peak_comfort_c.h:11506
struct peak_inference_result * peak_inference_result_handle
The handle to identify an inference result.
Definition ids_peak_comfort_c.h:11512
peak_status peak_Inference_Result_Get(peak_inference_result_handle hInferenceHandle, peak_inference_result_data *result)
Get the result from a previous inference call.
peak_status peak_Inference_Statistics_Reset(peak_inference_handle hInference)
Resets the inference statistics.
peak_status peak_Inference_CNN_Info_Get(peak_inference_handle hInference, peak_inference_info *info)
Gets detailed info about the loaded CNN.
peak_status peak_Inference_CNN_ProcessFrame(peak_inference_handle hInference, peak_frame_handle hFrame, peak_inference_result_handle *hInferenceHandle)
Runs an image through a cnn and returns the inference result. This call is blocking and returns once ...
peak_status peak_Inference_ConfidenceThreshold_GetRange(peak_inference_handle hInference, uint32_t *minThreshold, uint32_t *maxThreshold, uint32_t *incThreshold)
Gets the allowed range for setting the confidence threshold.
peak_status peak_Inference_Result_Classification_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification *resultList, size_t *resultCount)
Get the result entries from a given classification inference result handle.
peak_status peak_Inference_CNN_Close(peak_inference_handle hInference)
Unloads a cnn instance.
peak_status peak_Inference_ConfidenceThreshold_Set(peak_inference_handle hInference, uint32_t threshold)
Sets the confidence threshold for the inference. Lower thresholds include more results.
peak_status peak_Inference_Result_Detection_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection *resultList, size_t *resultCount)
Get the result entries from a given detection inference result handle.
peak_status peak_Inference_Result_Release(peak_inference_result_handle hInferenceHandle)
Releases a inference result that was previously received from peak_Inference_CNN_ProcessFrame.
peak_status peak_Inference_ConfidenceThreshold_Get(peak_inference_handle hInference, uint32_t *threshold)
Gets the confidence threshold of the inference.
peak_bool peak_IOChannel_NoiseFilter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel)
Get the enabled status of the io channel noise filter property.
peak_io_channel
peak IO channel
Definition ids_peak_comfort_c.h:3768
peak_status peak_IOChannel_NoiseFilter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled)
Enable/Disable the io channel noise filter property.
peak_access_status peak_IOChannel_Inverter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
Query the io channel inverter property access status.
peak_access_status peak_IOChannel_NoiseFilter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
Query the io channel noise filter property access status.
peak_status peak_IOChannel_Inverter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled)
Enable/Disable the io channel inverter property.
peak_status peak_IOChannel_NoiseFilter_Duration_GetRange(peak_camera_handle hCam, peak_io_channel ioChannel, double *minNoiseFilterDuration_us, double *maxNoiseFilterDuration_us, double *incNoiseFilterDuration_us)
Get the current range of valid io channel noise filter duration values.
peak_status peak_IOChannel_NoiseFilter_Duration_Get(peak_camera_handle hCam, peak_io_channel ioChannel, double *noiseFilterDuration_us)
Get the io channel noise filter duration.
peak_access_status peak_IOChannel_Level_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
Query the io channel level property access status.
peak_bool peak_IOChannel_Inverter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel)
Get the enabled status of the io channel inverter property.
peak_status peak_IOChannel_NoiseFilter_Duration_Set(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us)
Set the io channel noise filter duration.
peak_bool peak_IOChannel_Level_IsHigh(peak_camera_handle hCam, peak_io_channel ioChannel)
Get the level of the io channel.
peak_status peak_IOChannel_GetList(peak_camera_handle hCam, peak_io_channel *ioChannelList, size_t *ioChannelCount)
Get the list of supported io channels.
peak_access_status peak_IOChannel_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
Query the io channel access status.
peak_status peak_Library_Init()
Init the peak comfortC library.
peak_status peak_Library_Exit()
Exit the peak comfortC library.
peak_status peak_Library_GetLastError(peak_status *lastErrorCode, char *lastErrorMessage, size_t *lastErrorMessageSize)
Query the last error.
peak_bool peak_Library_InterfaceTechnology_IsSupported(peak_interface_technology interfaceTech)
Query the supported interface technologies.
peak_status peak_Library_GetVersion(uint32_t *majorVersion, uint32_t *minorVersion, uint32_t *subminorVersion, uint32_t *patchVersion)
Query the library version.
peak_status peak_Acquisition_Buffer_Revoke(peak_camera_handle hCam, uint8_t *memoryAddress)
Revoke an image buffer.
peak_status peak_Acquisition_Buffer_GetRequiredCount(peak_camera_handle hCam, size_t *requiredBufferCount)
Query the required image buffer count.
peak_status peak_Acquisition_Buffer_Announce(peak_camera_handle hCam, uint8_t *memoryAddress, size_t memorySize, void *userContext)
Announce an image buffer.
peak_status peak_Acquisition_Buffer_RevokeAll(peak_camera_handle hCam)
Revoke all image buffers.
peak_status peak_Acquisition_Buffer_GetRequiredSize(peak_camera_handle hCam, size_t *requiredBufferSize)
Query the required image buffer size.
peak_status peak_Message_Data_DeviceFound_Get(peak_message_handle hMessage, peak_message_data_device_found *message)
Get the message data for camera manager device found data types.
peak_status peak_Message_Data_DeviceReconnected_Get(peak_message_handle hMessage, peak_message_data_device_reconnected *message)
Get the message data for camera manager device reconnected data types.
peak_status peak_Message_Data_RemoteDevice_Get(peak_message_handle hMessage, peak_message_data_remote_device *message)
Get the message data for remote device types.
peak_status peak_Message_Data_DeviceLost_Get(peak_message_handle hMessage, peak_message_data_device_lost *message)
Get the message data for camera manager device lost data types.
peak_status peak_Message_Data_AutoFocusData_Get(peak_message_handle hMessage, peak_message_data_autofocus *message)
Get the message data for auto focus data types.
peak_message_data_type
peak message data types valid message data types
Definition ids_peak_comfort_c.h:12106
peak_status peak_Message_Data_RemoteDeviceDropped_Get(peak_message_handle hMessage, peak_message_data_remote_device_dropped *message)
Get the message data for remote device dropped types.
peak_status peak_Message_Data_Type_Get(peak_message_handle hMessage, peak_message_data_type *messageType)
Get the message data type.
peak_status peak_Message_Data_RemoteDeviceError_Get(peak_message_handle hMessage, peak_message_data_remote_device_error *message)
Get the message data for remote device error types.
peak_status peak_Message_Data_DeviceDisconnected_Get(peak_message_handle hMessage, peak_message_data_device_disconnected *message)
Get the message data for camera manager device disconnected data types.
peak_status peak_Message_Data_RemoteDeviceFrame_Get(peak_message_handle hMessage, peak_message_data_remote_device_frame *message)
Get the message data for remote device frame types.
peak_status peak_Message_Data_RemoteDeviceTemperature_Get(peak_message_handle hMessage, peak_message_data_remote_device_temperature *message)
Get the message data for remote device temperature types.
peak_status peak_Message_Type_Get(peak_message_handle hMessage, peak_message_type *messageType)
Get the message type.
peak_status peak_Message_GetInfo(peak_message_handle hMessage, peak_message_info *messageInfo)
Get the info for a message.
peak_status peak_Message_ID_Get(peak_message_handle hMessage, uint64_t *messageID)
Get the message id.
peak_status peak_Message_HostTimestamp_Get(peak_message_handle hMessage, uint64_t *hostTimestamp_ns)
Get the host timestamp for a message.
peak_status peak_Message_CameraHandle_Get(peak_message_handle hMessage, peak_camera_handle *hCam)
Get the camera handle for a message.
struct peak_message * peak_message_handle
peak queue handle The value for an invalid queue handle is PEAK_INVALID_HANDLE.
Definition ids_peak_comfort_c.h:12372
peak_status peak_Message_Release(peak_message_handle hMessage)
Release a message.
peak_bool peak_MessageQueue_IsStarted(peak_message_queue_handle hMessageQueue)
Checks if the queue is started.
peak_status peak_MessageQueue_WaitForMessage(peak_message_queue_handle hMessageQueue, uint32_t timeout_ms, peak_message_handle *hMessage)
Wait for a new message.
peak_status peak_MessageQueue_DisableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
Disable a message type for a message queue.
peak_status peak_MessageQueue_Create(peak_message_queue_handle *hMessageQueue)
Creates a new message queue.
peak_status peak_MessageQueue_MaxQueueSize_Set(peak_message_queue_handle hMessageQueue, size_t messageQueueMaxSize)
Sets the maximum queue sizeIf the queue size is reached and new message are about to be enqueued they...
peak_status peak_MessageQueue_EnabledMessages_GetList(peak_message_queue_handle hMessageQueue, peak_message_type *messageTypesArray, size_t *messageTypesArraySize)
Query the current message types enabled for the queue.
peak_status peak_MessageQueue_Statistics_Get(peak_message_queue_handle hMessageQueue, peak_message_queue_statistics_info *messageQueueInfo)
Get the queue statistic info.
struct peak_message_queue * peak_message_queue_handle
peak queue handle The value for an invalid queue handle is PEAK_INVALID_HANDLE.
Definition ids_peak_comfort_c.h:12365
peak_status peak_MessageQueue_Statistics_Reset(peak_message_queue_handle hMessageQueue)
Reset the queue statistic info.
peak_status peak_MessageQueue_EnableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type *messageTypesArray, size_t messageTypesArraySize)
Enable a list of message types at once.
peak_status peak_MessageQueue_GetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode *queueMode)
Get the queue mode.
peak_status peak_MessageQueue_Start(peak_message_queue_handle hMessageQueue)
Start the queue.
peak_status peak_MessageQueue_EnableMessage(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
Enable a message type for a message queue.
peak_status peak_MessageQueue_MaxQueueSize_Get(peak_message_queue_handle hMessageQueue, size_t *messageQueueMaxSize)
Gets the maximum queue size.
peak_message_queue_mode
peak queue mode Changes the behaviour of the queue
Definition ids_peak_comfort_c.h:11935
peak_status peak_MessageQueue_Destroy(peak_message_queue_handle hMessageQueue)
Destroy a message queue.
peak_status peak_MessageQueue_SetMode(peak_message_queue_handle hMessageQueue, peak_message_queue_mode queueMode)
Set the queue mode.
peak_status peak_MessageQueue_DisableMessageList(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, const peak_message_type *messageTypesArray, size_t messageTypesArraySize)
Disable a list of message types at once.
peak_status peak_MessageQueue_Flush(peak_message_queue_handle hMessageQueue)
Flushes the queue.
peak_bool peak_MessageQueue_IsMessageSupported(peak_message_queue_handle hMessageQueue, peak_camera_handle hCam, peak_message_type messageType)
Checks if the message type is supported by the queue.
peak_status peak_MessageQueue_Stop(peak_message_queue_handle hMessageQueue)
Stop the queue.
peak_message_type
The peak message types.
Definition ids_peak_comfort_c.h:11955
peak_status peak_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the up-down mirroring.
peak_access_status peak_Mirror_LeftRight_GetAccessStatus(peak_camera_handle hCam)
Query the left-right mirroring access status.
peak_access_status peak_Mirror_UpDown_GetAccessStatus(peak_camera_handle hCam)
Query the up-down mirroring access status.
peak_bool peak_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the left-right mirroring.
peak_status peak_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the left-right mirroring.
peak_bool peak_Mirror_UpDown_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the up-down mirroring.
uint8_t peak_bool
peak Boolean type
Definition ids_peak_comfort_c.h:743
peak_access_status peak_PixelClock_GetAccessStatus(peak_camera_handle hCam)
Query the pixel clock access status.
peak_bool peak_PixelClock_HasRange(peak_camera_handle hCam)
Check whether the valid values for the pixel clock feature are organized as a range.
peak_status peak_PixelClock_Get(peak_camera_handle hCam, double *pixelClock_MHz)
Get the pixel clock.
peak_status peak_PixelClock_GetRange(peak_camera_handle hCam, double *minPixelClock_MHz, double *maxPixelClock_MHz, double *incPixelClock_MHz)
Get the current range of valid pixel clock values.
peak_status peak_PixelClock_GetList(peak_camera_handle hCam, double *pixelClockList, size_t *pixelClockCount)
Get the list of currently selectable pixel clock values.
peak_status peak_PixelClock_Set(peak_camera_handle hCam, double pixelClock_MHz)
Set the pixel clock.
peak_status peak_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format *pixelFormat)
Get the pixel format.
peak_status peak_VideoWriter_Encoder_GetPixelFormatList(peak_video_encoder encoder, peak_pixel_format *pixelFormatList, size_t *pixelFormatCount)
Get the list of currently selectable pixel formats.
peak_status peak_PixelFormat_GetInfo(peak_pixel_format pixelFormat, peak_pixel_format_info *pixelFormatInfo)
Query the pixel format info.
peak_status peak_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format *pixelFormatList, size_t *pixelFormatCount)
Get the list of currently selectable pixel formats.
peak_access_status peak_PixelFormat_GetAccessStatus(peak_camera_handle hCam)
Query the pixel format access status.
peak_pixel_format
peak Pixel format
Definition ids_peak_comfort_c.h:2549
peak_status peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
Set the pixel format.
peak_access_status peak_Reconnect_GetAccessStatus(peak_interface_technology interfaceTech)
Query the reconnect access status.
peak_bool peak_Reconnect_IsEnabled(peak_interface_technology interfaceTech)
Indicates whether the reconnect is active or inactive for the specified specified interface technolog...
peak_status peak_Reconnect_Enable(peak_interface_technology interfaceTech, peak_bool enabled)
Control whether the reconnect is enabled or disabled.
peak_status peak_ROI_Get(peak_camera_handle hCam, peak_roi *roi)
Get the ROI.
peak_status peak_ROI_Set(peak_camera_handle hCam, peak_roi roi)
Set the ROI.
peak_status peak_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position *minROIOffset, peak_position *maxROIOffset, peak_position *incROIOffset)
Get the current range of valid ROI offsets.
peak_status peak_ROI_Size_GetRange(peak_camera_handle hCam, peak_size *minROISize, peak_size *maxROISize, peak_size *incROISize)
Get the current range of valid ROI sizes.
peak_access_status peak_ROI_GetAccessStatus(peak_camera_handle hCam)
Query the ROI access status.
peak_status peak_IPL_Sharpness_Measure(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double *calculatedValue)
Measures the sharpness in the image.
peak_status
peak Status codes
Definition ids_peak_comfort_c.h:919
peak_access_status peak_Decimation_GetAccessStatus(peak_camera_handle hCam)
Query the decimation access status.
peak_status peak_Trigger_Burst_Set(peak_camera_handle hCam, uint32_t triggerBurst)
Set the trigger burst.
peak_status peak_Trigger_Burst_Get(peak_camera_handle hCam, uint32_t *triggerBurst)
Get the trigger burst.
peak_access_status peak_Trigger_Burst_GetAccessStatus(peak_camera_handle hCam)
Query the trigger burst property access status.
peak_status peak_Trigger_Burst_GetRange(peak_camera_handle hCam, uint32_t *minTriggerBurst, uint32_t *maxTriggerBurst, uint32_t *incTriggerBurst)
Get the current range of valid trigger burst values.
peak_status peak_Trigger_Delay_Get(peak_camera_handle hCam, double *triggerDelay_us)
Get the trigger delay.
peak_access_status peak_Trigger_Delay_GetAccessStatus(peak_camera_handle hCam)
Query the trigger delay property access status.
peak_status peak_Trigger_Delay_GetRange(peak_camera_handle hCam, double *minTriggerDelay_us, double *maxTriggerDelay_us, double *incTriggerDelay_us)
Get the current range of valid trigger delay values.
peak_status peak_Trigger_Delay_Set(peak_camera_handle hCam, double triggerDelay_us)
Set the trigger delay.
peak_status peak_Trigger_Divider_Set(peak_camera_handle hCam, uint32_t triggerDivider)
Set the trigger divider.
peak_status peak_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t *triggerDivider)
Get the trigger divider.
peak_access_status peak_Trigger_Divider_GetAccessStatus(peak_camera_handle hCam)
Query the trigger divider property access status.
peak_status peak_Trigger_Divider_GetRange(peak_camera_handle hCam, uint32_t *minTriggerDivider, uint32_t *maxTriggerDivider, uint32_t *incTriggerDivider)
Get the current range of valid trigger divider values.
peak_access_status peak_Trigger_Edge_GetAccessStatus(peak_camera_handle hCam)
Query the trigger edge property access status.
peak_trigger_edge
peak Trigger edge
Definition ids_peak_comfort_c.h:4419
peak_status peak_Trigger_Edge_GetList(peak_camera_handle hCam, peak_trigger_edge *triggerEdgeList, size_t *triggerEdgeCount)
Get the list of currently selectable trigger edges.
peak_status peak_Trigger_Edge_Set(peak_camera_handle hCam, peak_trigger_edge triggerEdge)
Set the trigger edge.
peak_status peak_Trigger_Edge_Get(peak_camera_handle hCam, peak_trigger_edge *triggerEdge)
Get the trigger edge.
peak_status peak_Trigger_Mode_Set(peak_camera_handle hCam, peak_trigger_mode triggerMode)
Set the trigger mode.
peak_status peak_Trigger_Enable(peak_camera_handle hCam, peak_bool enabled)
Enable/Disable the trigger.
peak_status peak_Trigger_Execute(peak_camera_handle hCam)
Execute the trigger.
peak_bool peak_Trigger_IsExecutable(peak_camera_handle hCam)
Check whether the trigger is executable or not.
peak_access_status peak_Trigger_GetAccessStatus(peak_camera_handle hCam)
Query the trigger feature access status.
peak_access_status peak_Trigger_Mode_GetAccessStatus(peak_camera_handle hCam, peak_trigger_mode triggerMode)
Query the trigger mode access status.
peak_status peak_Trigger_Mode_Get(peak_camera_handle hCam, peak_trigger_mode *triggerMode)
Get the trigger mode.
peak_bool peak_Trigger_IsEnabled(peak_camera_handle hCam)
Get the enabled status of the trigger.
struct peak_video * peak_video_handle
peak Video handle
Definition ids_peak_comfort_c.h:11131
peak_video_encoder
peak Encoder types
Definition ids_peak_comfort_c.h:11140
peak_video_encoder_option
peak container options
Definition ids_peak_comfort_c.h:11389
peak_status peak_VideoWriter_Encoder_Option_Get(peak_video_handle hVideo, peak_video_encoder_option encoderOption, void *value, size_t count, size_t *outCount)
Get encoder options.
peak_status peak_VideoWriter_GetInfo(peak_video_handle hVideo, peak_video_info *videoInfo)
Get information from the video stream.
peak_video_container_option
peak container options
Definition ids_peak_comfort_c.h:11367
peak_status peak_VideoWriter_Close(peak_video_handle hVideo)
Closes a video file.
peak_status peak_VideoWriter_Container_Option_Get(peak_video_handle hVideo, peak_video_container_option containerOption, void *value, size_t count, size_t *outCount)
Get container options.
peak_status peak_VideoWriter_Container_GetEncoderList(peak_video_container container, peak_video_encoder *encoderList, size_t *encoderCount)
Get the list of currently usable encoders.
peak_status peak_VideoWriter_Encoder_GetContainerList(peak_video_encoder encoder, peak_video_container *containerList, size_t *containerCount)
Get the list of currently usable containers.
peak_status peak_VideoWriter_Encoder_Option_Set(peak_video_handle hVideo, peak_video_encoder_option encoderOption, const void *value, size_t count)
Set additional encoder options.
peak_status peak_VideoWriter_Open(peak_video_handle *hVideo, const char *fileName, peak_video_container container, peak_video_encoder encoder)
Opens a video file with the given file name.
peak_video_container
peak Container types
Definition ids_peak_comfort_c.h:11159
peak_status peak_VideoWriter_WaitUntilQueueEmpty(peak_video_handle hVideo, int32_t timeout_ms)
Wait until queue is empty.
peak_status peak_VideoWriter_AddFrame(peak_video_handle hVideo, peak_frame_handle hFrame)
Writes a image frame into the video file.
peak_status peak_VideoWriter_Container_Option_Set(peak_video_handle hVideo, peak_video_container_option containerOption, const void *value, size_t count)
Set additional container options.
Interface definition file for IDS peak comfortC.
peak_endianness
endianness order
Definition ids_peak_comfort_c.h:13459
peak_interface_technology
peak interface technology
Definition ids_peak_comfort_c.h:1160
peak Acquisition info
Definition ids_peak_comfort_c.h:2246
peak Buffer descriptor
Definition ids_peak_comfort_c.h:771
peak Camera descriptor
Definition ids_peak_comfort_c.h:1364
peak Double Limit
Definition ids_peak_comfort_c.h:9452
peak Ethernet info
Definition ids_peak_comfort_c.h:1977
peak Flash mode
Definition ids_peak_comfort_c.h:4903
The peak focus ROI (2D) with weight.
Definition ids_peak_comfort_c.h:10287
peak Frame info
Definition ids_peak_comfort_c.h:2856
peak GFA enumeration entry
Definition ids_peak_comfort_c.h:8357
The peak information struct for CNN details.
Definition ids_peak_comfort_c.h:11638
The inference classification result.
Definition ids_peak_comfort_c.h:11578
The peak inference result.
Definition ids_peak_comfort_c.h:11595
The inference detection result.
Definition ids_peak_comfort_c.h:11558
peak IP configuration
Definition ids_peak_comfort_c.h:1910
peak message data for auto focus data messages.
Definition ids_peak_comfort_c.h:12238
peak message data for camera manager device disconnected messages.
Definition ids_peak_comfort_c.h:12302
peak message data for camera manager device found messages.
Definition ids_peak_comfort_c.h:12255
peak message data for camera manager device lost messages.
Definition ids_peak_comfort_c.h:12270
peak message data for camera manager device reconnected messages.
Definition ids_peak_comfort_c.h:12285
peak message data for remote device dropped messages.
Definition ids_peak_comfort_c.h:12184
peak message data for remote device error messages.
Definition ids_peak_comfort_c.h:12166
peak message data for remote device frame messages.
Definition ids_peak_comfort_c.h:12202
peak message data for remote device temperature messages.
Definition ids_peak_comfort_c.h:12220
peak message data for remote device messages.
Definition ids_peak_comfort_c.h:12151
peak message info struct
Definition ids_peak_comfort_c.h:12340
peak queue info struct
Definition ids_peak_comfort_c.h:12315
peak Pixel format info
Definition ids_peak_comfort_c.h:2743
peak Position (2D)
Definition ids_peak_comfort_c.h:820
The peak ROI (2D)
Definition ids_peak_comfort_c.h:836
peak Size (2D)
Definition ids_peak_comfort_c.h:800
peak Trigger mode
Definition ids_peak_comfort_c.h:4179
video info structure
Definition ids_peak_comfort_c.h:11331
peak MAC-48 address
Definition ids_peak_comfort_c.h:1633
The peak 3x3 Matrix.
Definition ids_peak_comfort_c.h:863