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