IDS peak comfortC  v1.4.0
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 
384 
385 class DynamicLoader
386 {
387 private:
388  DynamicLoader();
389 
390  static DynamicLoader& instance()
391  {
392  static DynamicLoader dynamicLoader{};
393  return dynamicLoader;
394  }
395  bool loadLib(const char* file);
396  void unload();
397  bool setPointers(bool load);
398 
399 public:
400  ~DynamicLoader();
401 
402  static bool isLoaded();
403 
404  static PEAK_API_STATUS peak_Library_Init();
405  static PEAK_API_STATUS peak_Library_Exit();
406  static PEAK_API_STATUS peak_Library_GetVersion(uint32_t * majorVersion, uint32_t * minorVersion, uint32_t * subminorVersion, uint32_t * patchVersion);
407  static PEAK_API_STATUS peak_Library_GetLastError(peak_status * lastErrorCode, char * lastErrorMessage, size_t * lastErrorMessageSize);
408  static PEAK_API_STATUS peak_CameraList_Update(size_t * cameraCount);
409  static PEAK_API_STATUS peak_CameraList_Get(peak_camera_descriptor * cameraList, size_t * cameraCount);
410  static PEAK_API_CAMERA_ID peak_Camera_ID_FromHandle(peak_camera_handle hCam);
411  static PEAK_API_CAMERA_ID peak_Camera_ID_FromSerialNumber(const char * serialNumber);
412  static PEAK_API_CAMERA_ID peak_Camera_ID_FromUserDefinedName(const char * userDefinedName);
413  static PEAK_API_CAMERA_ID peak_Camera_ID_FromMAC(peak_mac_address macAddress);
414  static PEAK_API_ACCESS_STATUS peak_Camera_GetAccessStatus(peak_camera_id cameraID);
415  static PEAK_API_STATUS peak_Camera_GetDescriptor(peak_camera_id cameraID, peak_camera_descriptor * cameraDescriptor);
416  static PEAK_API_STATUS peak_Camera_Open(peak_camera_id cameraID, peak_camera_handle * hCam);
417  static PEAK_API_STATUS peak_Camera_OpenFirstAvailable(peak_camera_handle * hCam);
418  static PEAK_API_STATUS peak_Camera_Close(peak_camera_handle hCam);
419  static PEAK_API_STATUS peak_Camera_ResetToDefaultSettings(peak_camera_handle hCam);
420  static PEAK_API_STATUS peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char * userDefinedName);
421  static PEAK_API_STATUS peak_Camera_UserDefinedName_Get(peak_camera_handle hCam, char * userDefinedName, size_t * userDefinedNameSize);
422  static PEAK_API_ACCESS_STATUS peak_EthernetConfig_GetAccessStatus(peak_camera_id cameraID);
423  static PEAK_API_STATUS peak_EthernetConfig_GetInfo(peak_camera_id cameraID, peak_ethernet_info * ethernetInfo);
424  static PEAK_API_ACCESS_STATUS peak_EthernetConfig_DHCP_GetAccessStatus(peak_camera_id cameraID);
425  static PEAK_API_STATUS peak_EthernetConfig_DHCP_Enable(peak_camera_id cameraID, peak_bool enabled);
426  static PEAK_API_BOOL peak_EthernetConfig_DHCP_IsEnabled(peak_camera_id cameraID);
427  static PEAK_API_ACCESS_STATUS peak_EthernetConfig_PersistentIP_GetAccessStatus(peak_camera_id cameraID);
428  static PEAK_API_STATUS peak_EthernetConfig_PersistentIP_Set(peak_camera_id cameraID, peak_ip_config persistentIP);
429  static PEAK_API_STATUS peak_EthernetConfig_PersistentIP_Get(peak_camera_id cameraID, peak_ip_config * persistentIP);
430  static PEAK_API_STATUS peak_Acquisition_Start(peak_camera_handle hCam, uint32_t numberOfFrames);
431  static PEAK_API_STATUS peak_Acquisition_Stop(peak_camera_handle hCam);
432  static PEAK_API_BOOL peak_Acquisition_IsStarted(peak_camera_handle hCam);
433  static PEAK_API_STATUS peak_Acquisition_WaitForFrame(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle * hFrame);
434  static PEAK_API_STATUS peak_Acquisition_GetInfo(peak_camera_handle hCam, peak_acquisition_info * acquisitionInfo);
435  static PEAK_API_STATUS peak_Acquisition_Buffer_GetRequiredSize(peak_camera_handle hCam, size_t * requiredBufferSize);
436  static PEAK_API_STATUS peak_Acquisition_Buffer_GetRequiredCount(peak_camera_handle hCam, size_t * requiredBufferCount);
437  static PEAK_API_STATUS peak_Acquisition_Buffer_Announce(peak_camera_handle hCam, uint8_t * memoryAddress, size_t memorySize, void * userContext);
438  static PEAK_API_STATUS peak_Acquisition_Buffer_Revoke(peak_camera_handle hCam, uint8_t * memoryAddress);
439  static PEAK_API_STATUS peak_Acquisition_Buffer_RevokeAll(peak_camera_handle hCam);
440  static PEAK_API_STATUS peak_PixelFormat_GetInfo(peak_pixel_format pixelFormat, peak_pixel_format_info * pixelFormatInfo);
441  static PEAK_API_STATUS peak_Frame_Release(peak_camera_handle hCam, peak_frame_handle hFrame);
442  static PEAK_API_STATUS peak_Frame_GetInfo(peak_frame_handle hFrame, peak_frame_info * frameInfo);
443  static PEAK_API_STATUS peak_Frame_Type_Get(peak_frame_handle hFrame, peak_frame_type * frameType);
444  static PEAK_API_STATUS peak_Frame_Buffer_Get(peak_frame_handle hFrame, peak_buffer * buffer);
445  static PEAK_API_STATUS peak_Frame_ID_Get(peak_frame_handle hFrame, uint64_t * frameID);
446  static PEAK_API_STATUS peak_Frame_Timestamp_Get(peak_frame_handle hFrame, uint64_t * timestamp_ns);
447  static PEAK_API_STATUS peak_Frame_ROI_Get(peak_frame_handle hFrame, peak_roi * roi);
448  static PEAK_API_STATUS peak_Frame_PixelFormat_Get(peak_frame_handle hFrame, peak_pixel_format * pixelFormat);
449  static PEAK_API_BOOL peak_Frame_IsComplete(peak_frame_handle hFrame);
450  static PEAK_API_STATUS peak_Frame_BytesExpected_Get(peak_frame_handle hFrame, size_t * bytesExpected);
451  static PEAK_API_STATUS peak_Frame_BytesWritten_Get(peak_frame_handle hFrame, size_t * bytesWritten);
452  static PEAK_API_STATUS peak_Frame_ProcessingTime_Get(peak_frame_handle hFrame, uint32_t * processingTime_ms);
453  static PEAK_API_ACCESS_STATUS peak_CameraSettings_ParameterSet_GetAccessStatus(peak_camera_handle hCam, peak_parameter_set parameterSet);
454  static PEAK_API_STATUS peak_CameraSettings_ParameterSet_GetList(peak_camera_handle hCam, peak_parameter_set * parameterSetList, size_t * parameterSetCount);
455  static PEAK_API_STATUS peak_CameraSettings_ParameterSet_Store(peak_camera_handle hCam, peak_parameter_set parameterSet);
456  static PEAK_API_STATUS peak_CameraSettings_ParameterSet_Apply(peak_camera_handle hCam, peak_parameter_set parameterSet);
459  static PEAK_API_STATUS peak_CameraSettings_ParameterSet_Startup_Get(peak_camera_handle hCam, peak_parameter_set * parameterSet);
460  static PEAK_API_ACCESS_STATUS peak_CameraSettings_DiskFile_GetAccessStatus(peak_camera_handle hCam);
461  static PEAK_API_STATUS peak_CameraSettings_DiskFile_Store(peak_camera_handle hCam, const char * file);
462  static PEAK_API_STATUS peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char * file);
463  static PEAK_API_ACCESS_STATUS peak_FrameRate_GetAccessStatus(peak_camera_handle hCam);
464  static PEAK_API_STATUS peak_FrameRate_GetRange(peak_camera_handle hCam, double * minFrameRate_fps, double * maxFrameRate_fps, double * incFrameRate_fps);
465  static PEAK_API_STATUS peak_FrameRate_Set(peak_camera_handle hCam, double frameRate_fps);
466  static PEAK_API_STATUS peak_FrameRate_Get(peak_camera_handle hCam, double * frameRate_fps);
467  static PEAK_API_ACCESS_STATUS peak_ExposureTime_GetAccessStatus(peak_camera_handle hCam);
468  static PEAK_API_STATUS peak_ExposureTime_GetRange(peak_camera_handle hCam, double * minExposureTime_us, double * maxExposureTime_us, double * incExposureTime_us);
469  static PEAK_API_STATUS peak_ExposureTime_Set(peak_camera_handle hCam, double exposureTime_us);
470  static PEAK_API_STATUS peak_ExposureTime_Get(peak_camera_handle hCam, double * exposureTime_us);
471  static PEAK_API_ACCESS_STATUS peak_PixelClock_GetAccessStatus(peak_camera_handle hCam);
472  static PEAK_API_BOOL peak_PixelClock_HasRange(peak_camera_handle hCam);
473  static PEAK_API_STATUS peak_PixelClock_GetRange(peak_camera_handle hCam, double * minPixelClock_MHz, double * maxPixelClock_MHz, double * incPixelClock_MHz);
474  static PEAK_API_STATUS peak_PixelClock_GetList(peak_camera_handle hCam, double * pixelClockList, size_t * pixelClockCount);
475  static PEAK_API_STATUS peak_PixelClock_Set(peak_camera_handle hCam, double pixelClock_MHz);
476  static PEAK_API_STATUS peak_PixelClock_Get(peak_camera_handle hCam, double * pixelClock_MHz);
477  static PEAK_API_ACCESS_STATUS peak_IOChannel_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
478  static PEAK_API_STATUS peak_IOChannel_GetList(peak_camera_handle hCam, peak_io_channel * ioChannelList, size_t * ioChannelCount);
479  static PEAK_API_ACCESS_STATUS peak_IOChannel_Level_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
480  static PEAK_API_BOOL peak_IOChannel_Level_IsHigh(peak_camera_handle hCam, peak_io_channel ioChannel);
481  static PEAK_API_ACCESS_STATUS peak_IOChannel_Inverter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
482  static PEAK_API_STATUS peak_IOChannel_Inverter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
483  static PEAK_API_BOOL peak_IOChannel_Inverter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel);
484  static PEAK_API_ACCESS_STATUS peak_IOChannel_NoiseFilter_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel);
485  static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled);
486  static PEAK_API_BOOL peak_IOChannel_NoiseFilter_IsEnabled(peak_camera_handle hCam, peak_io_channel ioChannel);
487  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);
488  static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Duration_Set(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us);
489  static PEAK_API_STATUS peak_IOChannel_NoiseFilter_Duration_Get(peak_camera_handle hCam, peak_io_channel ioChannel, double * noiseFilterDuration_us);
490  static PEAK_API_ACCESS_STATUS peak_Trigger_GetAccessStatus(peak_camera_handle hCam);
491  static PEAK_API_STATUS peak_Trigger_Enable(peak_camera_handle hCam, peak_bool enabled);
492  static PEAK_API_BOOL peak_Trigger_IsEnabled(peak_camera_handle hCam);
493  static PEAK_API_BOOL peak_Trigger_IsExecutable(peak_camera_handle hCam);
494  static PEAK_API_STATUS peak_Trigger_Execute(peak_camera_handle hCam);
495  static PEAK_API_ACCESS_STATUS peak_Trigger_Mode_GetAccessStatus(peak_camera_handle hCam, peak_trigger_mode triggerMode);
496  static PEAK_API_STATUS peak_Trigger_Mode_Set(peak_camera_handle hCam, peak_trigger_mode triggerMode);
497  static PEAK_API_STATUS peak_Trigger_Mode_Get(peak_camera_handle hCam, peak_trigger_mode * triggerMode);
498  static PEAK_API_ACCESS_STATUS peak_Trigger_Edge_GetAccessStatus(peak_camera_handle hCam);
499  static PEAK_API_STATUS peak_Trigger_Edge_GetList(peak_camera_handle hCam, peak_trigger_edge * triggerEdgeList, size_t * triggerEdgeCount);
500  static PEAK_API_STATUS peak_Trigger_Edge_Set(peak_camera_handle hCam, peak_trigger_edge triggerEdge);
501  static PEAK_API_STATUS peak_Trigger_Edge_Get(peak_camera_handle hCam, peak_trigger_edge * triggerEdge);
502  static PEAK_API_ACCESS_STATUS peak_Trigger_Delay_GetAccessStatus(peak_camera_handle hCam);
503  static PEAK_API_STATUS peak_Trigger_Delay_GetRange(peak_camera_handle hCam, double * minTriggerDelay_us, double * maxTriggerDelay_us, double * incTriggerDelay_us);
504  static PEAK_API_STATUS peak_Trigger_Delay_Set(peak_camera_handle hCam, double triggerDelay_us);
505  static PEAK_API_STATUS peak_Trigger_Delay_Get(peak_camera_handle hCam, double * triggerDelay_us);
506  static PEAK_API_ACCESS_STATUS peak_Trigger_Divider_GetAccessStatus(peak_camera_handle hCam);
507  static PEAK_API_STATUS peak_Trigger_Divider_GetRange(peak_camera_handle hCam, uint32_t * minTriggerDivider, uint32_t * maxTriggerDivider, uint32_t * incTriggerDivider);
508  static PEAK_API_STATUS peak_Trigger_Divider_Set(peak_camera_handle hCam, uint32_t triggerDivider);
509  static PEAK_API_STATUS peak_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t * triggerDivider);
510  static PEAK_API_ACCESS_STATUS peak_Trigger_Burst_GetAccessStatus(peak_camera_handle hCam);
511  static PEAK_API_STATUS peak_Trigger_Burst_GetRange(peak_camera_handle hCam, uint32_t * minTriggerBurst, uint32_t * maxTriggerBurst, uint32_t * incTriggerBurst);
512  static PEAK_API_STATUS peak_Trigger_Burst_Set(peak_camera_handle hCam, uint32_t triggerBurst);
513  static PEAK_API_STATUS peak_Trigger_Burst_Get(peak_camera_handle hCam, uint32_t * triggerBurst);
514  static PEAK_API_ACCESS_STATUS peak_Flash_GetAccessStatus(peak_camera_handle hCam);
515  static PEAK_API_STATUS peak_Flash_Enable(peak_camera_handle hCam, peak_bool enabled);
516  static PEAK_API_BOOL peak_Flash_IsEnabled(peak_camera_handle hCam);
517  static PEAK_API_ACCESS_STATUS peak_Flash_Mode_GetAccessStatus(peak_camera_handle hCam, peak_flash_mode flashMode);
518  static PEAK_API_STATUS peak_Flash_Mode_Set(peak_camera_handle hCam, peak_flash_mode flashMode);
519  static PEAK_API_STATUS peak_Flash_Mode_Get(peak_camera_handle hCam, peak_flash_mode * flashMode);
520  static PEAK_API_ACCESS_STATUS peak_Flash_StartDelay_GetAccessStatus(peak_camera_handle hCam);
521  static PEAK_API_STATUS peak_Flash_StartDelay_GetRange(peak_camera_handle hCam, double * minFlashStartDelay_us, double * maxFlashStartDelay_us, double * incFlashStartDelay_us);
522  static PEAK_API_STATUS peak_Flash_StartDelay_Set(peak_camera_handle hCam, double flashStartDelay_us);
523  static PEAK_API_STATUS peak_Flash_StartDelay_Get(peak_camera_handle hCam, double * flashStartDelay_us);
524  static PEAK_API_ACCESS_STATUS peak_Flash_EndDelay_GetAccessStatus(peak_camera_handle hCam);
525  static PEAK_API_STATUS peak_Flash_EndDelay_GetRange(peak_camera_handle hCam, double * minFlashEndDelay_us, double * maxFlashEndDelay_us, double * incFlashEndDelay_us);
526  static PEAK_API_STATUS peak_Flash_EndDelay_Set(peak_camera_handle hCam, double flashEndDelay_us);
527  static PEAK_API_STATUS peak_Flash_EndDelay_Get(peak_camera_handle hCam, double * flashEndDelay_us);
528  static PEAK_API_ACCESS_STATUS peak_Flash_Duration_GetAccessStatus(peak_camera_handle hCam);
529  static PEAK_API_STATUS peak_Flash_Duration_GetRange(peak_camera_handle hCam, double * minFlashDuration_us, double * maxFlashDuration_us, double * incFlashDuration_us);
530  static PEAK_API_STATUS peak_Flash_Duration_Set(peak_camera_handle hCam, double flashDuration_us);
531  static PEAK_API_STATUS peak_Flash_Duration_Get(peak_camera_handle hCam, double * flashDuration_us);
532  static PEAK_API_ACCESS_STATUS peak_Focus_GetAccessStatus(peak_camera_handle hCam);
533  static PEAK_API_STATUS peak_Focus_GetRange(peak_camera_handle hCam, uint32_t * minFocus, uint32_t * maxFocus, uint32_t * incFocus);
534  static PEAK_API_STATUS peak_Focus_Set(peak_camera_handle hCam, uint32_t focus);
535  static PEAK_API_STATUS peak_Focus_Get(peak_camera_handle hCam, uint32_t * focus);
536  static PEAK_API_ACCESS_STATUS peak_PixelFormat_GetAccessStatus(peak_camera_handle hCam);
537  static PEAK_API_STATUS peak_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
538  static PEAK_API_STATUS peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat);
539  static PEAK_API_STATUS peak_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
540  static PEAK_API_ACCESS_STATUS peak_Gain_GetAccessStatus(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel);
541  static PEAK_API_STATUS peak_Gain_GetChannelList(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel * gainChannelList, size_t * gainChannelCount);
542  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);
543  static PEAK_API_STATUS peak_Gain_Set(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain);
544  static PEAK_API_STATUS peak_Gain_Get(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * gain);
545  static PEAK_API_ACCESS_STATUS peak_Gamma_GetAccessStatus(peak_camera_handle hCam);
546  static PEAK_API_STATUS peak_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
547  static PEAK_API_STATUS peak_Gamma_Set(peak_camera_handle hCam, double gamma);
548  static PEAK_API_STATUS peak_Gamma_Get(peak_camera_handle hCam, double * gamma);
549  static PEAK_API_ACCESS_STATUS peak_ColorCorrection_GetAccessStatus(peak_camera_handle hCam);
550  static PEAK_API_STATUS peak_ColorCorrection_Mode_GetList(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionModeList, size_t * colorCorrectionModeCount);
551  static PEAK_API_STATUS peak_ColorCorrection_Mode_Set(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode);
552  static PEAK_API_STATUS peak_ColorCorrection_Mode_Get(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionMode);
553  static PEAK_API_ACCESS_STATUS peak_ColorCorrection_Matrix_GetAccessStatus(peak_camera_handle hCam);
554  static PEAK_API_STATUS peak_ColorCorrection_Matrix_GetRange(peak_camera_handle hCam, double * minMatrixElementValue, double * maxMatrixElementValue, double * incMatrixElementValue);
555  static PEAK_API_STATUS peak_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
556  static PEAK_API_STATUS peak_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
557  static PEAK_API_STATUS peak_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
558  static PEAK_API_BOOL peak_ColorCorrection_IsEnabled(peak_camera_handle hCam);
559  static PEAK_API_ACCESS_STATUS peak_AutoBrightness_GetAccessStatus(peak_camera_handle hCam);
560  static PEAK_API_STATUS peak_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
561  static PEAK_API_STATUS peak_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
562  static PEAK_API_STATUS peak_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
563  static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
564  static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
565  static PEAK_API_STATUS peak_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
566  static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
567  static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
568  static PEAK_API_STATUS peak_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
569  static PEAK_API_STATUS peak_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
570  static PEAK_API_STATUS peak_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
571  static PEAK_API_STATUS peak_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
572  static PEAK_API_STATUS peak_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
573  static PEAK_API_STATUS peak_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI);
574  static PEAK_API_STATUS peak_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
575  static PEAK_API_ACCESS_STATUS peak_AutoBrightness_Exposure_GetAccessStatus(peak_camera_handle hCam);
576  static PEAK_API_STATUS peak_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
577  static PEAK_API_STATUS peak_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
578  static PEAK_API_ACCESS_STATUS peak_AutoBrightness_Gain_GetAccessStatus(peak_camera_handle hCam);
579  static PEAK_API_STATUS peak_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
580  static PEAK_API_STATUS peak_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
581  static PEAK_API_ACCESS_STATUS peak_AutoWhiteBalance_GetAccessStatus(peak_camera_handle hCam);
582  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
583  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
584  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
585  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
586  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
587  static PEAK_API_STATUS peak_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
588  static PEAK_API_STATUS peak_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
589  static PEAK_API_STATUS peak_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
590  static PEAK_API_ACCESS_STATUS peak_ROI_GetAccessStatus(peak_camera_handle hCam);
591  static PEAK_API_STATUS peak_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minROIOffset, peak_position * maxROIOffset, peak_position * incROIOffset);
592  static PEAK_API_STATUS peak_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minROISize, peak_size * maxROISize, peak_size * incROISize);
593  static PEAK_API_STATUS peak_ROI_Set(peak_camera_handle hCam, peak_roi roi);
594  static PEAK_API_STATUS peak_ROI_Get(peak_camera_handle hCam, peak_roi * roi);
595  static PEAK_API_ACCESS_STATUS peak_Binning_GetAccessStatus(peak_camera_handle hCam);
596  static PEAK_API_STATUS peak_Binning_FactorX_GetList(peak_camera_handle hCam, uint32_t * binningFactorXList, size_t * binningFactorXCount);
597  static PEAK_API_STATUS peak_Binning_FactorY_GetList(peak_camera_handle hCam, uint32_t * binningFactorYList, size_t * binningFactorYCount);
598  static PEAK_API_STATUS peak_Binning_Set(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY);
599  static PEAK_API_STATUS peak_Binning_Get(peak_camera_handle hCam, uint32_t * binningFactorX, uint32_t * binningFactorY);
600  static PEAK_API_ACCESS_STATUS peak_Decimation_GetAccessStatus(peak_camera_handle hCam);
601  static PEAK_API_STATUS peak_Decimation_FactorX_GetList(peak_camera_handle hCam, uint32_t * decimationFactorXList, size_t * decimationFactorXCount);
602  static PEAK_API_STATUS peak_Decimation_FactorY_GetList(peak_camera_handle hCam, uint32_t * decimationFactorYList, size_t * decimationFactorYCount);
603  static PEAK_API_STATUS peak_Decimation_Set(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY);
604  static PEAK_API_STATUS peak_Decimation_Get(peak_camera_handle hCam, uint32_t * decimationFactorX, uint32_t * decimationFactorY);
605  static PEAK_API_ACCESS_STATUS peak_Mirror_LeftRight_GetAccessStatus(peak_camera_handle hCam);
606  static PEAK_API_STATUS peak_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled);
607  static PEAK_API_BOOL peak_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam);
608  static PEAK_API_ACCESS_STATUS peak_Mirror_UpDown_GetAccessStatus(peak_camera_handle hCam);
609  static PEAK_API_STATUS peak_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled);
610  static PEAK_API_BOOL peak_Mirror_UpDown_IsEnabled(peak_camera_handle hCam);
611  static PEAK_API_ACCESS_STATUS peak_CameraMemory_Area_GetAccessStatus(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
612  static PEAK_API_STATUS peak_CameraMemory_Area_GetList(peak_camera_handle hCam, peak_camera_memory_area * cameraMemoryAreaList, size_t * cameraMemoryAreaCount);
613  static PEAK_API_STATUS peak_CameraMemory_Area_Size_Get(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t * cameraMemoryAreaSize);
614  static PEAK_API_STATUS peak_CameraMemory_Area_Data_Clear(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea);
615  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);
616  static PEAK_API_STATUS peak_CameraMemory_Area_Data_Read(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, uint8_t * data, size_t dataSize);
617  static PEAK_API_STATUS peak_GFA_EnableWriteAccess(peak_camera_handle hCam, peak_bool enabled);
618  static PEAK_API_BOOL peak_GFA_IsWriteAccessEnabled(peak_camera_handle hCam);
619  static PEAK_API_ACCESS_STATUS peak_GFA_Feature_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * featureName);
620  static PEAK_API_BOOL peak_GFA_Float_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName);
621  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);
622  static PEAK_API_STATUS peak_GFA_Float_GetList(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatList, size_t * floatCount);
623  static PEAK_API_STATUS peak_GFA_Float_Set(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double floatValue);
624  static PEAK_API_STATUS peak_GFA_Float_Get(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatValue);
625  static PEAK_API_BOOL peak_GFA_Integer_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName);
626  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);
627  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);
628  static PEAK_API_STATUS peak_GFA_Integer_Set(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t integerValue);
629  static PEAK_API_STATUS peak_GFA_Integer_Get(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerValue);
630  static PEAK_API_STATUS peak_GFA_Boolean_Set(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool booleanValue);
631  static PEAK_API_STATUS peak_GFA_Boolean_Get(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool * booleanValue);
632  static PEAK_API_STATUS peak_GFA_String_Set(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, const char * stringValue);
633  static PEAK_API_STATUS peak_GFA_String_Get(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, char * stringValue, size_t * stringValueSize);
634  static PEAK_API_STATUS peak_GFA_Command_Execute(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName);
635  static PEAK_API_STATUS peak_GFA_Command_WaitForDone(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName, uint32_t timeout_ms);
636  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);
637  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);
638  static PEAK_API_ACCESS_STATUS peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
639  static PEAK_API_ACCESS_STATUS peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
640  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);
641  static PEAK_API_STATUS peak_GFA_Enumeration_SetBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue);
642  static PEAK_API_STATUS peak_GFA_Enumeration_SetByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue);
643  static PEAK_API_STATUS peak_GFA_Enumeration_Get(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, peak_gfa_enumeration_entry * enumerationEntry);
644  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);
645  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);
646  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);
647  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);
648  static PEAK_API_STATUS peak_IPL_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format * outputPixelFormatList, size_t * outputPixelFormatCount);
649  static PEAK_API_STATUS peak_IPL_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat);
650  static PEAK_API_STATUS peak_IPL_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat);
651  static PEAK_API_STATUS peak_IPL_Gain_GetRange(peak_camera_handle hCam, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain);
652  static PEAK_API_STATUS peak_IPL_Gain_Set(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain);
653  static PEAK_API_STATUS peak_IPL_Gain_Get(peak_camera_handle hCam, peak_gain_channel gainChannel, double * gain);
654  static PEAK_API_STATUS peak_IPL_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma);
655  static PEAK_API_STATUS peak_IPL_Gamma_Set(peak_camera_handle hCam, double gamma);
656  static PEAK_API_STATUS peak_IPL_Gamma_Get(peak_camera_handle hCam, double * gamma);
657  static PEAK_API_STATUS peak_IPL_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix);
658  static PEAK_API_STATUS peak_IPL_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix);
659  static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_Get(peak_camera_handle hCam, double * saturation);
660  static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_Set(peak_camera_handle hCam, double saturation);
661  static PEAK_API_STATUS peak_IPL_ColorCorrection_Saturation_GetRange(peak_camera_handle hCam, double * minSaturation, double * maxSaturation, double * incSaturation);
662  static PEAK_API_STATUS peak_IPL_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
663  static PEAK_API_BOOL peak_IPL_ColorCorrection_IsEnabled(peak_camera_handle hCam);
664  static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget);
665  static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget);
666  static PEAK_API_STATUS peak_IPL_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget);
667  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance);
668  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance);
669  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance);
670  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile);
671  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile);
672  static PEAK_API_STATUS peak_IPL_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile);
673  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode);
674  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode);
675  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset);
676  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize);
677  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI);
678  static PEAK_API_STATUS peak_IPL_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI);
679  static PEAK_API_STATUS peak_IPL_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode);
680  static PEAK_API_STATUS peak_IPL_AutoBrightness_Exposure_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoExposureMode);
681  static PEAK_API_STATUS peak_IPL_AutoBrightness_Gain_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoGainMode);
682  static PEAK_API_STATUS peak_IPL_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoGainMode);
683  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode);
684  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode);
685  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset);
686  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize);
687  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI);
688  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI);
689  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode);
690  static PEAK_API_STATUS peak_IPL_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode);
691  static PEAK_API_ACCESS_STATUS peak_IPL_AutoFocus_GetAccessStatus(peak_camera_handle hCam);
692  static PEAK_API_STATUS peak_IPL_AutoFocus_ROI_Set(peak_camera_handle hCam, const peak_focus_roi * autoFocusROIList, size_t autoFocusROICount);
693  static PEAK_API_STATUS peak_IPL_AutoFocus_ROI_Get(peak_camera_handle hCam, peak_focus_roi * autoFocusROIList, size_t * autoFocusROICount);
694  static PEAK_API_STATUS peak_IPL_AutoFocus_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoFocusMode);
695  static PEAK_API_STATUS peak_IPL_AutoFocus_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoFocusMode);
698  static PEAK_API_STATUS peak_IPL_AutoFocus_SharpnessAlgorithm_Set(peak_camera_handle hCam, peak_sharpness_algorithm sharpnessAlgorithm);
699  static PEAK_API_STATUS peak_IPL_AutoFocus_SharpnessAlgorithm_Get(peak_camera_handle hCam, peak_sharpness_algorithm * sharpnessAlgorithm);
700  static PEAK_API_STATUS peak_IPL_AutoFocus_Range_Set(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd);
701  static PEAK_API_STATUS peak_IPL_AutoFocus_Range_Get(peak_camera_handle hCam, uint32_t * rangeBegin, uint32_t * rangeEnd);
702  static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_Set(peak_camera_handle hCam, uint8_t hysteresis);
703  static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_Get(peak_camera_handle hCam, uint8_t * hysteresis);
704  static PEAK_API_STATUS peak_IPL_AutoFocus_Hysteresis_GetRange(peak_camera_handle hCam, uint8_t * minHysteresis, uint8_t * maxHysteresis, uint8_t * incHysteresis);
705  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Sensitivity_Set(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity);
706  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Sensitivity_Get(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity * hotpixelCorrectionSensitivity);
707  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_GetList(peak_camera_handle hCam, peak_position * hotpixelList, size_t * hotpixelCount);
708  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_SetList(peak_camera_handle hCam, const peak_position * hotpixelList, size_t hotpixelCount);
709  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_ResetList(peak_camera_handle hCam);
710  static PEAK_API_STATUS peak_IPL_HotpixelCorrection_Enable(peak_camera_handle hCam, peak_bool enabled);
712  static PEAK_API_STATUS peak_IPL_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled);
713  static PEAK_API_BOOL peak_IPL_Mirror_UpDown_IsEnabled(peak_camera_handle hCam);
714  static PEAK_API_STATUS peak_IPL_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled);
715  static PEAK_API_BOOL peak_IPL_Mirror_LeftRight_IsEnabled(peak_camera_handle hCam);
716  static PEAK_API_STATUS peak_IPL_ProcessFrame(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle * hResultFrame);
717  static PEAK_API_STATUS peak_IPL_ProcessFrameInplace(peak_camera_handle hCam, peak_frame_handle hFrame);
718  static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Enable(peak_camera_handle hCam, peak_bool enable);
719  static PEAK_API_BOOL peak_IPL_EdgeEnhancement_IsEnabled(peak_camera_handle hCam);
720  static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_Set(peak_camera_handle hCam, uint32_t factor);
721  static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_Get(peak_camera_handle hCam, uint32_t * factor);
722  static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_GetDefault(peak_camera_handle hCam, uint32_t * defaultFactor);
723  static PEAK_API_STATUS peak_IPL_EdgeEnhancement_Factor_GetRange(peak_camera_handle hCam, uint32_t * minFactor, uint32_t * maxFactor, uint32_t * incFactor);
724  static PEAK_API_STATUS peak_IPL_Sharpness_Measure(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double * calculatedValue);
725  static PEAK_API_STATUS peak_VideoWriter_Open(peak_video_handle * hVideo, const char * fileName, peak_video_container container, peak_video_encoder encoder);
726  static PEAK_API_STATUS peak_VideoWriter_Close(peak_video_handle hVideo);
727  static PEAK_API_STATUS peak_VideoWriter_AddFrame(peak_video_handle hVideo, peak_frame_handle hFrame);
728  static PEAK_API_STATUS peak_VideoWriter_Container_GetEncoderList(peak_video_container container, peak_video_encoder * encoderList, size_t * encoderCount);
729  static PEAK_API_STATUS peak_VideoWriter_Encoder_GetPixelFormatList(peak_video_encoder encoder, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount);
730  static PEAK_API_STATUS peak_VideoWriter_Encoder_GetContainerList(peak_video_encoder encoder, peak_video_container * containerList, size_t * containerCount);
731  static PEAK_API_STATUS peak_VideoWriter_GetInfo(peak_video_handle hVideo, peak_video_info * videoInfo);
732  static PEAK_API_STATUS peak_VideoWriter_Container_Option_Set(peak_video_handle hVideo, peak_video_container_option containerOption, const void * value, size_t count);
733  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);
734  static PEAK_API_STATUS peak_VideoWriter_Encoder_Option_Set(peak_video_handle hVideo, peak_video_encoder_option encoderOption, const void * value, size_t count);
735  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);
736  static PEAK_API_STATUS peak_VideoWriter_WaitUntilQueueEmpty(peak_video_handle hVideo, int32_t timeout_ms);
737  static PEAK_API_STATUS peak_Inference_CNN_Open(const char * path, peak_inference_handle * hInference);
738  static PEAK_API_STATUS peak_Inference_CNN_Close(peak_inference_handle hInference);
739  static PEAK_API_STATUS peak_Inference_CNN_ProcessFrame(peak_inference_handle hInference, peak_frame_handle hFrame, peak_inference_result_handle * hInferenceHandle);
740  static PEAK_API_STATUS peak_Inference_CNN_Info_Get(peak_inference_handle hInference, peak_inference_info * info);
741  static PEAK_API_STATUS peak_Inference_Result_Get(peak_inference_result_handle hInferenceHandle, peak_inference_result_data * result);
742  static PEAK_API_STATUS peak_Inference_Result_Release(peak_inference_result_handle hInferenceHandle);
743  static PEAK_API_STATUS peak_Inference_Result_Classification_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification * resultList, size_t * resultCount);
744  static PEAK_API_STATUS peak_Inference_Result_Detection_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection * resultList, size_t * resultCount);
745  static PEAK_API_STATUS peak_Inference_Statistics_Get(peak_inference_handle hInference, peak_inference_statistics * statistics);
746  static PEAK_API_STATUS peak_Inference_Statistics_Reset(peak_inference_handle hInference);
747  static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_Get(peak_inference_handle hInference, uint32_t * threshold);
748  static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_GetRange(peak_inference_handle hInference, uint32_t * minThreshold, uint32_t * maxThreshold, uint32_t * incThreshold);
749  static PEAK_API_STATUS peak_Inference_ConfidenceThreshold_Set(peak_inference_handle hInference, uint32_t threshold);
750 
751 private:
752  void* m_handle = nullptr;
753  dyn_peak_Library_Init m_peak_Library_Init{};
754  dyn_peak_Library_Exit m_peak_Library_Exit{};
755  dyn_peak_Library_GetVersion m_peak_Library_GetVersion{};
756  dyn_peak_Library_GetLastError m_peak_Library_GetLastError{};
757  dyn_peak_CameraList_Update m_peak_CameraList_Update{};
758  dyn_peak_CameraList_Get m_peak_CameraList_Get{};
759  dyn_peak_Camera_ID_FromHandle m_peak_Camera_ID_FromHandle{};
760  dyn_peak_Camera_ID_FromSerialNumber m_peak_Camera_ID_FromSerialNumber{};
761  dyn_peak_Camera_ID_FromUserDefinedName m_peak_Camera_ID_FromUserDefinedName{};
762  dyn_peak_Camera_ID_FromMAC m_peak_Camera_ID_FromMAC{};
763  dyn_peak_Camera_GetAccessStatus m_peak_Camera_GetAccessStatus{};
764  dyn_peak_Camera_GetDescriptor m_peak_Camera_GetDescriptor{};
765  dyn_peak_Camera_Open m_peak_Camera_Open{};
766  dyn_peak_Camera_OpenFirstAvailable m_peak_Camera_OpenFirstAvailable{};
767  dyn_peak_Camera_Close m_peak_Camera_Close{};
768  dyn_peak_Camera_ResetToDefaultSettings m_peak_Camera_ResetToDefaultSettings{};
769  dyn_peak_Camera_UserDefinedName_Set m_peak_Camera_UserDefinedName_Set{};
770  dyn_peak_Camera_UserDefinedName_Get m_peak_Camera_UserDefinedName_Get{};
771  dyn_peak_EthernetConfig_GetAccessStatus m_peak_EthernetConfig_GetAccessStatus{};
772  dyn_peak_EthernetConfig_GetInfo m_peak_EthernetConfig_GetInfo{};
773  dyn_peak_EthernetConfig_DHCP_GetAccessStatus m_peak_EthernetConfig_DHCP_GetAccessStatus{};
774  dyn_peak_EthernetConfig_DHCP_Enable m_peak_EthernetConfig_DHCP_Enable{};
775  dyn_peak_EthernetConfig_DHCP_IsEnabled m_peak_EthernetConfig_DHCP_IsEnabled{};
776  dyn_peak_EthernetConfig_PersistentIP_GetAccessStatus m_peak_EthernetConfig_PersistentIP_GetAccessStatus{};
777  dyn_peak_EthernetConfig_PersistentIP_Set m_peak_EthernetConfig_PersistentIP_Set{};
778  dyn_peak_EthernetConfig_PersistentIP_Get m_peak_EthernetConfig_PersistentIP_Get{};
779  dyn_peak_Acquisition_Start m_peak_Acquisition_Start{};
780  dyn_peak_Acquisition_Stop m_peak_Acquisition_Stop{};
781  dyn_peak_Acquisition_IsStarted m_peak_Acquisition_IsStarted{};
782  dyn_peak_Acquisition_WaitForFrame m_peak_Acquisition_WaitForFrame{};
783  dyn_peak_Acquisition_GetInfo m_peak_Acquisition_GetInfo{};
784  dyn_peak_Acquisition_Buffer_GetRequiredSize m_peak_Acquisition_Buffer_GetRequiredSize{};
785  dyn_peak_Acquisition_Buffer_GetRequiredCount m_peak_Acquisition_Buffer_GetRequiredCount{};
786  dyn_peak_Acquisition_Buffer_Announce m_peak_Acquisition_Buffer_Announce{};
787  dyn_peak_Acquisition_Buffer_Revoke m_peak_Acquisition_Buffer_Revoke{};
788  dyn_peak_Acquisition_Buffer_RevokeAll m_peak_Acquisition_Buffer_RevokeAll{};
789  dyn_peak_PixelFormat_GetInfo m_peak_PixelFormat_GetInfo{};
790  dyn_peak_Frame_Release m_peak_Frame_Release{};
791  dyn_peak_Frame_GetInfo m_peak_Frame_GetInfo{};
792  dyn_peak_Frame_Type_Get m_peak_Frame_Type_Get{};
793  dyn_peak_Frame_Buffer_Get m_peak_Frame_Buffer_Get{};
794  dyn_peak_Frame_ID_Get m_peak_Frame_ID_Get{};
795  dyn_peak_Frame_Timestamp_Get m_peak_Frame_Timestamp_Get{};
796  dyn_peak_Frame_ROI_Get m_peak_Frame_ROI_Get{};
797  dyn_peak_Frame_PixelFormat_Get m_peak_Frame_PixelFormat_Get{};
798  dyn_peak_Frame_IsComplete m_peak_Frame_IsComplete{};
799  dyn_peak_Frame_BytesExpected_Get m_peak_Frame_BytesExpected_Get{};
800  dyn_peak_Frame_BytesWritten_Get m_peak_Frame_BytesWritten_Get{};
801  dyn_peak_Frame_ProcessingTime_Get m_peak_Frame_ProcessingTime_Get{};
802  dyn_peak_CameraSettings_ParameterSet_GetAccessStatus m_peak_CameraSettings_ParameterSet_GetAccessStatus{};
803  dyn_peak_CameraSettings_ParameterSet_GetList m_peak_CameraSettings_ParameterSet_GetList{};
804  dyn_peak_CameraSettings_ParameterSet_Store m_peak_CameraSettings_ParameterSet_Store{};
805  dyn_peak_CameraSettings_ParameterSet_Apply m_peak_CameraSettings_ParameterSet_Apply{};
806  dyn_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus{};
807  dyn_peak_CameraSettings_ParameterSet_Startup_Set m_peak_CameraSettings_ParameterSet_Startup_Set{};
808  dyn_peak_CameraSettings_ParameterSet_Startup_Get m_peak_CameraSettings_ParameterSet_Startup_Get{};
809  dyn_peak_CameraSettings_DiskFile_GetAccessStatus m_peak_CameraSettings_DiskFile_GetAccessStatus{};
810  dyn_peak_CameraSettings_DiskFile_Store m_peak_CameraSettings_DiskFile_Store{};
811  dyn_peak_CameraSettings_DiskFile_Apply m_peak_CameraSettings_DiskFile_Apply{};
812  dyn_peak_FrameRate_GetAccessStatus m_peak_FrameRate_GetAccessStatus{};
813  dyn_peak_FrameRate_GetRange m_peak_FrameRate_GetRange{};
814  dyn_peak_FrameRate_Set m_peak_FrameRate_Set{};
815  dyn_peak_FrameRate_Get m_peak_FrameRate_Get{};
816  dyn_peak_ExposureTime_GetAccessStatus m_peak_ExposureTime_GetAccessStatus{};
817  dyn_peak_ExposureTime_GetRange m_peak_ExposureTime_GetRange{};
818  dyn_peak_ExposureTime_Set m_peak_ExposureTime_Set{};
819  dyn_peak_ExposureTime_Get m_peak_ExposureTime_Get{};
820  dyn_peak_PixelClock_GetAccessStatus m_peak_PixelClock_GetAccessStatus{};
821  dyn_peak_PixelClock_HasRange m_peak_PixelClock_HasRange{};
822  dyn_peak_PixelClock_GetRange m_peak_PixelClock_GetRange{};
823  dyn_peak_PixelClock_GetList m_peak_PixelClock_GetList{};
824  dyn_peak_PixelClock_Set m_peak_PixelClock_Set{};
825  dyn_peak_PixelClock_Get m_peak_PixelClock_Get{};
826  dyn_peak_IOChannel_GetAccessStatus m_peak_IOChannel_GetAccessStatus{};
827  dyn_peak_IOChannel_GetList m_peak_IOChannel_GetList{};
828  dyn_peak_IOChannel_Level_GetAccessStatus m_peak_IOChannel_Level_GetAccessStatus{};
829  dyn_peak_IOChannel_Level_IsHigh m_peak_IOChannel_Level_IsHigh{};
830  dyn_peak_IOChannel_Inverter_GetAccessStatus m_peak_IOChannel_Inverter_GetAccessStatus{};
831  dyn_peak_IOChannel_Inverter_Enable m_peak_IOChannel_Inverter_Enable{};
832  dyn_peak_IOChannel_Inverter_IsEnabled m_peak_IOChannel_Inverter_IsEnabled{};
833  dyn_peak_IOChannel_NoiseFilter_GetAccessStatus m_peak_IOChannel_NoiseFilter_GetAccessStatus{};
834  dyn_peak_IOChannel_NoiseFilter_Enable m_peak_IOChannel_NoiseFilter_Enable{};
835  dyn_peak_IOChannel_NoiseFilter_IsEnabled m_peak_IOChannel_NoiseFilter_IsEnabled{};
836  dyn_peak_IOChannel_NoiseFilter_Duration_GetRange m_peak_IOChannel_NoiseFilter_Duration_GetRange{};
837  dyn_peak_IOChannel_NoiseFilter_Duration_Set m_peak_IOChannel_NoiseFilter_Duration_Set{};
838  dyn_peak_IOChannel_NoiseFilter_Duration_Get m_peak_IOChannel_NoiseFilter_Duration_Get{};
839  dyn_peak_Trigger_GetAccessStatus m_peak_Trigger_GetAccessStatus{};
840  dyn_peak_Trigger_Enable m_peak_Trigger_Enable{};
841  dyn_peak_Trigger_IsEnabled m_peak_Trigger_IsEnabled{};
842  dyn_peak_Trigger_IsExecutable m_peak_Trigger_IsExecutable{};
843  dyn_peak_Trigger_Execute m_peak_Trigger_Execute{};
844  dyn_peak_Trigger_Mode_GetAccessStatus m_peak_Trigger_Mode_GetAccessStatus{};
845  dyn_peak_Trigger_Mode_Set m_peak_Trigger_Mode_Set{};
846  dyn_peak_Trigger_Mode_Get m_peak_Trigger_Mode_Get{};
847  dyn_peak_Trigger_Edge_GetAccessStatus m_peak_Trigger_Edge_GetAccessStatus{};
848  dyn_peak_Trigger_Edge_GetList m_peak_Trigger_Edge_GetList{};
849  dyn_peak_Trigger_Edge_Set m_peak_Trigger_Edge_Set{};
850  dyn_peak_Trigger_Edge_Get m_peak_Trigger_Edge_Get{};
851  dyn_peak_Trigger_Delay_GetAccessStatus m_peak_Trigger_Delay_GetAccessStatus{};
852  dyn_peak_Trigger_Delay_GetRange m_peak_Trigger_Delay_GetRange{};
853  dyn_peak_Trigger_Delay_Set m_peak_Trigger_Delay_Set{};
854  dyn_peak_Trigger_Delay_Get m_peak_Trigger_Delay_Get{};
855  dyn_peak_Trigger_Divider_GetAccessStatus m_peak_Trigger_Divider_GetAccessStatus{};
856  dyn_peak_Trigger_Divider_GetRange m_peak_Trigger_Divider_GetRange{};
857  dyn_peak_Trigger_Divider_Set m_peak_Trigger_Divider_Set{};
858  dyn_peak_Trigger_Divider_Get m_peak_Trigger_Divider_Get{};
859  dyn_peak_Trigger_Burst_GetAccessStatus m_peak_Trigger_Burst_GetAccessStatus{};
860  dyn_peak_Trigger_Burst_GetRange m_peak_Trigger_Burst_GetRange{};
861  dyn_peak_Trigger_Burst_Set m_peak_Trigger_Burst_Set{};
862  dyn_peak_Trigger_Burst_Get m_peak_Trigger_Burst_Get{};
863  dyn_peak_Flash_GetAccessStatus m_peak_Flash_GetAccessStatus{};
864  dyn_peak_Flash_Enable m_peak_Flash_Enable{};
865  dyn_peak_Flash_IsEnabled m_peak_Flash_IsEnabled{};
866  dyn_peak_Flash_Mode_GetAccessStatus m_peak_Flash_Mode_GetAccessStatus{};
867  dyn_peak_Flash_Mode_Set m_peak_Flash_Mode_Set{};
868  dyn_peak_Flash_Mode_Get m_peak_Flash_Mode_Get{};
869  dyn_peak_Flash_StartDelay_GetAccessStatus m_peak_Flash_StartDelay_GetAccessStatus{};
870  dyn_peak_Flash_StartDelay_GetRange m_peak_Flash_StartDelay_GetRange{};
871  dyn_peak_Flash_StartDelay_Set m_peak_Flash_StartDelay_Set{};
872  dyn_peak_Flash_StartDelay_Get m_peak_Flash_StartDelay_Get{};
873  dyn_peak_Flash_EndDelay_GetAccessStatus m_peak_Flash_EndDelay_GetAccessStatus{};
874  dyn_peak_Flash_EndDelay_GetRange m_peak_Flash_EndDelay_GetRange{};
875  dyn_peak_Flash_EndDelay_Set m_peak_Flash_EndDelay_Set{};
876  dyn_peak_Flash_EndDelay_Get m_peak_Flash_EndDelay_Get{};
877  dyn_peak_Flash_Duration_GetAccessStatus m_peak_Flash_Duration_GetAccessStatus{};
878  dyn_peak_Flash_Duration_GetRange m_peak_Flash_Duration_GetRange{};
879  dyn_peak_Flash_Duration_Set m_peak_Flash_Duration_Set{};
880  dyn_peak_Flash_Duration_Get m_peak_Flash_Duration_Get{};
881  dyn_peak_Focus_GetAccessStatus m_peak_Focus_GetAccessStatus{};
882  dyn_peak_Focus_GetRange m_peak_Focus_GetRange{};
883  dyn_peak_Focus_Set m_peak_Focus_Set{};
884  dyn_peak_Focus_Get m_peak_Focus_Get{};
885  dyn_peak_PixelFormat_GetAccessStatus m_peak_PixelFormat_GetAccessStatus{};
886  dyn_peak_PixelFormat_GetList m_peak_PixelFormat_GetList{};
887  dyn_peak_PixelFormat_Set m_peak_PixelFormat_Set{};
888  dyn_peak_PixelFormat_Get m_peak_PixelFormat_Get{};
889  dyn_peak_Gain_GetAccessStatus m_peak_Gain_GetAccessStatus{};
890  dyn_peak_Gain_GetChannelList m_peak_Gain_GetChannelList{};
891  dyn_peak_Gain_GetRange m_peak_Gain_GetRange{};
892  dyn_peak_Gain_Set m_peak_Gain_Set{};
893  dyn_peak_Gain_Get m_peak_Gain_Get{};
894  dyn_peak_Gamma_GetAccessStatus m_peak_Gamma_GetAccessStatus{};
895  dyn_peak_Gamma_GetRange m_peak_Gamma_GetRange{};
896  dyn_peak_Gamma_Set m_peak_Gamma_Set{};
897  dyn_peak_Gamma_Get m_peak_Gamma_Get{};
898  dyn_peak_ColorCorrection_GetAccessStatus m_peak_ColorCorrection_GetAccessStatus{};
899  dyn_peak_ColorCorrection_Mode_GetList m_peak_ColorCorrection_Mode_GetList{};
900  dyn_peak_ColorCorrection_Mode_Set m_peak_ColorCorrection_Mode_Set{};
901  dyn_peak_ColorCorrection_Mode_Get m_peak_ColorCorrection_Mode_Get{};
902  dyn_peak_ColorCorrection_Matrix_GetAccessStatus m_peak_ColorCorrection_Matrix_GetAccessStatus{};
903  dyn_peak_ColorCorrection_Matrix_GetRange m_peak_ColorCorrection_Matrix_GetRange{};
904  dyn_peak_ColorCorrection_Matrix_Set m_peak_ColorCorrection_Matrix_Set{};
905  dyn_peak_ColorCorrection_Matrix_Get m_peak_ColorCorrection_Matrix_Get{};
906  dyn_peak_ColorCorrection_Enable m_peak_ColorCorrection_Enable{};
907  dyn_peak_ColorCorrection_IsEnabled m_peak_ColorCorrection_IsEnabled{};
908  dyn_peak_AutoBrightness_GetAccessStatus m_peak_AutoBrightness_GetAccessStatus{};
909  dyn_peak_AutoBrightness_Target_GetRange m_peak_AutoBrightness_Target_GetRange{};
910  dyn_peak_AutoBrightness_Target_Set m_peak_AutoBrightness_Target_Set{};
911  dyn_peak_AutoBrightness_Target_Get m_peak_AutoBrightness_Target_Get{};
912  dyn_peak_AutoBrightness_TargetTolerance_GetRange m_peak_AutoBrightness_TargetTolerance_GetRange{};
913  dyn_peak_AutoBrightness_TargetTolerance_Set m_peak_AutoBrightness_TargetTolerance_Set{};
914  dyn_peak_AutoBrightness_TargetTolerance_Get m_peak_AutoBrightness_TargetTolerance_Get{};
915  dyn_peak_AutoBrightness_TargetPercentile_GetRange m_peak_AutoBrightness_TargetPercentile_GetRange{};
916  dyn_peak_AutoBrightness_TargetPercentile_Set m_peak_AutoBrightness_TargetPercentile_Set{};
917  dyn_peak_AutoBrightness_TargetPercentile_Get m_peak_AutoBrightness_TargetPercentile_Get{};
918  dyn_peak_AutoBrightness_ROI_Mode_Set m_peak_AutoBrightness_ROI_Mode_Set{};
919  dyn_peak_AutoBrightness_ROI_Mode_Get m_peak_AutoBrightness_ROI_Mode_Get{};
920  dyn_peak_AutoBrightness_ROI_Offset_GetRange m_peak_AutoBrightness_ROI_Offset_GetRange{};
921  dyn_peak_AutoBrightness_ROI_Size_GetRange m_peak_AutoBrightness_ROI_Size_GetRange{};
922  dyn_peak_AutoBrightness_ROI_Set m_peak_AutoBrightness_ROI_Set{};
923  dyn_peak_AutoBrightness_ROI_Get m_peak_AutoBrightness_ROI_Get{};
924  dyn_peak_AutoBrightness_Exposure_GetAccessStatus m_peak_AutoBrightness_Exposure_GetAccessStatus{};
925  dyn_peak_AutoBrightness_Exposure_Mode_Set m_peak_AutoBrightness_Exposure_Mode_Set{};
926  dyn_peak_AutoBrightness_Exposure_Mode_Get m_peak_AutoBrightness_Exposure_Mode_Get{};
927  dyn_peak_AutoBrightness_Gain_GetAccessStatus m_peak_AutoBrightness_Gain_GetAccessStatus{};
928  dyn_peak_AutoBrightness_Gain_Mode_Set m_peak_AutoBrightness_Gain_Mode_Set{};
929  dyn_peak_AutoBrightness_Gain_Mode_Get m_peak_AutoBrightness_Gain_Mode_Get{};
930  dyn_peak_AutoWhiteBalance_GetAccessStatus m_peak_AutoWhiteBalance_GetAccessStatus{};
931  dyn_peak_AutoWhiteBalance_ROI_Mode_Set m_peak_AutoWhiteBalance_ROI_Mode_Set{};
932  dyn_peak_AutoWhiteBalance_ROI_Mode_Get m_peak_AutoWhiteBalance_ROI_Mode_Get{};
933  dyn_peak_AutoWhiteBalance_ROI_Offset_GetRange m_peak_AutoWhiteBalance_ROI_Offset_GetRange{};
934  dyn_peak_AutoWhiteBalance_ROI_Size_GetRange m_peak_AutoWhiteBalance_ROI_Size_GetRange{};
935  dyn_peak_AutoWhiteBalance_ROI_Set m_peak_AutoWhiteBalance_ROI_Set{};
936  dyn_peak_AutoWhiteBalance_ROI_Get m_peak_AutoWhiteBalance_ROI_Get{};
937  dyn_peak_AutoWhiteBalance_Mode_Set m_peak_AutoWhiteBalance_Mode_Set{};
938  dyn_peak_AutoWhiteBalance_Mode_Get m_peak_AutoWhiteBalance_Mode_Get{};
939  dyn_peak_ROI_GetAccessStatus m_peak_ROI_GetAccessStatus{};
940  dyn_peak_ROI_Offset_GetRange m_peak_ROI_Offset_GetRange{};
941  dyn_peak_ROI_Size_GetRange m_peak_ROI_Size_GetRange{};
942  dyn_peak_ROI_Set m_peak_ROI_Set{};
943  dyn_peak_ROI_Get m_peak_ROI_Get{};
944  dyn_peak_Binning_GetAccessStatus m_peak_Binning_GetAccessStatus{};
945  dyn_peak_Binning_FactorX_GetList m_peak_Binning_FactorX_GetList{};
946  dyn_peak_Binning_FactorY_GetList m_peak_Binning_FactorY_GetList{};
947  dyn_peak_Binning_Set m_peak_Binning_Set{};
948  dyn_peak_Binning_Get m_peak_Binning_Get{};
949  dyn_peak_Decimation_GetAccessStatus m_peak_Decimation_GetAccessStatus{};
950  dyn_peak_Decimation_FactorX_GetList m_peak_Decimation_FactorX_GetList{};
951  dyn_peak_Decimation_FactorY_GetList m_peak_Decimation_FactorY_GetList{};
952  dyn_peak_Decimation_Set m_peak_Decimation_Set{};
953  dyn_peak_Decimation_Get m_peak_Decimation_Get{};
954  dyn_peak_Mirror_LeftRight_GetAccessStatus m_peak_Mirror_LeftRight_GetAccessStatus{};
955  dyn_peak_Mirror_LeftRight_Enable m_peak_Mirror_LeftRight_Enable{};
956  dyn_peak_Mirror_LeftRight_IsEnabled m_peak_Mirror_LeftRight_IsEnabled{};
957  dyn_peak_Mirror_UpDown_GetAccessStatus m_peak_Mirror_UpDown_GetAccessStatus{};
958  dyn_peak_Mirror_UpDown_Enable m_peak_Mirror_UpDown_Enable{};
959  dyn_peak_Mirror_UpDown_IsEnabled m_peak_Mirror_UpDown_IsEnabled{};
960  dyn_peak_CameraMemory_Area_GetAccessStatus m_peak_CameraMemory_Area_GetAccessStatus{};
961  dyn_peak_CameraMemory_Area_GetList m_peak_CameraMemory_Area_GetList{};
962  dyn_peak_CameraMemory_Area_Size_Get m_peak_CameraMemory_Area_Size_Get{};
963  dyn_peak_CameraMemory_Area_Data_Clear m_peak_CameraMemory_Area_Data_Clear{};
964  dyn_peak_CameraMemory_Area_Data_Write m_peak_CameraMemory_Area_Data_Write{};
965  dyn_peak_CameraMemory_Area_Data_Read m_peak_CameraMemory_Area_Data_Read{};
966  dyn_peak_GFA_EnableWriteAccess m_peak_GFA_EnableWriteAccess{};
967  dyn_peak_GFA_IsWriteAccessEnabled m_peak_GFA_IsWriteAccessEnabled{};
968  dyn_peak_GFA_Feature_GetAccessStatus m_peak_GFA_Feature_GetAccessStatus{};
969  dyn_peak_GFA_Float_HasRange m_peak_GFA_Float_HasRange{};
970  dyn_peak_GFA_Float_GetRange m_peak_GFA_Float_GetRange{};
971  dyn_peak_GFA_Float_GetList m_peak_GFA_Float_GetList{};
972  dyn_peak_GFA_Float_Set m_peak_GFA_Float_Set{};
973  dyn_peak_GFA_Float_Get m_peak_GFA_Float_Get{};
974  dyn_peak_GFA_Integer_HasRange m_peak_GFA_Integer_HasRange{};
975  dyn_peak_GFA_Integer_GetRange m_peak_GFA_Integer_GetRange{};
976  dyn_peak_GFA_Integer_GetList m_peak_GFA_Integer_GetList{};
977  dyn_peak_GFA_Integer_Set m_peak_GFA_Integer_Set{};
978  dyn_peak_GFA_Integer_Get m_peak_GFA_Integer_Get{};
979  dyn_peak_GFA_Boolean_Set m_peak_GFA_Boolean_Set{};
980  dyn_peak_GFA_Boolean_Get m_peak_GFA_Boolean_Get{};
981  dyn_peak_GFA_String_Set m_peak_GFA_String_Set{};
982  dyn_peak_GFA_String_Get m_peak_GFA_String_Get{};
983  dyn_peak_GFA_Command_Execute m_peak_GFA_Command_Execute{};
984  dyn_peak_GFA_Command_WaitForDone m_peak_GFA_Command_WaitForDone{};
985  dyn_peak_GFA_Enumeration_GetList m_peak_GFA_Enumeration_GetList{};
986  dyn_peak_GFA_EnumerationEntry_GetAccessStatus m_peak_GFA_EnumerationEntry_GetAccessStatus{};
987  dyn_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue{};
988  dyn_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue{};
989  dyn_peak_GFA_Enumeration_Set m_peak_GFA_Enumeration_Set{};
990  dyn_peak_GFA_Enumeration_SetBySymbolicValue m_peak_GFA_Enumeration_SetBySymbolicValue{};
991  dyn_peak_GFA_Enumeration_SetByIntegerValue m_peak_GFA_Enumeration_SetByIntegerValue{};
992  dyn_peak_GFA_Enumeration_Get m_peak_GFA_Enumeration_Get{};
993  dyn_peak_GFA_Register_Set m_peak_GFA_Register_Set{};
994  dyn_peak_GFA_Register_Get m_peak_GFA_Register_Get{};
995  dyn_peak_GFA_Data_Write m_peak_GFA_Data_Write{};
996  dyn_peak_GFA_Data_Read m_peak_GFA_Data_Read{};
997  dyn_peak_IPL_PixelFormat_GetList m_peak_IPL_PixelFormat_GetList{};
998  dyn_peak_IPL_PixelFormat_Set m_peak_IPL_PixelFormat_Set{};
999  dyn_peak_IPL_PixelFormat_Get m_peak_IPL_PixelFormat_Get{};
1000  dyn_peak_IPL_Gain_GetRange m_peak_IPL_Gain_GetRange{};
1001  dyn_peak_IPL_Gain_Set m_peak_IPL_Gain_Set{};
1002  dyn_peak_IPL_Gain_Get m_peak_IPL_Gain_Get{};
1003  dyn_peak_IPL_Gamma_GetRange m_peak_IPL_Gamma_GetRange{};
1004  dyn_peak_IPL_Gamma_Set m_peak_IPL_Gamma_Set{};
1005  dyn_peak_IPL_Gamma_Get m_peak_IPL_Gamma_Get{};
1006  dyn_peak_IPL_ColorCorrection_Matrix_Set m_peak_IPL_ColorCorrection_Matrix_Set{};
1007  dyn_peak_IPL_ColorCorrection_Matrix_Get m_peak_IPL_ColorCorrection_Matrix_Get{};
1008  dyn_peak_IPL_ColorCorrection_Saturation_Get m_peak_IPL_ColorCorrection_Saturation_Get{};
1009  dyn_peak_IPL_ColorCorrection_Saturation_Set m_peak_IPL_ColorCorrection_Saturation_Set{};
1010  dyn_peak_IPL_ColorCorrection_Saturation_GetRange m_peak_IPL_ColorCorrection_Saturation_GetRange{};
1011  dyn_peak_IPL_ColorCorrection_Enable m_peak_IPL_ColorCorrection_Enable{};
1012  dyn_peak_IPL_ColorCorrection_IsEnabled m_peak_IPL_ColorCorrection_IsEnabled{};
1013  dyn_peak_IPL_AutoBrightness_Target_GetRange m_peak_IPL_AutoBrightness_Target_GetRange{};
1014  dyn_peak_IPL_AutoBrightness_Target_Set m_peak_IPL_AutoBrightness_Target_Set{};
1015  dyn_peak_IPL_AutoBrightness_Target_Get m_peak_IPL_AutoBrightness_Target_Get{};
1016  dyn_peak_IPL_AutoBrightness_TargetTolerance_GetRange m_peak_IPL_AutoBrightness_TargetTolerance_GetRange{};
1017  dyn_peak_IPL_AutoBrightness_TargetTolerance_Set m_peak_IPL_AutoBrightness_TargetTolerance_Set{};
1018  dyn_peak_IPL_AutoBrightness_TargetTolerance_Get m_peak_IPL_AutoBrightness_TargetTolerance_Get{};
1019  dyn_peak_IPL_AutoBrightness_TargetPercentile_GetRange m_peak_IPL_AutoBrightness_TargetPercentile_GetRange{};
1020  dyn_peak_IPL_AutoBrightness_TargetPercentile_Set m_peak_IPL_AutoBrightness_TargetPercentile_Set{};
1021  dyn_peak_IPL_AutoBrightness_TargetPercentile_Get m_peak_IPL_AutoBrightness_TargetPercentile_Get{};
1022  dyn_peak_IPL_AutoBrightness_ROI_Mode_Set m_peak_IPL_AutoBrightness_ROI_Mode_Set{};
1023  dyn_peak_IPL_AutoBrightness_ROI_Mode_Get m_peak_IPL_AutoBrightness_ROI_Mode_Get{};
1024  dyn_peak_IPL_AutoBrightness_ROI_Offset_GetRange m_peak_IPL_AutoBrightness_ROI_Offset_GetRange{};
1025  dyn_peak_IPL_AutoBrightness_ROI_Size_GetRange m_peak_IPL_AutoBrightness_ROI_Size_GetRange{};
1026  dyn_peak_IPL_AutoBrightness_ROI_Set m_peak_IPL_AutoBrightness_ROI_Set{};
1027  dyn_peak_IPL_AutoBrightness_ROI_Get m_peak_IPL_AutoBrightness_ROI_Get{};
1028  dyn_peak_IPL_AutoBrightness_Exposure_Mode_Set m_peak_IPL_AutoBrightness_Exposure_Mode_Set{};
1029  dyn_peak_IPL_AutoBrightness_Exposure_Mode_Get m_peak_IPL_AutoBrightness_Exposure_Mode_Get{};
1030  dyn_peak_IPL_AutoBrightness_Gain_Mode_Set m_peak_IPL_AutoBrightness_Gain_Mode_Set{};
1031  dyn_peak_IPL_AutoBrightness_Gain_Mode_Get m_peak_IPL_AutoBrightness_Gain_Mode_Get{};
1032  dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Set m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set{};
1033  dyn_peak_IPL_AutoWhiteBalance_ROI_Mode_Get m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get{};
1034  dyn_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange{};
1035  dyn_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange{};
1036  dyn_peak_IPL_AutoWhiteBalance_ROI_Set m_peak_IPL_AutoWhiteBalance_ROI_Set{};
1037  dyn_peak_IPL_AutoWhiteBalance_ROI_Get m_peak_IPL_AutoWhiteBalance_ROI_Get{};
1038  dyn_peak_IPL_AutoWhiteBalance_Mode_Set m_peak_IPL_AutoWhiteBalance_Mode_Set{};
1039  dyn_peak_IPL_AutoWhiteBalance_Mode_Get m_peak_IPL_AutoWhiteBalance_Mode_Get{};
1040  dyn_peak_IPL_AutoFocus_GetAccessStatus m_peak_IPL_AutoFocus_GetAccessStatus{};
1041  dyn_peak_IPL_AutoFocus_ROI_Set m_peak_IPL_AutoFocus_ROI_Set{};
1042  dyn_peak_IPL_AutoFocus_ROI_Get m_peak_IPL_AutoFocus_ROI_Get{};
1043  dyn_peak_IPL_AutoFocus_Mode_Set m_peak_IPL_AutoFocus_Mode_Set{};
1044  dyn_peak_IPL_AutoFocus_Mode_Get m_peak_IPL_AutoFocus_Mode_Get{};
1045  dyn_peak_IPL_AutoFocus_SearchAlgorithm_Set m_peak_IPL_AutoFocus_SearchAlgorithm_Set{};
1046  dyn_peak_IPL_AutoFocus_SearchAlgorithm_Get m_peak_IPL_AutoFocus_SearchAlgorithm_Get{};
1047  dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Set m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set{};
1048  dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Get m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get{};
1049  dyn_peak_IPL_AutoFocus_Range_Set m_peak_IPL_AutoFocus_Range_Set{};
1050  dyn_peak_IPL_AutoFocus_Range_Get m_peak_IPL_AutoFocus_Range_Get{};
1051  dyn_peak_IPL_AutoFocus_Hysteresis_Set m_peak_IPL_AutoFocus_Hysteresis_Set{};
1052  dyn_peak_IPL_AutoFocus_Hysteresis_Get m_peak_IPL_AutoFocus_Hysteresis_Get{};
1053  dyn_peak_IPL_AutoFocus_Hysteresis_GetRange m_peak_IPL_AutoFocus_Hysteresis_GetRange{};
1054  dyn_peak_IPL_HotpixelCorrection_Sensitivity_Set m_peak_IPL_HotpixelCorrection_Sensitivity_Set{};
1055  dyn_peak_IPL_HotpixelCorrection_Sensitivity_Get m_peak_IPL_HotpixelCorrection_Sensitivity_Get{};
1056  dyn_peak_IPL_HotpixelCorrection_GetList m_peak_IPL_HotpixelCorrection_GetList{};
1057  dyn_peak_IPL_HotpixelCorrection_SetList m_peak_IPL_HotpixelCorrection_SetList{};
1058  dyn_peak_IPL_HotpixelCorrection_ResetList m_peak_IPL_HotpixelCorrection_ResetList{};
1059  dyn_peak_IPL_HotpixelCorrection_Enable m_peak_IPL_HotpixelCorrection_Enable{};
1060  dyn_peak_IPL_HotpixelCorrection_IsEnabled m_peak_IPL_HotpixelCorrection_IsEnabled{};
1061  dyn_peak_IPL_Mirror_UpDown_Enable m_peak_IPL_Mirror_UpDown_Enable{};
1062  dyn_peak_IPL_Mirror_UpDown_IsEnabled m_peak_IPL_Mirror_UpDown_IsEnabled{};
1063  dyn_peak_IPL_Mirror_LeftRight_Enable m_peak_IPL_Mirror_LeftRight_Enable{};
1064  dyn_peak_IPL_Mirror_LeftRight_IsEnabled m_peak_IPL_Mirror_LeftRight_IsEnabled{};
1065  dyn_peak_IPL_ProcessFrame m_peak_IPL_ProcessFrame{};
1066  dyn_peak_IPL_ProcessFrameInplace m_peak_IPL_ProcessFrameInplace{};
1067  dyn_peak_IPL_EdgeEnhancement_Enable m_peak_IPL_EdgeEnhancement_Enable{};
1068  dyn_peak_IPL_EdgeEnhancement_IsEnabled m_peak_IPL_EdgeEnhancement_IsEnabled{};
1069  dyn_peak_IPL_EdgeEnhancement_Factor_Set m_peak_IPL_EdgeEnhancement_Factor_Set{};
1070  dyn_peak_IPL_EdgeEnhancement_Factor_Get m_peak_IPL_EdgeEnhancement_Factor_Get{};
1071  dyn_peak_IPL_EdgeEnhancement_Factor_GetDefault m_peak_IPL_EdgeEnhancement_Factor_GetDefault{};
1072  dyn_peak_IPL_EdgeEnhancement_Factor_GetRange m_peak_IPL_EdgeEnhancement_Factor_GetRange{};
1073  dyn_peak_IPL_Sharpness_Measure m_peak_IPL_Sharpness_Measure{};
1074  dyn_peak_VideoWriter_Open m_peak_VideoWriter_Open{};
1075  dyn_peak_VideoWriter_Close m_peak_VideoWriter_Close{};
1076  dyn_peak_VideoWriter_AddFrame m_peak_VideoWriter_AddFrame{};
1077  dyn_peak_VideoWriter_Container_GetEncoderList m_peak_VideoWriter_Container_GetEncoderList{};
1078  dyn_peak_VideoWriter_Encoder_GetPixelFormatList m_peak_VideoWriter_Encoder_GetPixelFormatList{};
1079  dyn_peak_VideoWriter_Encoder_GetContainerList m_peak_VideoWriter_Encoder_GetContainerList{};
1080  dyn_peak_VideoWriter_GetInfo m_peak_VideoWriter_GetInfo{};
1081  dyn_peak_VideoWriter_Container_Option_Set m_peak_VideoWriter_Container_Option_Set{};
1082  dyn_peak_VideoWriter_Container_Option_Get m_peak_VideoWriter_Container_Option_Get{};
1083  dyn_peak_VideoWriter_Encoder_Option_Set m_peak_VideoWriter_Encoder_Option_Set{};
1084  dyn_peak_VideoWriter_Encoder_Option_Get m_peak_VideoWriter_Encoder_Option_Get{};
1085  dyn_peak_VideoWriter_WaitUntilQueueEmpty m_peak_VideoWriter_WaitUntilQueueEmpty{};
1086  dyn_peak_Inference_CNN_Open m_peak_Inference_CNN_Open{};
1087  dyn_peak_Inference_CNN_Close m_peak_Inference_CNN_Close{};
1088  dyn_peak_Inference_CNN_ProcessFrame m_peak_Inference_CNN_ProcessFrame{};
1089  dyn_peak_Inference_CNN_Info_Get m_peak_Inference_CNN_Info_Get{};
1090  dyn_peak_Inference_Result_Get m_peak_Inference_Result_Get{};
1091  dyn_peak_Inference_Result_Release m_peak_Inference_Result_Release{};
1092  dyn_peak_Inference_Result_Classification_GetList m_peak_Inference_Result_Classification_GetList{};
1093  dyn_peak_Inference_Result_Detection_GetList m_peak_Inference_Result_Detection_GetList{};
1094  dyn_peak_Inference_Statistics_Get m_peak_Inference_Statistics_Get{};
1095  dyn_peak_Inference_Statistics_Reset m_peak_Inference_Statistics_Reset{};
1096  dyn_peak_Inference_ConfidenceThreshold_Get m_peak_Inference_ConfidenceThreshold_Get{};
1097  dyn_peak_Inference_ConfidenceThreshold_GetRange m_peak_Inference_ConfidenceThreshold_GetRange{};
1098  dyn_peak_Inference_ConfidenceThreshold_Set m_peak_Inference_ConfidenceThreshold_Set{};
1099 
1100 };
1101 
1102 inline void* import_function(void *module, const char* proc_name)
1103 {
1104 #ifdef __linux__
1105  return dlsym(module, proc_name);
1106 #else
1107  return GetProcAddress(static_cast<HMODULE>(module), proc_name);
1108 #endif
1109 }
1110 
1111 inline DynamicLoader::DynamicLoader()
1112 {
1113 #if defined _WIN32 || defined _WIN64
1114  size_t sz = 0;
1115  if (_wgetenv_s(&sz, NULL, 0, L"IDS_PEAK_COMFORT_SDK_PATH") == 0
1116  && sz > 0)
1117  {
1118  std::vector<wchar_t> env_ids_peak_comfort_c(sz);
1119  if (_wgetenv_s(&sz, env_ids_peak_comfort_c.data(), sz, L"IDS_PEAK_COMFORT_SDK_PATH") == 0)
1120  {
1121  if (_wgetenv_s(&sz, NULL, 0, L"PATH") == 0
1122  && sz > 0)
1123  {
1124  std::vector<wchar_t> env_path(sz);
1125  if (_wgetenv_s(&sz, env_path.data(), sz, L"PATH") == 0)
1126  {
1127  std::wstring ids_peak_comfort_c_path(env_ids_peak_comfort_c.data());
1128 #ifdef _WIN64
1129  ids_peak_comfort_c_path.append(L"\\api\\lib\\x86_64");
1130 #else
1131  ids_peak_comfort_c_path.append(L"\\api\\lib\\x86_32");
1132 #endif
1133  std::wstring path_var(env_path.data());
1134  path_var.append(L";").append(ids_peak_comfort_c_path);
1135  _wputenv_s(L"PATH", path_var.c_str());
1136  }
1137  }
1138  }
1139  }
1140 
1141  loadLib("ids_peak_comfort_c.dll");
1142 #else
1143  loadLib("libids_peak_comfort_c.so");
1144 #endif
1145 }
1146 
1147 inline DynamicLoader::~DynamicLoader()
1148 {
1149  if(m_handle != nullptr)
1150  {
1151  unload();
1152  }
1153 }
1154 
1155 inline bool DynamicLoader::isLoaded()
1156 {
1157  auto&& inst = instance();
1158  return inst.m_handle != nullptr;
1159 }
1160 
1161 inline void DynamicLoader::unload()
1162 {
1163  setPointers(false);
1164 
1165  if (m_handle != nullptr)
1166  {
1167 #ifdef __linux__
1168  dlclose(m_handle);
1169 #else
1170  FreeLibrary(static_cast<HMODULE>(m_handle));
1171 #endif
1172  }
1173  m_handle = nullptr;
1174 }
1175 
1176 
1177 inline bool DynamicLoader::loadLib(const char* file)
1178 {
1179  bool ret = false;
1180 
1181  if (file)
1182  {
1183 #ifdef __linux__
1184  m_handle = dlopen(file, RTLD_NOW);
1185 #else
1186  m_handle = LoadLibraryA(file);
1187 #endif
1188  if (m_handle != nullptr)
1189  {
1190  try {
1191  setPointers(true);
1192  ret = true;
1193  } catch (const std::exception&) {
1194  unload();
1195  throw;
1196  }
1197  }
1198  else
1199  {
1200  throw std::runtime_error(std::string("Lib load failed: ") + file);
1201  }
1202  }
1203  else
1204  {
1205  throw std::runtime_error("Filename empty");
1206  }
1207 
1208  return ret;
1209 }
1210 
1211 inline bool DynamicLoader::setPointers(bool load)
1212 {
1213 
1214  m_peak_Library_Init = (dyn_peak_Library_Init) (load ? import_function(m_handle, "peak_Library_Init") : nullptr);
1215  if(m_peak_Library_Init == nullptr && load)
1216  {
1217  throw std::runtime_error("Failed to load peak_Library_Init");
1218  }
1219 
1220  m_peak_Library_Exit = (dyn_peak_Library_Exit) (load ? import_function(m_handle, "peak_Library_Exit") : nullptr);
1221  if(m_peak_Library_Exit == nullptr && load)
1222  {
1223  throw std::runtime_error("Failed to load peak_Library_Exit");
1224  }
1225 
1226  m_peak_Library_GetVersion = (dyn_peak_Library_GetVersion) (load ? import_function(m_handle, "peak_Library_GetVersion") : nullptr);
1227  if(m_peak_Library_GetVersion == nullptr && load)
1228  {
1229  throw std::runtime_error("Failed to load peak_Library_GetVersion");
1230  }
1231 
1232  m_peak_Library_GetLastError = (dyn_peak_Library_GetLastError) (load ? import_function(m_handle, "peak_Library_GetLastError") : nullptr);
1233  if(m_peak_Library_GetLastError == nullptr && load)
1234  {
1235  throw std::runtime_error("Failed to load peak_Library_GetLastError");
1236  }
1237 
1238  m_peak_CameraList_Update = (dyn_peak_CameraList_Update) (load ? import_function(m_handle, "peak_CameraList_Update") : nullptr);
1239  if(m_peak_CameraList_Update == nullptr && load)
1240  {
1241  throw std::runtime_error("Failed to load peak_CameraList_Update");
1242  }
1243 
1244  m_peak_CameraList_Get = (dyn_peak_CameraList_Get) (load ? import_function(m_handle, "peak_CameraList_Get") : nullptr);
1245  if(m_peak_CameraList_Get == nullptr && load)
1246  {
1247  throw std::runtime_error("Failed to load peak_CameraList_Get");
1248  }
1249 
1250  m_peak_Camera_ID_FromHandle = (dyn_peak_Camera_ID_FromHandle) (load ? import_function(m_handle, "peak_Camera_ID_FromHandle") : nullptr);
1251  if(m_peak_Camera_ID_FromHandle == nullptr && load)
1252  {
1253  throw std::runtime_error("Failed to load peak_Camera_ID_FromHandle");
1254  }
1255 
1256  m_peak_Camera_ID_FromSerialNumber = (dyn_peak_Camera_ID_FromSerialNumber) (load ? import_function(m_handle, "peak_Camera_ID_FromSerialNumber") : nullptr);
1257  if(m_peak_Camera_ID_FromSerialNumber == nullptr && load)
1258  {
1259  throw std::runtime_error("Failed to load peak_Camera_ID_FromSerialNumber");
1260  }
1261 
1262  m_peak_Camera_ID_FromUserDefinedName = (dyn_peak_Camera_ID_FromUserDefinedName) (load ? import_function(m_handle, "peak_Camera_ID_FromUserDefinedName") : nullptr);
1263  if(m_peak_Camera_ID_FromUserDefinedName == nullptr && load)
1264  {
1265  throw std::runtime_error("Failed to load peak_Camera_ID_FromUserDefinedName");
1266  }
1267 
1268  m_peak_Camera_ID_FromMAC = (dyn_peak_Camera_ID_FromMAC) (load ? import_function(m_handle, "peak_Camera_ID_FromMAC") : nullptr);
1269  if(m_peak_Camera_ID_FromMAC == nullptr && load)
1270  {
1271  throw std::runtime_error("Failed to load peak_Camera_ID_FromMAC");
1272  }
1273 
1274  m_peak_Camera_GetAccessStatus = (dyn_peak_Camera_GetAccessStatus) (load ? import_function(m_handle, "peak_Camera_GetAccessStatus") : nullptr);
1275  if(m_peak_Camera_GetAccessStatus == nullptr && load)
1276  {
1277  throw std::runtime_error("Failed to load peak_Camera_GetAccessStatus");
1278  }
1279 
1280  m_peak_Camera_GetDescriptor = (dyn_peak_Camera_GetDescriptor) (load ? import_function(m_handle, "peak_Camera_GetDescriptor") : nullptr);
1281  if(m_peak_Camera_GetDescriptor == nullptr && load)
1282  {
1283  throw std::runtime_error("Failed to load peak_Camera_GetDescriptor");
1284  }
1285 
1286  m_peak_Camera_Open = (dyn_peak_Camera_Open) (load ? import_function(m_handle, "peak_Camera_Open") : nullptr);
1287  if(m_peak_Camera_Open == nullptr && load)
1288  {
1289  throw std::runtime_error("Failed to load peak_Camera_Open");
1290  }
1291 
1292  m_peak_Camera_OpenFirstAvailable = (dyn_peak_Camera_OpenFirstAvailable) (load ? import_function(m_handle, "peak_Camera_OpenFirstAvailable") : nullptr);
1293  if(m_peak_Camera_OpenFirstAvailable == nullptr && load)
1294  {
1295  throw std::runtime_error("Failed to load peak_Camera_OpenFirstAvailable");
1296  }
1297 
1298  m_peak_Camera_Close = (dyn_peak_Camera_Close) (load ? import_function(m_handle, "peak_Camera_Close") : nullptr);
1299  if(m_peak_Camera_Close == nullptr && load)
1300  {
1301  throw std::runtime_error("Failed to load peak_Camera_Close");
1302  }
1303 
1304  m_peak_Camera_ResetToDefaultSettings = (dyn_peak_Camera_ResetToDefaultSettings) (load ? import_function(m_handle, "peak_Camera_ResetToDefaultSettings") : nullptr);
1305  if(m_peak_Camera_ResetToDefaultSettings == nullptr && load)
1306  {
1307  throw std::runtime_error("Failed to load peak_Camera_ResetToDefaultSettings");
1308  }
1309 
1310  m_peak_Camera_UserDefinedName_Set = (dyn_peak_Camera_UserDefinedName_Set) (load ? import_function(m_handle, "peak_Camera_UserDefinedName_Set") : nullptr);
1311  if(m_peak_Camera_UserDefinedName_Set == nullptr && load)
1312  {
1313  throw std::runtime_error("Failed to load peak_Camera_UserDefinedName_Set");
1314  }
1315 
1316  m_peak_Camera_UserDefinedName_Get = (dyn_peak_Camera_UserDefinedName_Get) (load ? import_function(m_handle, "peak_Camera_UserDefinedName_Get") : nullptr);
1317  if(m_peak_Camera_UserDefinedName_Get == nullptr && load)
1318  {
1319  throw std::runtime_error("Failed to load peak_Camera_UserDefinedName_Get");
1320  }
1321 
1322  m_peak_EthernetConfig_GetAccessStatus = (dyn_peak_EthernetConfig_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_GetAccessStatus") : nullptr);
1323  if(m_peak_EthernetConfig_GetAccessStatus == nullptr && load)
1324  {
1325  throw std::runtime_error("Failed to load peak_EthernetConfig_GetAccessStatus");
1326  }
1327 
1328  m_peak_EthernetConfig_GetInfo = (dyn_peak_EthernetConfig_GetInfo) (load ? import_function(m_handle, "peak_EthernetConfig_GetInfo") : nullptr);
1329  if(m_peak_EthernetConfig_GetInfo == nullptr && load)
1330  {
1331  throw std::runtime_error("Failed to load peak_EthernetConfig_GetInfo");
1332  }
1333 
1334  m_peak_EthernetConfig_DHCP_GetAccessStatus = (dyn_peak_EthernetConfig_DHCP_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_GetAccessStatus") : nullptr);
1335  if(m_peak_EthernetConfig_DHCP_GetAccessStatus == nullptr && load)
1336  {
1337  throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_GetAccessStatus");
1338  }
1339 
1340  m_peak_EthernetConfig_DHCP_Enable = (dyn_peak_EthernetConfig_DHCP_Enable) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_Enable") : nullptr);
1341  if(m_peak_EthernetConfig_DHCP_Enable == nullptr && load)
1342  {
1343  throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_Enable");
1344  }
1345 
1346  m_peak_EthernetConfig_DHCP_IsEnabled = (dyn_peak_EthernetConfig_DHCP_IsEnabled) (load ? import_function(m_handle, "peak_EthernetConfig_DHCP_IsEnabled") : nullptr);
1347  if(m_peak_EthernetConfig_DHCP_IsEnabled == nullptr && load)
1348  {
1349  throw std::runtime_error("Failed to load peak_EthernetConfig_DHCP_IsEnabled");
1350  }
1351 
1352  m_peak_EthernetConfig_PersistentIP_GetAccessStatus = (dyn_peak_EthernetConfig_PersistentIP_GetAccessStatus) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_GetAccessStatus") : nullptr);
1353  if(m_peak_EthernetConfig_PersistentIP_GetAccessStatus == nullptr && load)
1354  {
1355  throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_GetAccessStatus");
1356  }
1357 
1358  m_peak_EthernetConfig_PersistentIP_Set = (dyn_peak_EthernetConfig_PersistentIP_Set) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_Set") : nullptr);
1359  if(m_peak_EthernetConfig_PersistentIP_Set == nullptr && load)
1360  {
1361  throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_Set");
1362  }
1363 
1364  m_peak_EthernetConfig_PersistentIP_Get = (dyn_peak_EthernetConfig_PersistentIP_Get) (load ? import_function(m_handle, "peak_EthernetConfig_PersistentIP_Get") : nullptr);
1365  if(m_peak_EthernetConfig_PersistentIP_Get == nullptr && load)
1366  {
1367  throw std::runtime_error("Failed to load peak_EthernetConfig_PersistentIP_Get");
1368  }
1369 
1370  m_peak_Acquisition_Start = (dyn_peak_Acquisition_Start) (load ? import_function(m_handle, "peak_Acquisition_Start") : nullptr);
1371  if(m_peak_Acquisition_Start == nullptr && load)
1372  {
1373  throw std::runtime_error("Failed to load peak_Acquisition_Start");
1374  }
1375 
1376  m_peak_Acquisition_Stop = (dyn_peak_Acquisition_Stop) (load ? import_function(m_handle, "peak_Acquisition_Stop") : nullptr);
1377  if(m_peak_Acquisition_Stop == nullptr && load)
1378  {
1379  throw std::runtime_error("Failed to load peak_Acquisition_Stop");
1380  }
1381 
1382  m_peak_Acquisition_IsStarted = (dyn_peak_Acquisition_IsStarted) (load ? import_function(m_handle, "peak_Acquisition_IsStarted") : nullptr);
1383  if(m_peak_Acquisition_IsStarted == nullptr && load)
1384  {
1385  throw std::runtime_error("Failed to load peak_Acquisition_IsStarted");
1386  }
1387 
1388  m_peak_Acquisition_WaitForFrame = (dyn_peak_Acquisition_WaitForFrame) (load ? import_function(m_handle, "peak_Acquisition_WaitForFrame") : nullptr);
1389  if(m_peak_Acquisition_WaitForFrame == nullptr && load)
1390  {
1391  throw std::runtime_error("Failed to load peak_Acquisition_WaitForFrame");
1392  }
1393 
1394  m_peak_Acquisition_GetInfo = (dyn_peak_Acquisition_GetInfo) (load ? import_function(m_handle, "peak_Acquisition_GetInfo") : nullptr);
1395  if(m_peak_Acquisition_GetInfo == nullptr && load)
1396  {
1397  throw std::runtime_error("Failed to load peak_Acquisition_GetInfo");
1398  }
1399 
1400  m_peak_Acquisition_Buffer_GetRequiredSize = (dyn_peak_Acquisition_Buffer_GetRequiredSize) (load ? import_function(m_handle, "peak_Acquisition_Buffer_GetRequiredSize") : nullptr);
1401  if(m_peak_Acquisition_Buffer_GetRequiredSize == nullptr && load)
1402  {
1403  throw std::runtime_error("Failed to load peak_Acquisition_Buffer_GetRequiredSize");
1404  }
1405 
1406  m_peak_Acquisition_Buffer_GetRequiredCount = (dyn_peak_Acquisition_Buffer_GetRequiredCount) (load ? import_function(m_handle, "peak_Acquisition_Buffer_GetRequiredCount") : nullptr);
1407  if(m_peak_Acquisition_Buffer_GetRequiredCount == nullptr && load)
1408  {
1409  throw std::runtime_error("Failed to load peak_Acquisition_Buffer_GetRequiredCount");
1410  }
1411 
1412  m_peak_Acquisition_Buffer_Announce = (dyn_peak_Acquisition_Buffer_Announce) (load ? import_function(m_handle, "peak_Acquisition_Buffer_Announce") : nullptr);
1413  if(m_peak_Acquisition_Buffer_Announce == nullptr && load)
1414  {
1415  throw std::runtime_error("Failed to load peak_Acquisition_Buffer_Announce");
1416  }
1417 
1418  m_peak_Acquisition_Buffer_Revoke = (dyn_peak_Acquisition_Buffer_Revoke) (load ? import_function(m_handle, "peak_Acquisition_Buffer_Revoke") : nullptr);
1419  if(m_peak_Acquisition_Buffer_Revoke == nullptr && load)
1420  {
1421  throw std::runtime_error("Failed to load peak_Acquisition_Buffer_Revoke");
1422  }
1423 
1424  m_peak_Acquisition_Buffer_RevokeAll = (dyn_peak_Acquisition_Buffer_RevokeAll) (load ? import_function(m_handle, "peak_Acquisition_Buffer_RevokeAll") : nullptr);
1425  if(m_peak_Acquisition_Buffer_RevokeAll == nullptr && load)
1426  {
1427  throw std::runtime_error("Failed to load peak_Acquisition_Buffer_RevokeAll");
1428  }
1429 
1430  m_peak_PixelFormat_GetInfo = (dyn_peak_PixelFormat_GetInfo) (load ? import_function(m_handle, "peak_PixelFormat_GetInfo") : nullptr);
1431  if(m_peak_PixelFormat_GetInfo == nullptr && load)
1432  {
1433  throw std::runtime_error("Failed to load peak_PixelFormat_GetInfo");
1434  }
1435 
1436  m_peak_Frame_Release = (dyn_peak_Frame_Release) (load ? import_function(m_handle, "peak_Frame_Release") : nullptr);
1437  if(m_peak_Frame_Release == nullptr && load)
1438  {
1439  throw std::runtime_error("Failed to load peak_Frame_Release");
1440  }
1441 
1442  m_peak_Frame_GetInfo = (dyn_peak_Frame_GetInfo) (load ? import_function(m_handle, "peak_Frame_GetInfo") : nullptr);
1443  if(m_peak_Frame_GetInfo == nullptr && load)
1444  {
1445  throw std::runtime_error("Failed to load peak_Frame_GetInfo");
1446  }
1447 
1448  m_peak_Frame_Type_Get = (dyn_peak_Frame_Type_Get) (load ? import_function(m_handle, "peak_Frame_Type_Get") : nullptr);
1449  if(m_peak_Frame_Type_Get == nullptr && load)
1450  {
1451  throw std::runtime_error("Failed to load peak_Frame_Type_Get");
1452  }
1453 
1454  m_peak_Frame_Buffer_Get = (dyn_peak_Frame_Buffer_Get) (load ? import_function(m_handle, "peak_Frame_Buffer_Get") : nullptr);
1455  if(m_peak_Frame_Buffer_Get == nullptr && load)
1456  {
1457  throw std::runtime_error("Failed to load peak_Frame_Buffer_Get");
1458  }
1459 
1460  m_peak_Frame_ID_Get = (dyn_peak_Frame_ID_Get) (load ? import_function(m_handle, "peak_Frame_ID_Get") : nullptr);
1461  if(m_peak_Frame_ID_Get == nullptr && load)
1462  {
1463  throw std::runtime_error("Failed to load peak_Frame_ID_Get");
1464  }
1465 
1466  m_peak_Frame_Timestamp_Get = (dyn_peak_Frame_Timestamp_Get) (load ? import_function(m_handle, "peak_Frame_Timestamp_Get") : nullptr);
1467  if(m_peak_Frame_Timestamp_Get == nullptr && load)
1468  {
1469  throw std::runtime_error("Failed to load peak_Frame_Timestamp_Get");
1470  }
1471 
1472  m_peak_Frame_ROI_Get = (dyn_peak_Frame_ROI_Get) (load ? import_function(m_handle, "peak_Frame_ROI_Get") : nullptr);
1473  if(m_peak_Frame_ROI_Get == nullptr && load)
1474  {
1475  throw std::runtime_error("Failed to load peak_Frame_ROI_Get");
1476  }
1477 
1478  m_peak_Frame_PixelFormat_Get = (dyn_peak_Frame_PixelFormat_Get) (load ? import_function(m_handle, "peak_Frame_PixelFormat_Get") : nullptr);
1479  if(m_peak_Frame_PixelFormat_Get == nullptr && load)
1480  {
1481  throw std::runtime_error("Failed to load peak_Frame_PixelFormat_Get");
1482  }
1483 
1484  m_peak_Frame_IsComplete = (dyn_peak_Frame_IsComplete) (load ? import_function(m_handle, "peak_Frame_IsComplete") : nullptr);
1485  if(m_peak_Frame_IsComplete == nullptr && load)
1486  {
1487  throw std::runtime_error("Failed to load peak_Frame_IsComplete");
1488  }
1489 
1490  m_peak_Frame_BytesExpected_Get = (dyn_peak_Frame_BytesExpected_Get) (load ? import_function(m_handle, "peak_Frame_BytesExpected_Get") : nullptr);
1491  if(m_peak_Frame_BytesExpected_Get == nullptr && load)
1492  {
1493  throw std::runtime_error("Failed to load peak_Frame_BytesExpected_Get");
1494  }
1495 
1496  m_peak_Frame_BytesWritten_Get = (dyn_peak_Frame_BytesWritten_Get) (load ? import_function(m_handle, "peak_Frame_BytesWritten_Get") : nullptr);
1497  if(m_peak_Frame_BytesWritten_Get == nullptr && load)
1498  {
1499  throw std::runtime_error("Failed to load peak_Frame_BytesWritten_Get");
1500  }
1501 
1502  m_peak_Frame_ProcessingTime_Get = (dyn_peak_Frame_ProcessingTime_Get) (load ? import_function(m_handle, "peak_Frame_ProcessingTime_Get") : nullptr);
1503  if(m_peak_Frame_ProcessingTime_Get == nullptr && load)
1504  {
1505  throw std::runtime_error("Failed to load peak_Frame_ProcessingTime_Get");
1506  }
1507 
1508  m_peak_CameraSettings_ParameterSet_GetAccessStatus = (dyn_peak_CameraSettings_ParameterSet_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_GetAccessStatus") : nullptr);
1509  if(m_peak_CameraSettings_ParameterSet_GetAccessStatus == nullptr && load)
1510  {
1511  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_GetAccessStatus");
1512  }
1513 
1514  m_peak_CameraSettings_ParameterSet_GetList = (dyn_peak_CameraSettings_ParameterSet_GetList) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_GetList") : nullptr);
1515  if(m_peak_CameraSettings_ParameterSet_GetList == nullptr && load)
1516  {
1517  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_GetList");
1518  }
1519 
1520  m_peak_CameraSettings_ParameterSet_Store = (dyn_peak_CameraSettings_ParameterSet_Store) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Store") : nullptr);
1521  if(m_peak_CameraSettings_ParameterSet_Store == nullptr && load)
1522  {
1523  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Store");
1524  }
1525 
1526  m_peak_CameraSettings_ParameterSet_Apply = (dyn_peak_CameraSettings_ParameterSet_Apply) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Apply") : nullptr);
1527  if(m_peak_CameraSettings_ParameterSet_Apply == nullptr && load)
1528  {
1529  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Apply");
1530  }
1531 
1532  m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus = (dyn_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_GetAccessStatus") : nullptr);
1533  if(m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus == nullptr && load)
1534  {
1535  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_GetAccessStatus");
1536  }
1537 
1538  m_peak_CameraSettings_ParameterSet_Startup_Set = (dyn_peak_CameraSettings_ParameterSet_Startup_Set) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_Set") : nullptr);
1539  if(m_peak_CameraSettings_ParameterSet_Startup_Set == nullptr && load)
1540  {
1541  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_Set");
1542  }
1543 
1544  m_peak_CameraSettings_ParameterSet_Startup_Get = (dyn_peak_CameraSettings_ParameterSet_Startup_Get) (load ? import_function(m_handle, "peak_CameraSettings_ParameterSet_Startup_Get") : nullptr);
1545  if(m_peak_CameraSettings_ParameterSet_Startup_Get == nullptr && load)
1546  {
1547  throw std::runtime_error("Failed to load peak_CameraSettings_ParameterSet_Startup_Get");
1548  }
1549 
1550  m_peak_CameraSettings_DiskFile_GetAccessStatus = (dyn_peak_CameraSettings_DiskFile_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_GetAccessStatus") : nullptr);
1551  if(m_peak_CameraSettings_DiskFile_GetAccessStatus == nullptr && load)
1552  {
1553  throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_GetAccessStatus");
1554  }
1555 
1556  m_peak_CameraSettings_DiskFile_Store = (dyn_peak_CameraSettings_DiskFile_Store) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_Store") : nullptr);
1557  if(m_peak_CameraSettings_DiskFile_Store == nullptr && load)
1558  {
1559  throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_Store");
1560  }
1561 
1562  m_peak_CameraSettings_DiskFile_Apply = (dyn_peak_CameraSettings_DiskFile_Apply) (load ? import_function(m_handle, "peak_CameraSettings_DiskFile_Apply") : nullptr);
1563  if(m_peak_CameraSettings_DiskFile_Apply == nullptr && load)
1564  {
1565  throw std::runtime_error("Failed to load peak_CameraSettings_DiskFile_Apply");
1566  }
1567 
1568  m_peak_FrameRate_GetAccessStatus = (dyn_peak_FrameRate_GetAccessStatus) (load ? import_function(m_handle, "peak_FrameRate_GetAccessStatus") : nullptr);
1569  if(m_peak_FrameRate_GetAccessStatus == nullptr && load)
1570  {
1571  throw std::runtime_error("Failed to load peak_FrameRate_GetAccessStatus");
1572  }
1573 
1574  m_peak_FrameRate_GetRange = (dyn_peak_FrameRate_GetRange) (load ? import_function(m_handle, "peak_FrameRate_GetRange") : nullptr);
1575  if(m_peak_FrameRate_GetRange == nullptr && load)
1576  {
1577  throw std::runtime_error("Failed to load peak_FrameRate_GetRange");
1578  }
1579 
1580  m_peak_FrameRate_Set = (dyn_peak_FrameRate_Set) (load ? import_function(m_handle, "peak_FrameRate_Set") : nullptr);
1581  if(m_peak_FrameRate_Set == nullptr && load)
1582  {
1583  throw std::runtime_error("Failed to load peak_FrameRate_Set");
1584  }
1585 
1586  m_peak_FrameRate_Get = (dyn_peak_FrameRate_Get) (load ? import_function(m_handle, "peak_FrameRate_Get") : nullptr);
1587  if(m_peak_FrameRate_Get == nullptr && load)
1588  {
1589  throw std::runtime_error("Failed to load peak_FrameRate_Get");
1590  }
1591 
1592  m_peak_ExposureTime_GetAccessStatus = (dyn_peak_ExposureTime_GetAccessStatus) (load ? import_function(m_handle, "peak_ExposureTime_GetAccessStatus") : nullptr);
1593  if(m_peak_ExposureTime_GetAccessStatus == nullptr && load)
1594  {
1595  throw std::runtime_error("Failed to load peak_ExposureTime_GetAccessStatus");
1596  }
1597 
1598  m_peak_ExposureTime_GetRange = (dyn_peak_ExposureTime_GetRange) (load ? import_function(m_handle, "peak_ExposureTime_GetRange") : nullptr);
1599  if(m_peak_ExposureTime_GetRange == nullptr && load)
1600  {
1601  throw std::runtime_error("Failed to load peak_ExposureTime_GetRange");
1602  }
1603 
1604  m_peak_ExposureTime_Set = (dyn_peak_ExposureTime_Set) (load ? import_function(m_handle, "peak_ExposureTime_Set") : nullptr);
1605  if(m_peak_ExposureTime_Set == nullptr && load)
1606  {
1607  throw std::runtime_error("Failed to load peak_ExposureTime_Set");
1608  }
1609 
1610  m_peak_ExposureTime_Get = (dyn_peak_ExposureTime_Get) (load ? import_function(m_handle, "peak_ExposureTime_Get") : nullptr);
1611  if(m_peak_ExposureTime_Get == nullptr && load)
1612  {
1613  throw std::runtime_error("Failed to load peak_ExposureTime_Get");
1614  }
1615 
1616  m_peak_PixelClock_GetAccessStatus = (dyn_peak_PixelClock_GetAccessStatus) (load ? import_function(m_handle, "peak_PixelClock_GetAccessStatus") : nullptr);
1617  if(m_peak_PixelClock_GetAccessStatus == nullptr && load)
1618  {
1619  throw std::runtime_error("Failed to load peak_PixelClock_GetAccessStatus");
1620  }
1621 
1622  m_peak_PixelClock_HasRange = (dyn_peak_PixelClock_HasRange) (load ? import_function(m_handle, "peak_PixelClock_HasRange") : nullptr);
1623  if(m_peak_PixelClock_HasRange == nullptr && load)
1624  {
1625  throw std::runtime_error("Failed to load peak_PixelClock_HasRange");
1626  }
1627 
1628  m_peak_PixelClock_GetRange = (dyn_peak_PixelClock_GetRange) (load ? import_function(m_handle, "peak_PixelClock_GetRange") : nullptr);
1629  if(m_peak_PixelClock_GetRange == nullptr && load)
1630  {
1631  throw std::runtime_error("Failed to load peak_PixelClock_GetRange");
1632  }
1633 
1634  m_peak_PixelClock_GetList = (dyn_peak_PixelClock_GetList) (load ? import_function(m_handle, "peak_PixelClock_GetList") : nullptr);
1635  if(m_peak_PixelClock_GetList == nullptr && load)
1636  {
1637  throw std::runtime_error("Failed to load peak_PixelClock_GetList");
1638  }
1639 
1640  m_peak_PixelClock_Set = (dyn_peak_PixelClock_Set) (load ? import_function(m_handle, "peak_PixelClock_Set") : nullptr);
1641  if(m_peak_PixelClock_Set == nullptr && load)
1642  {
1643  throw std::runtime_error("Failed to load peak_PixelClock_Set");
1644  }
1645 
1646  m_peak_PixelClock_Get = (dyn_peak_PixelClock_Get) (load ? import_function(m_handle, "peak_PixelClock_Get") : nullptr);
1647  if(m_peak_PixelClock_Get == nullptr && load)
1648  {
1649  throw std::runtime_error("Failed to load peak_PixelClock_Get");
1650  }
1651 
1652  m_peak_IOChannel_GetAccessStatus = (dyn_peak_IOChannel_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_GetAccessStatus") : nullptr);
1653  if(m_peak_IOChannel_GetAccessStatus == nullptr && load)
1654  {
1655  throw std::runtime_error("Failed to load peak_IOChannel_GetAccessStatus");
1656  }
1657 
1658  m_peak_IOChannel_GetList = (dyn_peak_IOChannel_GetList) (load ? import_function(m_handle, "peak_IOChannel_GetList") : nullptr);
1659  if(m_peak_IOChannel_GetList == nullptr && load)
1660  {
1661  throw std::runtime_error("Failed to load peak_IOChannel_GetList");
1662  }
1663 
1664  m_peak_IOChannel_Level_GetAccessStatus = (dyn_peak_IOChannel_Level_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_Level_GetAccessStatus") : nullptr);
1665  if(m_peak_IOChannel_Level_GetAccessStatus == nullptr && load)
1666  {
1667  throw std::runtime_error("Failed to load peak_IOChannel_Level_GetAccessStatus");
1668  }
1669 
1670  m_peak_IOChannel_Level_IsHigh = (dyn_peak_IOChannel_Level_IsHigh) (load ? import_function(m_handle, "peak_IOChannel_Level_IsHigh") : nullptr);
1671  if(m_peak_IOChannel_Level_IsHigh == nullptr && load)
1672  {
1673  throw std::runtime_error("Failed to load peak_IOChannel_Level_IsHigh");
1674  }
1675 
1676  m_peak_IOChannel_Inverter_GetAccessStatus = (dyn_peak_IOChannel_Inverter_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_Inverter_GetAccessStatus") : nullptr);
1677  if(m_peak_IOChannel_Inverter_GetAccessStatus == nullptr && load)
1678  {
1679  throw std::runtime_error("Failed to load peak_IOChannel_Inverter_GetAccessStatus");
1680  }
1681 
1682  m_peak_IOChannel_Inverter_Enable = (dyn_peak_IOChannel_Inverter_Enable) (load ? import_function(m_handle, "peak_IOChannel_Inverter_Enable") : nullptr);
1683  if(m_peak_IOChannel_Inverter_Enable == nullptr && load)
1684  {
1685  throw std::runtime_error("Failed to load peak_IOChannel_Inverter_Enable");
1686  }
1687 
1688  m_peak_IOChannel_Inverter_IsEnabled = (dyn_peak_IOChannel_Inverter_IsEnabled) (load ? import_function(m_handle, "peak_IOChannel_Inverter_IsEnabled") : nullptr);
1689  if(m_peak_IOChannel_Inverter_IsEnabled == nullptr && load)
1690  {
1691  throw std::runtime_error("Failed to load peak_IOChannel_Inverter_IsEnabled");
1692  }
1693 
1694  m_peak_IOChannel_NoiseFilter_GetAccessStatus = (dyn_peak_IOChannel_NoiseFilter_GetAccessStatus) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_GetAccessStatus") : nullptr);
1695  if(m_peak_IOChannel_NoiseFilter_GetAccessStatus == nullptr && load)
1696  {
1697  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_GetAccessStatus");
1698  }
1699 
1700  m_peak_IOChannel_NoiseFilter_Enable = (dyn_peak_IOChannel_NoiseFilter_Enable) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Enable") : nullptr);
1701  if(m_peak_IOChannel_NoiseFilter_Enable == nullptr && load)
1702  {
1703  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Enable");
1704  }
1705 
1706  m_peak_IOChannel_NoiseFilter_IsEnabled = (dyn_peak_IOChannel_NoiseFilter_IsEnabled) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_IsEnabled") : nullptr);
1707  if(m_peak_IOChannel_NoiseFilter_IsEnabled == nullptr && load)
1708  {
1709  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_IsEnabled");
1710  }
1711 
1712  m_peak_IOChannel_NoiseFilter_Duration_GetRange = (dyn_peak_IOChannel_NoiseFilter_Duration_GetRange) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_GetRange") : nullptr);
1713  if(m_peak_IOChannel_NoiseFilter_Duration_GetRange == nullptr && load)
1714  {
1715  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_GetRange");
1716  }
1717 
1718  m_peak_IOChannel_NoiseFilter_Duration_Set = (dyn_peak_IOChannel_NoiseFilter_Duration_Set) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_Set") : nullptr);
1719  if(m_peak_IOChannel_NoiseFilter_Duration_Set == nullptr && load)
1720  {
1721  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_Set");
1722  }
1723 
1724  m_peak_IOChannel_NoiseFilter_Duration_Get = (dyn_peak_IOChannel_NoiseFilter_Duration_Get) (load ? import_function(m_handle, "peak_IOChannel_NoiseFilter_Duration_Get") : nullptr);
1725  if(m_peak_IOChannel_NoiseFilter_Duration_Get == nullptr && load)
1726  {
1727  throw std::runtime_error("Failed to load peak_IOChannel_NoiseFilter_Duration_Get");
1728  }
1729 
1730  m_peak_Trigger_GetAccessStatus = (dyn_peak_Trigger_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_GetAccessStatus") : nullptr);
1731  if(m_peak_Trigger_GetAccessStatus == nullptr && load)
1732  {
1733  throw std::runtime_error("Failed to load peak_Trigger_GetAccessStatus");
1734  }
1735 
1736  m_peak_Trigger_Enable = (dyn_peak_Trigger_Enable) (load ? import_function(m_handle, "peak_Trigger_Enable") : nullptr);
1737  if(m_peak_Trigger_Enable == nullptr && load)
1738  {
1739  throw std::runtime_error("Failed to load peak_Trigger_Enable");
1740  }
1741 
1742  m_peak_Trigger_IsEnabled = (dyn_peak_Trigger_IsEnabled) (load ? import_function(m_handle, "peak_Trigger_IsEnabled") : nullptr);
1743  if(m_peak_Trigger_IsEnabled == nullptr && load)
1744  {
1745  throw std::runtime_error("Failed to load peak_Trigger_IsEnabled");
1746  }
1747 
1748  m_peak_Trigger_IsExecutable = (dyn_peak_Trigger_IsExecutable) (load ? import_function(m_handle, "peak_Trigger_IsExecutable") : nullptr);
1749  if(m_peak_Trigger_IsExecutable == nullptr && load)
1750  {
1751  throw std::runtime_error("Failed to load peak_Trigger_IsExecutable");
1752  }
1753 
1754  m_peak_Trigger_Execute = (dyn_peak_Trigger_Execute) (load ? import_function(m_handle, "peak_Trigger_Execute") : nullptr);
1755  if(m_peak_Trigger_Execute == nullptr && load)
1756  {
1757  throw std::runtime_error("Failed to load peak_Trigger_Execute");
1758  }
1759 
1760  m_peak_Trigger_Mode_GetAccessStatus = (dyn_peak_Trigger_Mode_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Mode_GetAccessStatus") : nullptr);
1761  if(m_peak_Trigger_Mode_GetAccessStatus == nullptr && load)
1762  {
1763  throw std::runtime_error("Failed to load peak_Trigger_Mode_GetAccessStatus");
1764  }
1765 
1766  m_peak_Trigger_Mode_Set = (dyn_peak_Trigger_Mode_Set) (load ? import_function(m_handle, "peak_Trigger_Mode_Set") : nullptr);
1767  if(m_peak_Trigger_Mode_Set == nullptr && load)
1768  {
1769  throw std::runtime_error("Failed to load peak_Trigger_Mode_Set");
1770  }
1771 
1772  m_peak_Trigger_Mode_Get = (dyn_peak_Trigger_Mode_Get) (load ? import_function(m_handle, "peak_Trigger_Mode_Get") : nullptr);
1773  if(m_peak_Trigger_Mode_Get == nullptr && load)
1774  {
1775  throw std::runtime_error("Failed to load peak_Trigger_Mode_Get");
1776  }
1777 
1778  m_peak_Trigger_Edge_GetAccessStatus = (dyn_peak_Trigger_Edge_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Edge_GetAccessStatus") : nullptr);
1779  if(m_peak_Trigger_Edge_GetAccessStatus == nullptr && load)
1780  {
1781  throw std::runtime_error("Failed to load peak_Trigger_Edge_GetAccessStatus");
1782  }
1783 
1784  m_peak_Trigger_Edge_GetList = (dyn_peak_Trigger_Edge_GetList) (load ? import_function(m_handle, "peak_Trigger_Edge_GetList") : nullptr);
1785  if(m_peak_Trigger_Edge_GetList == nullptr && load)
1786  {
1787  throw std::runtime_error("Failed to load peak_Trigger_Edge_GetList");
1788  }
1789 
1790  m_peak_Trigger_Edge_Set = (dyn_peak_Trigger_Edge_Set) (load ? import_function(m_handle, "peak_Trigger_Edge_Set") : nullptr);
1791  if(m_peak_Trigger_Edge_Set == nullptr && load)
1792  {
1793  throw std::runtime_error("Failed to load peak_Trigger_Edge_Set");
1794  }
1795 
1796  m_peak_Trigger_Edge_Get = (dyn_peak_Trigger_Edge_Get) (load ? import_function(m_handle, "peak_Trigger_Edge_Get") : nullptr);
1797  if(m_peak_Trigger_Edge_Get == nullptr && load)
1798  {
1799  throw std::runtime_error("Failed to load peak_Trigger_Edge_Get");
1800  }
1801 
1802  m_peak_Trigger_Delay_GetAccessStatus = (dyn_peak_Trigger_Delay_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Delay_GetAccessStatus") : nullptr);
1803  if(m_peak_Trigger_Delay_GetAccessStatus == nullptr && load)
1804  {
1805  throw std::runtime_error("Failed to load peak_Trigger_Delay_GetAccessStatus");
1806  }
1807 
1808  m_peak_Trigger_Delay_GetRange = (dyn_peak_Trigger_Delay_GetRange) (load ? import_function(m_handle, "peak_Trigger_Delay_GetRange") : nullptr);
1809  if(m_peak_Trigger_Delay_GetRange == nullptr && load)
1810  {
1811  throw std::runtime_error("Failed to load peak_Trigger_Delay_GetRange");
1812  }
1813 
1814  m_peak_Trigger_Delay_Set = (dyn_peak_Trigger_Delay_Set) (load ? import_function(m_handle, "peak_Trigger_Delay_Set") : nullptr);
1815  if(m_peak_Trigger_Delay_Set == nullptr && load)
1816  {
1817  throw std::runtime_error("Failed to load peak_Trigger_Delay_Set");
1818  }
1819 
1820  m_peak_Trigger_Delay_Get = (dyn_peak_Trigger_Delay_Get) (load ? import_function(m_handle, "peak_Trigger_Delay_Get") : nullptr);
1821  if(m_peak_Trigger_Delay_Get == nullptr && load)
1822  {
1823  throw std::runtime_error("Failed to load peak_Trigger_Delay_Get");
1824  }
1825 
1826  m_peak_Trigger_Divider_GetAccessStatus = (dyn_peak_Trigger_Divider_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Divider_GetAccessStatus") : nullptr);
1827  if(m_peak_Trigger_Divider_GetAccessStatus == nullptr && load)
1828  {
1829  throw std::runtime_error("Failed to load peak_Trigger_Divider_GetAccessStatus");
1830  }
1831 
1832  m_peak_Trigger_Divider_GetRange = (dyn_peak_Trigger_Divider_GetRange) (load ? import_function(m_handle, "peak_Trigger_Divider_GetRange") : nullptr);
1833  if(m_peak_Trigger_Divider_GetRange == nullptr && load)
1834  {
1835  throw std::runtime_error("Failed to load peak_Trigger_Divider_GetRange");
1836  }
1837 
1838  m_peak_Trigger_Divider_Set = (dyn_peak_Trigger_Divider_Set) (load ? import_function(m_handle, "peak_Trigger_Divider_Set") : nullptr);
1839  if(m_peak_Trigger_Divider_Set == nullptr && load)
1840  {
1841  throw std::runtime_error("Failed to load peak_Trigger_Divider_Set");
1842  }
1843 
1844  m_peak_Trigger_Divider_Get = (dyn_peak_Trigger_Divider_Get) (load ? import_function(m_handle, "peak_Trigger_Divider_Get") : nullptr);
1845  if(m_peak_Trigger_Divider_Get == nullptr && load)
1846  {
1847  throw std::runtime_error("Failed to load peak_Trigger_Divider_Get");
1848  }
1849 
1850  m_peak_Trigger_Burst_GetAccessStatus = (dyn_peak_Trigger_Burst_GetAccessStatus) (load ? import_function(m_handle, "peak_Trigger_Burst_GetAccessStatus") : nullptr);
1851  if(m_peak_Trigger_Burst_GetAccessStatus == nullptr && load)
1852  {
1853  throw std::runtime_error("Failed to load peak_Trigger_Burst_GetAccessStatus");
1854  }
1855 
1856  m_peak_Trigger_Burst_GetRange = (dyn_peak_Trigger_Burst_GetRange) (load ? import_function(m_handle, "peak_Trigger_Burst_GetRange") : nullptr);
1857  if(m_peak_Trigger_Burst_GetRange == nullptr && load)
1858  {
1859  throw std::runtime_error("Failed to load peak_Trigger_Burst_GetRange");
1860  }
1861 
1862  m_peak_Trigger_Burst_Set = (dyn_peak_Trigger_Burst_Set) (load ? import_function(m_handle, "peak_Trigger_Burst_Set") : nullptr);
1863  if(m_peak_Trigger_Burst_Set == nullptr && load)
1864  {
1865  throw std::runtime_error("Failed to load peak_Trigger_Burst_Set");
1866  }
1867 
1868  m_peak_Trigger_Burst_Get = (dyn_peak_Trigger_Burst_Get) (load ? import_function(m_handle, "peak_Trigger_Burst_Get") : nullptr);
1869  if(m_peak_Trigger_Burst_Get == nullptr && load)
1870  {
1871  throw std::runtime_error("Failed to load peak_Trigger_Burst_Get");
1872  }
1873 
1874  m_peak_Flash_GetAccessStatus = (dyn_peak_Flash_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_GetAccessStatus") : nullptr);
1875  if(m_peak_Flash_GetAccessStatus == nullptr && load)
1876  {
1877  throw std::runtime_error("Failed to load peak_Flash_GetAccessStatus");
1878  }
1879 
1880  m_peak_Flash_Enable = (dyn_peak_Flash_Enable) (load ? import_function(m_handle, "peak_Flash_Enable") : nullptr);
1881  if(m_peak_Flash_Enable == nullptr && load)
1882  {
1883  throw std::runtime_error("Failed to load peak_Flash_Enable");
1884  }
1885 
1886  m_peak_Flash_IsEnabled = (dyn_peak_Flash_IsEnabled) (load ? import_function(m_handle, "peak_Flash_IsEnabled") : nullptr);
1887  if(m_peak_Flash_IsEnabled == nullptr && load)
1888  {
1889  throw std::runtime_error("Failed to load peak_Flash_IsEnabled");
1890  }
1891 
1892  m_peak_Flash_Mode_GetAccessStatus = (dyn_peak_Flash_Mode_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_Mode_GetAccessStatus") : nullptr);
1893  if(m_peak_Flash_Mode_GetAccessStatus == nullptr && load)
1894  {
1895  throw std::runtime_error("Failed to load peak_Flash_Mode_GetAccessStatus");
1896  }
1897 
1898  m_peak_Flash_Mode_Set = (dyn_peak_Flash_Mode_Set) (load ? import_function(m_handle, "peak_Flash_Mode_Set") : nullptr);
1899  if(m_peak_Flash_Mode_Set == nullptr && load)
1900  {
1901  throw std::runtime_error("Failed to load peak_Flash_Mode_Set");
1902  }
1903 
1904  m_peak_Flash_Mode_Get = (dyn_peak_Flash_Mode_Get) (load ? import_function(m_handle, "peak_Flash_Mode_Get") : nullptr);
1905  if(m_peak_Flash_Mode_Get == nullptr && load)
1906  {
1907  throw std::runtime_error("Failed to load peak_Flash_Mode_Get");
1908  }
1909 
1910  m_peak_Flash_StartDelay_GetAccessStatus = (dyn_peak_Flash_StartDelay_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_StartDelay_GetAccessStatus") : nullptr);
1911  if(m_peak_Flash_StartDelay_GetAccessStatus == nullptr && load)
1912  {
1913  throw std::runtime_error("Failed to load peak_Flash_StartDelay_GetAccessStatus");
1914  }
1915 
1916  m_peak_Flash_StartDelay_GetRange = (dyn_peak_Flash_StartDelay_GetRange) (load ? import_function(m_handle, "peak_Flash_StartDelay_GetRange") : nullptr);
1917  if(m_peak_Flash_StartDelay_GetRange == nullptr && load)
1918  {
1919  throw std::runtime_error("Failed to load peak_Flash_StartDelay_GetRange");
1920  }
1921 
1922  m_peak_Flash_StartDelay_Set = (dyn_peak_Flash_StartDelay_Set) (load ? import_function(m_handle, "peak_Flash_StartDelay_Set") : nullptr);
1923  if(m_peak_Flash_StartDelay_Set == nullptr && load)
1924  {
1925  throw std::runtime_error("Failed to load peak_Flash_StartDelay_Set");
1926  }
1927 
1928  m_peak_Flash_StartDelay_Get = (dyn_peak_Flash_StartDelay_Get) (load ? import_function(m_handle, "peak_Flash_StartDelay_Get") : nullptr);
1929  if(m_peak_Flash_StartDelay_Get == nullptr && load)
1930  {
1931  throw std::runtime_error("Failed to load peak_Flash_StartDelay_Get");
1932  }
1933 
1934  m_peak_Flash_EndDelay_GetAccessStatus = (dyn_peak_Flash_EndDelay_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_EndDelay_GetAccessStatus") : nullptr);
1935  if(m_peak_Flash_EndDelay_GetAccessStatus == nullptr && load)
1936  {
1937  throw std::runtime_error("Failed to load peak_Flash_EndDelay_GetAccessStatus");
1938  }
1939 
1940  m_peak_Flash_EndDelay_GetRange = (dyn_peak_Flash_EndDelay_GetRange) (load ? import_function(m_handle, "peak_Flash_EndDelay_GetRange") : nullptr);
1941  if(m_peak_Flash_EndDelay_GetRange == nullptr && load)
1942  {
1943  throw std::runtime_error("Failed to load peak_Flash_EndDelay_GetRange");
1944  }
1945 
1946  m_peak_Flash_EndDelay_Set = (dyn_peak_Flash_EndDelay_Set) (load ? import_function(m_handle, "peak_Flash_EndDelay_Set") : nullptr);
1947  if(m_peak_Flash_EndDelay_Set == nullptr && load)
1948  {
1949  throw std::runtime_error("Failed to load peak_Flash_EndDelay_Set");
1950  }
1951 
1952  m_peak_Flash_EndDelay_Get = (dyn_peak_Flash_EndDelay_Get) (load ? import_function(m_handle, "peak_Flash_EndDelay_Get") : nullptr);
1953  if(m_peak_Flash_EndDelay_Get == nullptr && load)
1954  {
1955  throw std::runtime_error("Failed to load peak_Flash_EndDelay_Get");
1956  }
1957 
1958  m_peak_Flash_Duration_GetAccessStatus = (dyn_peak_Flash_Duration_GetAccessStatus) (load ? import_function(m_handle, "peak_Flash_Duration_GetAccessStatus") : nullptr);
1959  if(m_peak_Flash_Duration_GetAccessStatus == nullptr && load)
1960  {
1961  throw std::runtime_error("Failed to load peak_Flash_Duration_GetAccessStatus");
1962  }
1963 
1964  m_peak_Flash_Duration_GetRange = (dyn_peak_Flash_Duration_GetRange) (load ? import_function(m_handle, "peak_Flash_Duration_GetRange") : nullptr);
1965  if(m_peak_Flash_Duration_GetRange == nullptr && load)
1966  {
1967  throw std::runtime_error("Failed to load peak_Flash_Duration_GetRange");
1968  }
1969 
1970  m_peak_Flash_Duration_Set = (dyn_peak_Flash_Duration_Set) (load ? import_function(m_handle, "peak_Flash_Duration_Set") : nullptr);
1971  if(m_peak_Flash_Duration_Set == nullptr && load)
1972  {
1973  throw std::runtime_error("Failed to load peak_Flash_Duration_Set");
1974  }
1975 
1976  m_peak_Flash_Duration_Get = (dyn_peak_Flash_Duration_Get) (load ? import_function(m_handle, "peak_Flash_Duration_Get") : nullptr);
1977  if(m_peak_Flash_Duration_Get == nullptr && load)
1978  {
1979  throw std::runtime_error("Failed to load peak_Flash_Duration_Get");
1980  }
1981 
1982  m_peak_Focus_GetAccessStatus = (dyn_peak_Focus_GetAccessStatus) (load ? import_function(m_handle, "peak_Focus_GetAccessStatus") : nullptr);
1983  if(m_peak_Focus_GetAccessStatus == nullptr && load)
1984  {
1985  throw std::runtime_error("Failed to load peak_Focus_GetAccessStatus");
1986  }
1987 
1988  m_peak_Focus_GetRange = (dyn_peak_Focus_GetRange) (load ? import_function(m_handle, "peak_Focus_GetRange") : nullptr);
1989  if(m_peak_Focus_GetRange == nullptr && load)
1990  {
1991  throw std::runtime_error("Failed to load peak_Focus_GetRange");
1992  }
1993 
1994  m_peak_Focus_Set = (dyn_peak_Focus_Set) (load ? import_function(m_handle, "peak_Focus_Set") : nullptr);
1995  if(m_peak_Focus_Set == nullptr && load)
1996  {
1997  throw std::runtime_error("Failed to load peak_Focus_Set");
1998  }
1999 
2000  m_peak_Focus_Get = (dyn_peak_Focus_Get) (load ? import_function(m_handle, "peak_Focus_Get") : nullptr);
2001  if(m_peak_Focus_Get == nullptr && load)
2002  {
2003  throw std::runtime_error("Failed to load peak_Focus_Get");
2004  }
2005 
2006  m_peak_PixelFormat_GetAccessStatus = (dyn_peak_PixelFormat_GetAccessStatus) (load ? import_function(m_handle, "peak_PixelFormat_GetAccessStatus") : nullptr);
2007  if(m_peak_PixelFormat_GetAccessStatus == nullptr && load)
2008  {
2009  throw std::runtime_error("Failed to load peak_PixelFormat_GetAccessStatus");
2010  }
2011 
2012  m_peak_PixelFormat_GetList = (dyn_peak_PixelFormat_GetList) (load ? import_function(m_handle, "peak_PixelFormat_GetList") : nullptr);
2013  if(m_peak_PixelFormat_GetList == nullptr && load)
2014  {
2015  throw std::runtime_error("Failed to load peak_PixelFormat_GetList");
2016  }
2017 
2018  m_peak_PixelFormat_Set = (dyn_peak_PixelFormat_Set) (load ? import_function(m_handle, "peak_PixelFormat_Set") : nullptr);
2019  if(m_peak_PixelFormat_Set == nullptr && load)
2020  {
2021  throw std::runtime_error("Failed to load peak_PixelFormat_Set");
2022  }
2023 
2024  m_peak_PixelFormat_Get = (dyn_peak_PixelFormat_Get) (load ? import_function(m_handle, "peak_PixelFormat_Get") : nullptr);
2025  if(m_peak_PixelFormat_Get == nullptr && load)
2026  {
2027  throw std::runtime_error("Failed to load peak_PixelFormat_Get");
2028  }
2029 
2030  m_peak_Gain_GetAccessStatus = (dyn_peak_Gain_GetAccessStatus) (load ? import_function(m_handle, "peak_Gain_GetAccessStatus") : nullptr);
2031  if(m_peak_Gain_GetAccessStatus == nullptr && load)
2032  {
2033  throw std::runtime_error("Failed to load peak_Gain_GetAccessStatus");
2034  }
2035 
2036  m_peak_Gain_GetChannelList = (dyn_peak_Gain_GetChannelList) (load ? import_function(m_handle, "peak_Gain_GetChannelList") : nullptr);
2037  if(m_peak_Gain_GetChannelList == nullptr && load)
2038  {
2039  throw std::runtime_error("Failed to load peak_Gain_GetChannelList");
2040  }
2041 
2042  m_peak_Gain_GetRange = (dyn_peak_Gain_GetRange) (load ? import_function(m_handle, "peak_Gain_GetRange") : nullptr);
2043  if(m_peak_Gain_GetRange == nullptr && load)
2044  {
2045  throw std::runtime_error("Failed to load peak_Gain_GetRange");
2046  }
2047 
2048  m_peak_Gain_Set = (dyn_peak_Gain_Set) (load ? import_function(m_handle, "peak_Gain_Set") : nullptr);
2049  if(m_peak_Gain_Set == nullptr && load)
2050  {
2051  throw std::runtime_error("Failed to load peak_Gain_Set");
2052  }
2053 
2054  m_peak_Gain_Get = (dyn_peak_Gain_Get) (load ? import_function(m_handle, "peak_Gain_Get") : nullptr);
2055  if(m_peak_Gain_Get == nullptr && load)
2056  {
2057  throw std::runtime_error("Failed to load peak_Gain_Get");
2058  }
2059 
2060  m_peak_Gamma_GetAccessStatus = (dyn_peak_Gamma_GetAccessStatus) (load ? import_function(m_handle, "peak_Gamma_GetAccessStatus") : nullptr);
2061  if(m_peak_Gamma_GetAccessStatus == nullptr && load)
2062  {
2063  throw std::runtime_error("Failed to load peak_Gamma_GetAccessStatus");
2064  }
2065 
2066  m_peak_Gamma_GetRange = (dyn_peak_Gamma_GetRange) (load ? import_function(m_handle, "peak_Gamma_GetRange") : nullptr);
2067  if(m_peak_Gamma_GetRange == nullptr && load)
2068  {
2069  throw std::runtime_error("Failed to load peak_Gamma_GetRange");
2070  }
2071 
2072  m_peak_Gamma_Set = (dyn_peak_Gamma_Set) (load ? import_function(m_handle, "peak_Gamma_Set") : nullptr);
2073  if(m_peak_Gamma_Set == nullptr && load)
2074  {
2075  throw std::runtime_error("Failed to load peak_Gamma_Set");
2076  }
2077 
2078  m_peak_Gamma_Get = (dyn_peak_Gamma_Get) (load ? import_function(m_handle, "peak_Gamma_Get") : nullptr);
2079  if(m_peak_Gamma_Get == nullptr && load)
2080  {
2081  throw std::runtime_error("Failed to load peak_Gamma_Get");
2082  }
2083 
2084  m_peak_ColorCorrection_GetAccessStatus = (dyn_peak_ColorCorrection_GetAccessStatus) (load ? import_function(m_handle, "peak_ColorCorrection_GetAccessStatus") : nullptr);
2085  if(m_peak_ColorCorrection_GetAccessStatus == nullptr && load)
2086  {
2087  throw std::runtime_error("Failed to load peak_ColorCorrection_GetAccessStatus");
2088  }
2089 
2090  m_peak_ColorCorrection_Mode_GetList = (dyn_peak_ColorCorrection_Mode_GetList) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_GetList") : nullptr);
2091  if(m_peak_ColorCorrection_Mode_GetList == nullptr && load)
2092  {
2093  throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_GetList");
2094  }
2095 
2096  m_peak_ColorCorrection_Mode_Set = (dyn_peak_ColorCorrection_Mode_Set) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_Set") : nullptr);
2097  if(m_peak_ColorCorrection_Mode_Set == nullptr && load)
2098  {
2099  throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_Set");
2100  }
2101 
2102  m_peak_ColorCorrection_Mode_Get = (dyn_peak_ColorCorrection_Mode_Get) (load ? import_function(m_handle, "peak_ColorCorrection_Mode_Get") : nullptr);
2103  if(m_peak_ColorCorrection_Mode_Get == nullptr && load)
2104  {
2105  throw std::runtime_error("Failed to load peak_ColorCorrection_Mode_Get");
2106  }
2107 
2108  m_peak_ColorCorrection_Matrix_GetAccessStatus = (dyn_peak_ColorCorrection_Matrix_GetAccessStatus) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_GetAccessStatus") : nullptr);
2109  if(m_peak_ColorCorrection_Matrix_GetAccessStatus == nullptr && load)
2110  {
2111  throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_GetAccessStatus");
2112  }
2113 
2114  m_peak_ColorCorrection_Matrix_GetRange = (dyn_peak_ColorCorrection_Matrix_GetRange) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_GetRange") : nullptr);
2115  if(m_peak_ColorCorrection_Matrix_GetRange == nullptr && load)
2116  {
2117  throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_GetRange");
2118  }
2119 
2120  m_peak_ColorCorrection_Matrix_Set = (dyn_peak_ColorCorrection_Matrix_Set) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_Set") : nullptr);
2121  if(m_peak_ColorCorrection_Matrix_Set == nullptr && load)
2122  {
2123  throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_Set");
2124  }
2125 
2126  m_peak_ColorCorrection_Matrix_Get = (dyn_peak_ColorCorrection_Matrix_Get) (load ? import_function(m_handle, "peak_ColorCorrection_Matrix_Get") : nullptr);
2127  if(m_peak_ColorCorrection_Matrix_Get == nullptr && load)
2128  {
2129  throw std::runtime_error("Failed to load peak_ColorCorrection_Matrix_Get");
2130  }
2131 
2132  m_peak_ColorCorrection_Enable = (dyn_peak_ColorCorrection_Enable) (load ? import_function(m_handle, "peak_ColorCorrection_Enable") : nullptr);
2133  if(m_peak_ColorCorrection_Enable == nullptr && load)
2134  {
2135  throw std::runtime_error("Failed to load peak_ColorCorrection_Enable");
2136  }
2137 
2138  m_peak_ColorCorrection_IsEnabled = (dyn_peak_ColorCorrection_IsEnabled) (load ? import_function(m_handle, "peak_ColorCorrection_IsEnabled") : nullptr);
2139  if(m_peak_ColorCorrection_IsEnabled == nullptr && load)
2140  {
2141  throw std::runtime_error("Failed to load peak_ColorCorrection_IsEnabled");
2142  }
2143 
2144  m_peak_AutoBrightness_GetAccessStatus = (dyn_peak_AutoBrightness_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_GetAccessStatus") : nullptr);
2145  if(m_peak_AutoBrightness_GetAccessStatus == nullptr && load)
2146  {
2147  throw std::runtime_error("Failed to load peak_AutoBrightness_GetAccessStatus");
2148  }
2149 
2150  m_peak_AutoBrightness_Target_GetRange = (dyn_peak_AutoBrightness_Target_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_Target_GetRange") : nullptr);
2151  if(m_peak_AutoBrightness_Target_GetRange == nullptr && load)
2152  {
2153  throw std::runtime_error("Failed to load peak_AutoBrightness_Target_GetRange");
2154  }
2155 
2156  m_peak_AutoBrightness_Target_Set = (dyn_peak_AutoBrightness_Target_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Target_Set") : nullptr);
2157  if(m_peak_AutoBrightness_Target_Set == nullptr && load)
2158  {
2159  throw std::runtime_error("Failed to load peak_AutoBrightness_Target_Set");
2160  }
2161 
2162  m_peak_AutoBrightness_Target_Get = (dyn_peak_AutoBrightness_Target_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Target_Get") : nullptr);
2163  if(m_peak_AutoBrightness_Target_Get == nullptr && load)
2164  {
2165  throw std::runtime_error("Failed to load peak_AutoBrightness_Target_Get");
2166  }
2167 
2168  m_peak_AutoBrightness_TargetTolerance_GetRange = (dyn_peak_AutoBrightness_TargetTolerance_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_GetRange") : nullptr);
2169  if(m_peak_AutoBrightness_TargetTolerance_GetRange == nullptr && load)
2170  {
2171  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_GetRange");
2172  }
2173 
2174  m_peak_AutoBrightness_TargetTolerance_Set = (dyn_peak_AutoBrightness_TargetTolerance_Set) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_Set") : nullptr);
2175  if(m_peak_AutoBrightness_TargetTolerance_Set == nullptr && load)
2176  {
2177  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_Set");
2178  }
2179 
2180  m_peak_AutoBrightness_TargetTolerance_Get = (dyn_peak_AutoBrightness_TargetTolerance_Get) (load ? import_function(m_handle, "peak_AutoBrightness_TargetTolerance_Get") : nullptr);
2181  if(m_peak_AutoBrightness_TargetTolerance_Get == nullptr && load)
2182  {
2183  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetTolerance_Get");
2184  }
2185 
2186  m_peak_AutoBrightness_TargetPercentile_GetRange = (dyn_peak_AutoBrightness_TargetPercentile_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_GetRange") : nullptr);
2187  if(m_peak_AutoBrightness_TargetPercentile_GetRange == nullptr && load)
2188  {
2189  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_GetRange");
2190  }
2191 
2192  m_peak_AutoBrightness_TargetPercentile_Set = (dyn_peak_AutoBrightness_TargetPercentile_Set) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_Set") : nullptr);
2193  if(m_peak_AutoBrightness_TargetPercentile_Set == nullptr && load)
2194  {
2195  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_Set");
2196  }
2197 
2198  m_peak_AutoBrightness_TargetPercentile_Get = (dyn_peak_AutoBrightness_TargetPercentile_Get) (load ? import_function(m_handle, "peak_AutoBrightness_TargetPercentile_Get") : nullptr);
2199  if(m_peak_AutoBrightness_TargetPercentile_Get == nullptr && load)
2200  {
2201  throw std::runtime_error("Failed to load peak_AutoBrightness_TargetPercentile_Get");
2202  }
2203 
2204  m_peak_AutoBrightness_ROI_Mode_Set = (dyn_peak_AutoBrightness_ROI_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Mode_Set") : nullptr);
2205  if(m_peak_AutoBrightness_ROI_Mode_Set == nullptr && load)
2206  {
2207  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Mode_Set");
2208  }
2209 
2210  m_peak_AutoBrightness_ROI_Mode_Get = (dyn_peak_AutoBrightness_ROI_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Mode_Get") : nullptr);
2211  if(m_peak_AutoBrightness_ROI_Mode_Get == nullptr && load)
2212  {
2213  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Mode_Get");
2214  }
2215 
2216  m_peak_AutoBrightness_ROI_Offset_GetRange = (dyn_peak_AutoBrightness_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Offset_GetRange") : nullptr);
2217  if(m_peak_AutoBrightness_ROI_Offset_GetRange == nullptr && load)
2218  {
2219  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Offset_GetRange");
2220  }
2221 
2222  m_peak_AutoBrightness_ROI_Size_GetRange = (dyn_peak_AutoBrightness_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Size_GetRange") : nullptr);
2223  if(m_peak_AutoBrightness_ROI_Size_GetRange == nullptr && load)
2224  {
2225  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Size_GetRange");
2226  }
2227 
2228  m_peak_AutoBrightness_ROI_Set = (dyn_peak_AutoBrightness_ROI_Set) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Set") : nullptr);
2229  if(m_peak_AutoBrightness_ROI_Set == nullptr && load)
2230  {
2231  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Set");
2232  }
2233 
2234  m_peak_AutoBrightness_ROI_Get = (dyn_peak_AutoBrightness_ROI_Get) (load ? import_function(m_handle, "peak_AutoBrightness_ROI_Get") : nullptr);
2235  if(m_peak_AutoBrightness_ROI_Get == nullptr && load)
2236  {
2237  throw std::runtime_error("Failed to load peak_AutoBrightness_ROI_Get");
2238  }
2239 
2240  m_peak_AutoBrightness_Exposure_GetAccessStatus = (dyn_peak_AutoBrightness_Exposure_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_GetAccessStatus") : nullptr);
2241  if(m_peak_AutoBrightness_Exposure_GetAccessStatus == nullptr && load)
2242  {
2243  throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_GetAccessStatus");
2244  }
2245 
2246  m_peak_AutoBrightness_Exposure_Mode_Set = (dyn_peak_AutoBrightness_Exposure_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_Mode_Set") : nullptr);
2247  if(m_peak_AutoBrightness_Exposure_Mode_Set == nullptr && load)
2248  {
2249  throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_Mode_Set");
2250  }
2251 
2252  m_peak_AutoBrightness_Exposure_Mode_Get = (dyn_peak_AutoBrightness_Exposure_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Exposure_Mode_Get") : nullptr);
2253  if(m_peak_AutoBrightness_Exposure_Mode_Get == nullptr && load)
2254  {
2255  throw std::runtime_error("Failed to load peak_AutoBrightness_Exposure_Mode_Get");
2256  }
2257 
2258  m_peak_AutoBrightness_Gain_GetAccessStatus = (dyn_peak_AutoBrightness_Gain_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_GetAccessStatus") : nullptr);
2259  if(m_peak_AutoBrightness_Gain_GetAccessStatus == nullptr && load)
2260  {
2261  throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_GetAccessStatus");
2262  }
2263 
2264  m_peak_AutoBrightness_Gain_Mode_Set = (dyn_peak_AutoBrightness_Gain_Mode_Set) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_Mode_Set") : nullptr);
2265  if(m_peak_AutoBrightness_Gain_Mode_Set == nullptr && load)
2266  {
2267  throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_Mode_Set");
2268  }
2269 
2270  m_peak_AutoBrightness_Gain_Mode_Get = (dyn_peak_AutoBrightness_Gain_Mode_Get) (load ? import_function(m_handle, "peak_AutoBrightness_Gain_Mode_Get") : nullptr);
2271  if(m_peak_AutoBrightness_Gain_Mode_Get == nullptr && load)
2272  {
2273  throw std::runtime_error("Failed to load peak_AutoBrightness_Gain_Mode_Get");
2274  }
2275 
2276  m_peak_AutoWhiteBalance_GetAccessStatus = (dyn_peak_AutoWhiteBalance_GetAccessStatus) (load ? import_function(m_handle, "peak_AutoWhiteBalance_GetAccessStatus") : nullptr);
2277  if(m_peak_AutoWhiteBalance_GetAccessStatus == nullptr && load)
2278  {
2279  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_GetAccessStatus");
2280  }
2281 
2282  m_peak_AutoWhiteBalance_ROI_Mode_Set = (dyn_peak_AutoWhiteBalance_ROI_Mode_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Mode_Set") : nullptr);
2283  if(m_peak_AutoWhiteBalance_ROI_Mode_Set == nullptr && load)
2284  {
2285  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Mode_Set");
2286  }
2287 
2288  m_peak_AutoWhiteBalance_ROI_Mode_Get = (dyn_peak_AutoWhiteBalance_ROI_Mode_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Mode_Get") : nullptr);
2289  if(m_peak_AutoWhiteBalance_ROI_Mode_Get == nullptr && load)
2290  {
2291  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Mode_Get");
2292  }
2293 
2294  m_peak_AutoWhiteBalance_ROI_Offset_GetRange = (dyn_peak_AutoWhiteBalance_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Offset_GetRange") : nullptr);
2295  if(m_peak_AutoWhiteBalance_ROI_Offset_GetRange == nullptr && load)
2296  {
2297  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Offset_GetRange");
2298  }
2299 
2300  m_peak_AutoWhiteBalance_ROI_Size_GetRange = (dyn_peak_AutoWhiteBalance_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Size_GetRange") : nullptr);
2301  if(m_peak_AutoWhiteBalance_ROI_Size_GetRange == nullptr && load)
2302  {
2303  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Size_GetRange");
2304  }
2305 
2306  m_peak_AutoWhiteBalance_ROI_Set = (dyn_peak_AutoWhiteBalance_ROI_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Set") : nullptr);
2307  if(m_peak_AutoWhiteBalance_ROI_Set == nullptr && load)
2308  {
2309  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Set");
2310  }
2311 
2312  m_peak_AutoWhiteBalance_ROI_Get = (dyn_peak_AutoWhiteBalance_ROI_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_ROI_Get") : nullptr);
2313  if(m_peak_AutoWhiteBalance_ROI_Get == nullptr && load)
2314  {
2315  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_ROI_Get");
2316  }
2317 
2318  m_peak_AutoWhiteBalance_Mode_Set = (dyn_peak_AutoWhiteBalance_Mode_Set) (load ? import_function(m_handle, "peak_AutoWhiteBalance_Mode_Set") : nullptr);
2319  if(m_peak_AutoWhiteBalance_Mode_Set == nullptr && load)
2320  {
2321  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_Mode_Set");
2322  }
2323 
2324  m_peak_AutoWhiteBalance_Mode_Get = (dyn_peak_AutoWhiteBalance_Mode_Get) (load ? import_function(m_handle, "peak_AutoWhiteBalance_Mode_Get") : nullptr);
2325  if(m_peak_AutoWhiteBalance_Mode_Get == nullptr && load)
2326  {
2327  throw std::runtime_error("Failed to load peak_AutoWhiteBalance_Mode_Get");
2328  }
2329 
2330  m_peak_ROI_GetAccessStatus = (dyn_peak_ROI_GetAccessStatus) (load ? import_function(m_handle, "peak_ROI_GetAccessStatus") : nullptr);
2331  if(m_peak_ROI_GetAccessStatus == nullptr && load)
2332  {
2333  throw std::runtime_error("Failed to load peak_ROI_GetAccessStatus");
2334  }
2335 
2336  m_peak_ROI_Offset_GetRange = (dyn_peak_ROI_Offset_GetRange) (load ? import_function(m_handle, "peak_ROI_Offset_GetRange") : nullptr);
2337  if(m_peak_ROI_Offset_GetRange == nullptr && load)
2338  {
2339  throw std::runtime_error("Failed to load peak_ROI_Offset_GetRange");
2340  }
2341 
2342  m_peak_ROI_Size_GetRange = (dyn_peak_ROI_Size_GetRange) (load ? import_function(m_handle, "peak_ROI_Size_GetRange") : nullptr);
2343  if(m_peak_ROI_Size_GetRange == nullptr && load)
2344  {
2345  throw std::runtime_error("Failed to load peak_ROI_Size_GetRange");
2346  }
2347 
2348  m_peak_ROI_Set = (dyn_peak_ROI_Set) (load ? import_function(m_handle, "peak_ROI_Set") : nullptr);
2349  if(m_peak_ROI_Set == nullptr && load)
2350  {
2351  throw std::runtime_error("Failed to load peak_ROI_Set");
2352  }
2353 
2354  m_peak_ROI_Get = (dyn_peak_ROI_Get) (load ? import_function(m_handle, "peak_ROI_Get") : nullptr);
2355  if(m_peak_ROI_Get == nullptr && load)
2356  {
2357  throw std::runtime_error("Failed to load peak_ROI_Get");
2358  }
2359 
2360  m_peak_Binning_GetAccessStatus = (dyn_peak_Binning_GetAccessStatus) (load ? import_function(m_handle, "peak_Binning_GetAccessStatus") : nullptr);
2361  if(m_peak_Binning_GetAccessStatus == nullptr && load)
2362  {
2363  throw std::runtime_error("Failed to load peak_Binning_GetAccessStatus");
2364  }
2365 
2366  m_peak_Binning_FactorX_GetList = (dyn_peak_Binning_FactorX_GetList) (load ? import_function(m_handle, "peak_Binning_FactorX_GetList") : nullptr);
2367  if(m_peak_Binning_FactorX_GetList == nullptr && load)
2368  {
2369  throw std::runtime_error("Failed to load peak_Binning_FactorX_GetList");
2370  }
2371 
2372  m_peak_Binning_FactorY_GetList = (dyn_peak_Binning_FactorY_GetList) (load ? import_function(m_handle, "peak_Binning_FactorY_GetList") : nullptr);
2373  if(m_peak_Binning_FactorY_GetList == nullptr && load)
2374  {
2375  throw std::runtime_error("Failed to load peak_Binning_FactorY_GetList");
2376  }
2377 
2378  m_peak_Binning_Set = (dyn_peak_Binning_Set) (load ? import_function(m_handle, "peak_Binning_Set") : nullptr);
2379  if(m_peak_Binning_Set == nullptr && load)
2380  {
2381  throw std::runtime_error("Failed to load peak_Binning_Set");
2382  }
2383 
2384  m_peak_Binning_Get = (dyn_peak_Binning_Get) (load ? import_function(m_handle, "peak_Binning_Get") : nullptr);
2385  if(m_peak_Binning_Get == nullptr && load)
2386  {
2387  throw std::runtime_error("Failed to load peak_Binning_Get");
2388  }
2389 
2390  m_peak_Decimation_GetAccessStatus = (dyn_peak_Decimation_GetAccessStatus) (load ? import_function(m_handle, "peak_Decimation_GetAccessStatus") : nullptr);
2391  if(m_peak_Decimation_GetAccessStatus == nullptr && load)
2392  {
2393  throw std::runtime_error("Failed to load peak_Decimation_GetAccessStatus");
2394  }
2395 
2396  m_peak_Decimation_FactorX_GetList = (dyn_peak_Decimation_FactorX_GetList) (load ? import_function(m_handle, "peak_Decimation_FactorX_GetList") : nullptr);
2397  if(m_peak_Decimation_FactorX_GetList == nullptr && load)
2398  {
2399  throw std::runtime_error("Failed to load peak_Decimation_FactorX_GetList");
2400  }
2401 
2402  m_peak_Decimation_FactorY_GetList = (dyn_peak_Decimation_FactorY_GetList) (load ? import_function(m_handle, "peak_Decimation_FactorY_GetList") : nullptr);
2403  if(m_peak_Decimation_FactorY_GetList == nullptr && load)
2404  {
2405  throw std::runtime_error("Failed to load peak_Decimation_FactorY_GetList");
2406  }
2407 
2408  m_peak_Decimation_Set = (dyn_peak_Decimation_Set) (load ? import_function(m_handle, "peak_Decimation_Set") : nullptr);
2409  if(m_peak_Decimation_Set == nullptr && load)
2410  {
2411  throw std::runtime_error("Failed to load peak_Decimation_Set");
2412  }
2413 
2414  m_peak_Decimation_Get = (dyn_peak_Decimation_Get) (load ? import_function(m_handle, "peak_Decimation_Get") : nullptr);
2415  if(m_peak_Decimation_Get == nullptr && load)
2416  {
2417  throw std::runtime_error("Failed to load peak_Decimation_Get");
2418  }
2419 
2420  m_peak_Mirror_LeftRight_GetAccessStatus = (dyn_peak_Mirror_LeftRight_GetAccessStatus) (load ? import_function(m_handle, "peak_Mirror_LeftRight_GetAccessStatus") : nullptr);
2421  if(m_peak_Mirror_LeftRight_GetAccessStatus == nullptr && load)
2422  {
2423  throw std::runtime_error("Failed to load peak_Mirror_LeftRight_GetAccessStatus");
2424  }
2425 
2426  m_peak_Mirror_LeftRight_Enable = (dyn_peak_Mirror_LeftRight_Enable) (load ? import_function(m_handle, "peak_Mirror_LeftRight_Enable") : nullptr);
2427  if(m_peak_Mirror_LeftRight_Enable == nullptr && load)
2428  {
2429  throw std::runtime_error("Failed to load peak_Mirror_LeftRight_Enable");
2430  }
2431 
2432  m_peak_Mirror_LeftRight_IsEnabled = (dyn_peak_Mirror_LeftRight_IsEnabled) (load ? import_function(m_handle, "peak_Mirror_LeftRight_IsEnabled") : nullptr);
2433  if(m_peak_Mirror_LeftRight_IsEnabled == nullptr && load)
2434  {
2435  throw std::runtime_error("Failed to load peak_Mirror_LeftRight_IsEnabled");
2436  }
2437 
2438  m_peak_Mirror_UpDown_GetAccessStatus = (dyn_peak_Mirror_UpDown_GetAccessStatus) (load ? import_function(m_handle, "peak_Mirror_UpDown_GetAccessStatus") : nullptr);
2439  if(m_peak_Mirror_UpDown_GetAccessStatus == nullptr && load)
2440  {
2441  throw std::runtime_error("Failed to load peak_Mirror_UpDown_GetAccessStatus");
2442  }
2443 
2444  m_peak_Mirror_UpDown_Enable = (dyn_peak_Mirror_UpDown_Enable) (load ? import_function(m_handle, "peak_Mirror_UpDown_Enable") : nullptr);
2445  if(m_peak_Mirror_UpDown_Enable == nullptr && load)
2446  {
2447  throw std::runtime_error("Failed to load peak_Mirror_UpDown_Enable");
2448  }
2449 
2450  m_peak_Mirror_UpDown_IsEnabled = (dyn_peak_Mirror_UpDown_IsEnabled) (load ? import_function(m_handle, "peak_Mirror_UpDown_IsEnabled") : nullptr);
2451  if(m_peak_Mirror_UpDown_IsEnabled == nullptr && load)
2452  {
2453  throw std::runtime_error("Failed to load peak_Mirror_UpDown_IsEnabled");
2454  }
2455 
2456  m_peak_CameraMemory_Area_GetAccessStatus = (dyn_peak_CameraMemory_Area_GetAccessStatus) (load ? import_function(m_handle, "peak_CameraMemory_Area_GetAccessStatus") : nullptr);
2457  if(m_peak_CameraMemory_Area_GetAccessStatus == nullptr && load)
2458  {
2459  throw std::runtime_error("Failed to load peak_CameraMemory_Area_GetAccessStatus");
2460  }
2461 
2462  m_peak_CameraMemory_Area_GetList = (dyn_peak_CameraMemory_Area_GetList) (load ? import_function(m_handle, "peak_CameraMemory_Area_GetList") : nullptr);
2463  if(m_peak_CameraMemory_Area_GetList == nullptr && load)
2464  {
2465  throw std::runtime_error("Failed to load peak_CameraMemory_Area_GetList");
2466  }
2467 
2468  m_peak_CameraMemory_Area_Size_Get = (dyn_peak_CameraMemory_Area_Size_Get) (load ? import_function(m_handle, "peak_CameraMemory_Area_Size_Get") : nullptr);
2469  if(m_peak_CameraMemory_Area_Size_Get == nullptr && load)
2470  {
2471  throw std::runtime_error("Failed to load peak_CameraMemory_Area_Size_Get");
2472  }
2473 
2474  m_peak_CameraMemory_Area_Data_Clear = (dyn_peak_CameraMemory_Area_Data_Clear) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Clear") : nullptr);
2475  if(m_peak_CameraMemory_Area_Data_Clear == nullptr && load)
2476  {
2477  throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Clear");
2478  }
2479 
2480  m_peak_CameraMemory_Area_Data_Write = (dyn_peak_CameraMemory_Area_Data_Write) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Write") : nullptr);
2481  if(m_peak_CameraMemory_Area_Data_Write == nullptr && load)
2482  {
2483  throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Write");
2484  }
2485 
2486  m_peak_CameraMemory_Area_Data_Read = (dyn_peak_CameraMemory_Area_Data_Read) (load ? import_function(m_handle, "peak_CameraMemory_Area_Data_Read") : nullptr);
2487  if(m_peak_CameraMemory_Area_Data_Read == nullptr && load)
2488  {
2489  throw std::runtime_error("Failed to load peak_CameraMemory_Area_Data_Read");
2490  }
2491 
2492  m_peak_GFA_EnableWriteAccess = (dyn_peak_GFA_EnableWriteAccess) (load ? import_function(m_handle, "peak_GFA_EnableWriteAccess") : nullptr);
2493  if(m_peak_GFA_EnableWriteAccess == nullptr && load)
2494  {
2495  throw std::runtime_error("Failed to load peak_GFA_EnableWriteAccess");
2496  }
2497 
2498  m_peak_GFA_IsWriteAccessEnabled = (dyn_peak_GFA_IsWriteAccessEnabled) (load ? import_function(m_handle, "peak_GFA_IsWriteAccessEnabled") : nullptr);
2499  if(m_peak_GFA_IsWriteAccessEnabled == nullptr && load)
2500  {
2501  throw std::runtime_error("Failed to load peak_GFA_IsWriteAccessEnabled");
2502  }
2503 
2504  m_peak_GFA_Feature_GetAccessStatus = (dyn_peak_GFA_Feature_GetAccessStatus) (load ? import_function(m_handle, "peak_GFA_Feature_GetAccessStatus") : nullptr);
2505  if(m_peak_GFA_Feature_GetAccessStatus == nullptr && load)
2506  {
2507  throw std::runtime_error("Failed to load peak_GFA_Feature_GetAccessStatus");
2508  }
2509 
2510  m_peak_GFA_Float_HasRange = (dyn_peak_GFA_Float_HasRange) (load ? import_function(m_handle, "peak_GFA_Float_HasRange") : nullptr);
2511  if(m_peak_GFA_Float_HasRange == nullptr && load)
2512  {
2513  throw std::runtime_error("Failed to load peak_GFA_Float_HasRange");
2514  }
2515 
2516  m_peak_GFA_Float_GetRange = (dyn_peak_GFA_Float_GetRange) (load ? import_function(m_handle, "peak_GFA_Float_GetRange") : nullptr);
2517  if(m_peak_GFA_Float_GetRange == nullptr && load)
2518  {
2519  throw std::runtime_error("Failed to load peak_GFA_Float_GetRange");
2520  }
2521 
2522  m_peak_GFA_Float_GetList = (dyn_peak_GFA_Float_GetList) (load ? import_function(m_handle, "peak_GFA_Float_GetList") : nullptr);
2523  if(m_peak_GFA_Float_GetList == nullptr && load)
2524  {
2525  throw std::runtime_error("Failed to load peak_GFA_Float_GetList");
2526  }
2527 
2528  m_peak_GFA_Float_Set = (dyn_peak_GFA_Float_Set) (load ? import_function(m_handle, "peak_GFA_Float_Set") : nullptr);
2529  if(m_peak_GFA_Float_Set == nullptr && load)
2530  {
2531  throw std::runtime_error("Failed to load peak_GFA_Float_Set");
2532  }
2533 
2534  m_peak_GFA_Float_Get = (dyn_peak_GFA_Float_Get) (load ? import_function(m_handle, "peak_GFA_Float_Get") : nullptr);
2535  if(m_peak_GFA_Float_Get == nullptr && load)
2536  {
2537  throw std::runtime_error("Failed to load peak_GFA_Float_Get");
2538  }
2539 
2540  m_peak_GFA_Integer_HasRange = (dyn_peak_GFA_Integer_HasRange) (load ? import_function(m_handle, "peak_GFA_Integer_HasRange") : nullptr);
2541  if(m_peak_GFA_Integer_HasRange == nullptr && load)
2542  {
2543  throw std::runtime_error("Failed to load peak_GFA_Integer_HasRange");
2544  }
2545 
2546  m_peak_GFA_Integer_GetRange = (dyn_peak_GFA_Integer_GetRange) (load ? import_function(m_handle, "peak_GFA_Integer_GetRange") : nullptr);
2547  if(m_peak_GFA_Integer_GetRange == nullptr && load)
2548  {
2549  throw std::runtime_error("Failed to load peak_GFA_Integer_GetRange");
2550  }
2551 
2552  m_peak_GFA_Integer_GetList = (dyn_peak_GFA_Integer_GetList) (load ? import_function(m_handle, "peak_GFA_Integer_GetList") : nullptr);
2553  if(m_peak_GFA_Integer_GetList == nullptr && load)
2554  {
2555  throw std::runtime_error("Failed to load peak_GFA_Integer_GetList");
2556  }
2557 
2558  m_peak_GFA_Integer_Set = (dyn_peak_GFA_Integer_Set) (load ? import_function(m_handle, "peak_GFA_Integer_Set") : nullptr);
2559  if(m_peak_GFA_Integer_Set == nullptr && load)
2560  {
2561  throw std::runtime_error("Failed to load peak_GFA_Integer_Set");
2562  }
2563 
2564  m_peak_GFA_Integer_Get = (dyn_peak_GFA_Integer_Get) (load ? import_function(m_handle, "peak_GFA_Integer_Get") : nullptr);
2565  if(m_peak_GFA_Integer_Get == nullptr && load)
2566  {
2567  throw std::runtime_error("Failed to load peak_GFA_Integer_Get");
2568  }
2569 
2570  m_peak_GFA_Boolean_Set = (dyn_peak_GFA_Boolean_Set) (load ? import_function(m_handle, "peak_GFA_Boolean_Set") : nullptr);
2571  if(m_peak_GFA_Boolean_Set == nullptr && load)
2572  {
2573  throw std::runtime_error("Failed to load peak_GFA_Boolean_Set");
2574  }
2575 
2576  m_peak_GFA_Boolean_Get = (dyn_peak_GFA_Boolean_Get) (load ? import_function(m_handle, "peak_GFA_Boolean_Get") : nullptr);
2577  if(m_peak_GFA_Boolean_Get == nullptr && load)
2578  {
2579  throw std::runtime_error("Failed to load peak_GFA_Boolean_Get");
2580  }
2581 
2582  m_peak_GFA_String_Set = (dyn_peak_GFA_String_Set) (load ? import_function(m_handle, "peak_GFA_String_Set") : nullptr);
2583  if(m_peak_GFA_String_Set == nullptr && load)
2584  {
2585  throw std::runtime_error("Failed to load peak_GFA_String_Set");
2586  }
2587 
2588  m_peak_GFA_String_Get = (dyn_peak_GFA_String_Get) (load ? import_function(m_handle, "peak_GFA_String_Get") : nullptr);
2589  if(m_peak_GFA_String_Get == nullptr && load)
2590  {
2591  throw std::runtime_error("Failed to load peak_GFA_String_Get");
2592  }
2593 
2594  m_peak_GFA_Command_Execute = (dyn_peak_GFA_Command_Execute) (load ? import_function(m_handle, "peak_GFA_Command_Execute") : nullptr);
2595  if(m_peak_GFA_Command_Execute == nullptr && load)
2596  {
2597  throw std::runtime_error("Failed to load peak_GFA_Command_Execute");
2598  }
2599 
2600  m_peak_GFA_Command_WaitForDone = (dyn_peak_GFA_Command_WaitForDone) (load ? import_function(m_handle, "peak_GFA_Command_WaitForDone") : nullptr);
2601  if(m_peak_GFA_Command_WaitForDone == nullptr && load)
2602  {
2603  throw std::runtime_error("Failed to load peak_GFA_Command_WaitForDone");
2604  }
2605 
2606  m_peak_GFA_Enumeration_GetList = (dyn_peak_GFA_Enumeration_GetList) (load ? import_function(m_handle, "peak_GFA_Enumeration_GetList") : nullptr);
2607  if(m_peak_GFA_Enumeration_GetList == nullptr && load)
2608  {
2609  throw std::runtime_error("Failed to load peak_GFA_Enumeration_GetList");
2610  }
2611 
2612  m_peak_GFA_EnumerationEntry_GetAccessStatus = (dyn_peak_GFA_EnumerationEntry_GetAccessStatus) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatus") : nullptr);
2613  if(m_peak_GFA_EnumerationEntry_GetAccessStatus == nullptr && load)
2614  {
2615  throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatus");
2616  }
2617 
2618  m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue = (dyn_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue") : nullptr);
2619  if(m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue == nullptr && load)
2620  {
2621  throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue");
2622  }
2623 
2624  m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue = (dyn_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue) (load ? import_function(m_handle, "peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue") : nullptr);
2625  if(m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue == nullptr && load)
2626  {
2627  throw std::runtime_error("Failed to load peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue");
2628  }
2629 
2630  m_peak_GFA_Enumeration_Set = (dyn_peak_GFA_Enumeration_Set) (load ? import_function(m_handle, "peak_GFA_Enumeration_Set") : nullptr);
2631  if(m_peak_GFA_Enumeration_Set == nullptr && load)
2632  {
2633  throw std::runtime_error("Failed to load peak_GFA_Enumeration_Set");
2634  }
2635 
2636  m_peak_GFA_Enumeration_SetBySymbolicValue = (dyn_peak_GFA_Enumeration_SetBySymbolicValue) (load ? import_function(m_handle, "peak_GFA_Enumeration_SetBySymbolicValue") : nullptr);
2637  if(m_peak_GFA_Enumeration_SetBySymbolicValue == nullptr && load)
2638  {
2639  throw std::runtime_error("Failed to load peak_GFA_Enumeration_SetBySymbolicValue");
2640  }
2641 
2642  m_peak_GFA_Enumeration_SetByIntegerValue = (dyn_peak_GFA_Enumeration_SetByIntegerValue) (load ? import_function(m_handle, "peak_GFA_Enumeration_SetByIntegerValue") : nullptr);
2643  if(m_peak_GFA_Enumeration_SetByIntegerValue == nullptr && load)
2644  {
2645  throw std::runtime_error("Failed to load peak_GFA_Enumeration_SetByIntegerValue");
2646  }
2647 
2648  m_peak_GFA_Enumeration_Get = (dyn_peak_GFA_Enumeration_Get) (load ? import_function(m_handle, "peak_GFA_Enumeration_Get") : nullptr);
2649  if(m_peak_GFA_Enumeration_Get == nullptr && load)
2650  {
2651  throw std::runtime_error("Failed to load peak_GFA_Enumeration_Get");
2652  }
2653 
2654  m_peak_GFA_Register_Set = (dyn_peak_GFA_Register_Set) (load ? import_function(m_handle, "peak_GFA_Register_Set") : nullptr);
2655  if(m_peak_GFA_Register_Set == nullptr && load)
2656  {
2657  throw std::runtime_error("Failed to load peak_GFA_Register_Set");
2658  }
2659 
2660  m_peak_GFA_Register_Get = (dyn_peak_GFA_Register_Get) (load ? import_function(m_handle, "peak_GFA_Register_Get") : nullptr);
2661  if(m_peak_GFA_Register_Get == nullptr && load)
2662  {
2663  throw std::runtime_error("Failed to load peak_GFA_Register_Get");
2664  }
2665 
2666  m_peak_GFA_Data_Write = (dyn_peak_GFA_Data_Write) (load ? import_function(m_handle, "peak_GFA_Data_Write") : nullptr);
2667  if(m_peak_GFA_Data_Write == nullptr && load)
2668  {
2669  throw std::runtime_error("Failed to load peak_GFA_Data_Write");
2670  }
2671 
2672  m_peak_GFA_Data_Read = (dyn_peak_GFA_Data_Read) (load ? import_function(m_handle, "peak_GFA_Data_Read") : nullptr);
2673  if(m_peak_GFA_Data_Read == nullptr && load)
2674  {
2675  throw std::runtime_error("Failed to load peak_GFA_Data_Read");
2676  }
2677 
2678  m_peak_IPL_PixelFormat_GetList = (dyn_peak_IPL_PixelFormat_GetList) (load ? import_function(m_handle, "peak_IPL_PixelFormat_GetList") : nullptr);
2679  if(m_peak_IPL_PixelFormat_GetList == nullptr && load)
2680  {
2681  throw std::runtime_error("Failed to load peak_IPL_PixelFormat_GetList");
2682  }
2683 
2684  m_peak_IPL_PixelFormat_Set = (dyn_peak_IPL_PixelFormat_Set) (load ? import_function(m_handle, "peak_IPL_PixelFormat_Set") : nullptr);
2685  if(m_peak_IPL_PixelFormat_Set == nullptr && load)
2686  {
2687  throw std::runtime_error("Failed to load peak_IPL_PixelFormat_Set");
2688  }
2689 
2690  m_peak_IPL_PixelFormat_Get = (dyn_peak_IPL_PixelFormat_Get) (load ? import_function(m_handle, "peak_IPL_PixelFormat_Get") : nullptr);
2691  if(m_peak_IPL_PixelFormat_Get == nullptr && load)
2692  {
2693  throw std::runtime_error("Failed to load peak_IPL_PixelFormat_Get");
2694  }
2695 
2696  m_peak_IPL_Gain_GetRange = (dyn_peak_IPL_Gain_GetRange) (load ? import_function(m_handle, "peak_IPL_Gain_GetRange") : nullptr);
2697  if(m_peak_IPL_Gain_GetRange == nullptr && load)
2698  {
2699  throw std::runtime_error("Failed to load peak_IPL_Gain_GetRange");
2700  }
2701 
2702  m_peak_IPL_Gain_Set = (dyn_peak_IPL_Gain_Set) (load ? import_function(m_handle, "peak_IPL_Gain_Set") : nullptr);
2703  if(m_peak_IPL_Gain_Set == nullptr && load)
2704  {
2705  throw std::runtime_error("Failed to load peak_IPL_Gain_Set");
2706  }
2707 
2708  m_peak_IPL_Gain_Get = (dyn_peak_IPL_Gain_Get) (load ? import_function(m_handle, "peak_IPL_Gain_Get") : nullptr);
2709  if(m_peak_IPL_Gain_Get == nullptr && load)
2710  {
2711  throw std::runtime_error("Failed to load peak_IPL_Gain_Get");
2712  }
2713 
2714  m_peak_IPL_Gamma_GetRange = (dyn_peak_IPL_Gamma_GetRange) (load ? import_function(m_handle, "peak_IPL_Gamma_GetRange") : nullptr);
2715  if(m_peak_IPL_Gamma_GetRange == nullptr && load)
2716  {
2717  throw std::runtime_error("Failed to load peak_IPL_Gamma_GetRange");
2718  }
2719 
2720  m_peak_IPL_Gamma_Set = (dyn_peak_IPL_Gamma_Set) (load ? import_function(m_handle, "peak_IPL_Gamma_Set") : nullptr);
2721  if(m_peak_IPL_Gamma_Set == nullptr && load)
2722  {
2723  throw std::runtime_error("Failed to load peak_IPL_Gamma_Set");
2724  }
2725 
2726  m_peak_IPL_Gamma_Get = (dyn_peak_IPL_Gamma_Get) (load ? import_function(m_handle, "peak_IPL_Gamma_Get") : nullptr);
2727  if(m_peak_IPL_Gamma_Get == nullptr && load)
2728  {
2729  throw std::runtime_error("Failed to load peak_IPL_Gamma_Get");
2730  }
2731 
2732  m_peak_IPL_ColorCorrection_Matrix_Set = (dyn_peak_IPL_ColorCorrection_Matrix_Set) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Matrix_Set") : nullptr);
2733  if(m_peak_IPL_ColorCorrection_Matrix_Set == nullptr && load)
2734  {
2735  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Matrix_Set");
2736  }
2737 
2738  m_peak_IPL_ColorCorrection_Matrix_Get = (dyn_peak_IPL_ColorCorrection_Matrix_Get) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Matrix_Get") : nullptr);
2739  if(m_peak_IPL_ColorCorrection_Matrix_Get == nullptr && load)
2740  {
2741  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Matrix_Get");
2742  }
2743 
2744  m_peak_IPL_ColorCorrection_Saturation_Get = (dyn_peak_IPL_ColorCorrection_Saturation_Get) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_Get") : nullptr);
2745  if(m_peak_IPL_ColorCorrection_Saturation_Get == nullptr && load)
2746  {
2747  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_Get");
2748  }
2749 
2750  m_peak_IPL_ColorCorrection_Saturation_Set = (dyn_peak_IPL_ColorCorrection_Saturation_Set) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_Set") : nullptr);
2751  if(m_peak_IPL_ColorCorrection_Saturation_Set == nullptr && load)
2752  {
2753  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_Set");
2754  }
2755 
2756  m_peak_IPL_ColorCorrection_Saturation_GetRange = (dyn_peak_IPL_ColorCorrection_Saturation_GetRange) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Saturation_GetRange") : nullptr);
2757  if(m_peak_IPL_ColorCorrection_Saturation_GetRange == nullptr && load)
2758  {
2759  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Saturation_GetRange");
2760  }
2761 
2762  m_peak_IPL_ColorCorrection_Enable = (dyn_peak_IPL_ColorCorrection_Enable) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_Enable") : nullptr);
2763  if(m_peak_IPL_ColorCorrection_Enable == nullptr && load)
2764  {
2765  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_Enable");
2766  }
2767 
2768  m_peak_IPL_ColorCorrection_IsEnabled = (dyn_peak_IPL_ColorCorrection_IsEnabled) (load ? import_function(m_handle, "peak_IPL_ColorCorrection_IsEnabled") : nullptr);
2769  if(m_peak_IPL_ColorCorrection_IsEnabled == nullptr && load)
2770  {
2771  throw std::runtime_error("Failed to load peak_IPL_ColorCorrection_IsEnabled");
2772  }
2773 
2774  m_peak_IPL_AutoBrightness_Target_GetRange = (dyn_peak_IPL_AutoBrightness_Target_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_GetRange") : nullptr);
2775  if(m_peak_IPL_AutoBrightness_Target_GetRange == nullptr && load)
2776  {
2777  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_GetRange");
2778  }
2779 
2780  m_peak_IPL_AutoBrightness_Target_Set = (dyn_peak_IPL_AutoBrightness_Target_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_Set") : nullptr);
2781  if(m_peak_IPL_AutoBrightness_Target_Set == nullptr && load)
2782  {
2783  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_Set");
2784  }
2785 
2786  m_peak_IPL_AutoBrightness_Target_Get = (dyn_peak_IPL_AutoBrightness_Target_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_Target_Get") : nullptr);
2787  if(m_peak_IPL_AutoBrightness_Target_Get == nullptr && load)
2788  {
2789  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Target_Get");
2790  }
2791 
2792  m_peak_IPL_AutoBrightness_TargetTolerance_GetRange = (dyn_peak_IPL_AutoBrightness_TargetTolerance_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_GetRange") : nullptr);
2793  if(m_peak_IPL_AutoBrightness_TargetTolerance_GetRange == nullptr && load)
2794  {
2795  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_GetRange");
2796  }
2797 
2798  m_peak_IPL_AutoBrightness_TargetTolerance_Set = (dyn_peak_IPL_AutoBrightness_TargetTolerance_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_Set") : nullptr);
2799  if(m_peak_IPL_AutoBrightness_TargetTolerance_Set == nullptr && load)
2800  {
2801  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_Set");
2802  }
2803 
2804  m_peak_IPL_AutoBrightness_TargetTolerance_Get = (dyn_peak_IPL_AutoBrightness_TargetTolerance_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetTolerance_Get") : nullptr);
2805  if(m_peak_IPL_AutoBrightness_TargetTolerance_Get == nullptr && load)
2806  {
2807  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetTolerance_Get");
2808  }
2809 
2810  m_peak_IPL_AutoBrightness_TargetPercentile_GetRange = (dyn_peak_IPL_AutoBrightness_TargetPercentile_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_GetRange") : nullptr);
2811  if(m_peak_IPL_AutoBrightness_TargetPercentile_GetRange == nullptr && load)
2812  {
2813  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_GetRange");
2814  }
2815 
2816  m_peak_IPL_AutoBrightness_TargetPercentile_Set = (dyn_peak_IPL_AutoBrightness_TargetPercentile_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_Set") : nullptr);
2817  if(m_peak_IPL_AutoBrightness_TargetPercentile_Set == nullptr && load)
2818  {
2819  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_Set");
2820  }
2821 
2822  m_peak_IPL_AutoBrightness_TargetPercentile_Get = (dyn_peak_IPL_AutoBrightness_TargetPercentile_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_TargetPercentile_Get") : nullptr);
2823  if(m_peak_IPL_AutoBrightness_TargetPercentile_Get == nullptr && load)
2824  {
2825  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_TargetPercentile_Get");
2826  }
2827 
2828  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);
2829  if(m_peak_IPL_AutoBrightness_ROI_Mode_Set == nullptr && load)
2830  {
2831  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Mode_Set");
2832  }
2833 
2834  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);
2835  if(m_peak_IPL_AutoBrightness_ROI_Mode_Get == nullptr && load)
2836  {
2837  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Mode_Get");
2838  }
2839 
2840  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);
2841  if(m_peak_IPL_AutoBrightness_ROI_Offset_GetRange == nullptr && load)
2842  {
2843  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Offset_GetRange");
2844  }
2845 
2846  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);
2847  if(m_peak_IPL_AutoBrightness_ROI_Size_GetRange == nullptr && load)
2848  {
2849  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Size_GetRange");
2850  }
2851 
2852  m_peak_IPL_AutoBrightness_ROI_Set = (dyn_peak_IPL_AutoBrightness_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Set") : nullptr);
2853  if(m_peak_IPL_AutoBrightness_ROI_Set == nullptr && load)
2854  {
2855  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Set");
2856  }
2857 
2858  m_peak_IPL_AutoBrightness_ROI_Get = (dyn_peak_IPL_AutoBrightness_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoBrightness_ROI_Get") : nullptr);
2859  if(m_peak_IPL_AutoBrightness_ROI_Get == nullptr && load)
2860  {
2861  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_ROI_Get");
2862  }
2863 
2864  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);
2865  if(m_peak_IPL_AutoBrightness_Exposure_Mode_Set == nullptr && load)
2866  {
2867  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Exposure_Mode_Set");
2868  }
2869 
2870  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);
2871  if(m_peak_IPL_AutoBrightness_Exposure_Mode_Get == nullptr && load)
2872  {
2873  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Exposure_Mode_Get");
2874  }
2875 
2876  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);
2877  if(m_peak_IPL_AutoBrightness_Gain_Mode_Set == nullptr && load)
2878  {
2879  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Gain_Mode_Set");
2880  }
2881 
2882  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);
2883  if(m_peak_IPL_AutoBrightness_Gain_Mode_Get == nullptr && load)
2884  {
2885  throw std::runtime_error("Failed to load peak_IPL_AutoBrightness_Gain_Mode_Get");
2886  }
2887 
2888  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);
2889  if(m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set == nullptr && load)
2890  {
2891  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Mode_Set");
2892  }
2893 
2894  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);
2895  if(m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get == nullptr && load)
2896  {
2897  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Mode_Get");
2898  }
2899 
2900  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);
2901  if(m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange == nullptr && load)
2902  {
2903  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange");
2904  }
2905 
2906  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);
2907  if(m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange == nullptr && load)
2908  {
2909  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Size_GetRange");
2910  }
2911 
2912  m_peak_IPL_AutoWhiteBalance_ROI_Set = (dyn_peak_IPL_AutoWhiteBalance_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Set") : nullptr);
2913  if(m_peak_IPL_AutoWhiteBalance_ROI_Set == nullptr && load)
2914  {
2915  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Set");
2916  }
2917 
2918  m_peak_IPL_AutoWhiteBalance_ROI_Get = (dyn_peak_IPL_AutoWhiteBalance_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_ROI_Get") : nullptr);
2919  if(m_peak_IPL_AutoWhiteBalance_ROI_Get == nullptr && load)
2920  {
2921  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_ROI_Get");
2922  }
2923 
2924  m_peak_IPL_AutoWhiteBalance_Mode_Set = (dyn_peak_IPL_AutoWhiteBalance_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_Mode_Set") : nullptr);
2925  if(m_peak_IPL_AutoWhiteBalance_Mode_Set == nullptr && load)
2926  {
2927  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_Mode_Set");
2928  }
2929 
2930  m_peak_IPL_AutoWhiteBalance_Mode_Get = (dyn_peak_IPL_AutoWhiteBalance_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoWhiteBalance_Mode_Get") : nullptr);
2931  if(m_peak_IPL_AutoWhiteBalance_Mode_Get == nullptr && load)
2932  {
2933  throw std::runtime_error("Failed to load peak_IPL_AutoWhiteBalance_Mode_Get");
2934  }
2935 
2936  m_peak_IPL_AutoFocus_GetAccessStatus = (dyn_peak_IPL_AutoFocus_GetAccessStatus) (load ? import_function(m_handle, "peak_IPL_AutoFocus_GetAccessStatus") : nullptr);
2937  if(m_peak_IPL_AutoFocus_GetAccessStatus == nullptr && load)
2938  {
2939  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_GetAccessStatus");
2940  }
2941 
2942  m_peak_IPL_AutoFocus_ROI_Set = (dyn_peak_IPL_AutoFocus_ROI_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_ROI_Set") : nullptr);
2943  if(m_peak_IPL_AutoFocus_ROI_Set == nullptr && load)
2944  {
2945  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_ROI_Set");
2946  }
2947 
2948  m_peak_IPL_AutoFocus_ROI_Get = (dyn_peak_IPL_AutoFocus_ROI_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_ROI_Get") : nullptr);
2949  if(m_peak_IPL_AutoFocus_ROI_Get == nullptr && load)
2950  {
2951  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_ROI_Get");
2952  }
2953 
2954  m_peak_IPL_AutoFocus_Mode_Set = (dyn_peak_IPL_AutoFocus_Mode_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Mode_Set") : nullptr);
2955  if(m_peak_IPL_AutoFocus_Mode_Set == nullptr && load)
2956  {
2957  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Mode_Set");
2958  }
2959 
2960  m_peak_IPL_AutoFocus_Mode_Get = (dyn_peak_IPL_AutoFocus_Mode_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Mode_Get") : nullptr);
2961  if(m_peak_IPL_AutoFocus_Mode_Get == nullptr && load)
2962  {
2963  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Mode_Get");
2964  }
2965 
2966  m_peak_IPL_AutoFocus_SearchAlgorithm_Set = (dyn_peak_IPL_AutoFocus_SearchAlgorithm_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SearchAlgorithm_Set") : nullptr);
2967  if(m_peak_IPL_AutoFocus_SearchAlgorithm_Set == nullptr && load)
2968  {
2969  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SearchAlgorithm_Set");
2970  }
2971 
2972  m_peak_IPL_AutoFocus_SearchAlgorithm_Get = (dyn_peak_IPL_AutoFocus_SearchAlgorithm_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SearchAlgorithm_Get") : nullptr);
2973  if(m_peak_IPL_AutoFocus_SearchAlgorithm_Get == nullptr && load)
2974  {
2975  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SearchAlgorithm_Get");
2976  }
2977 
2978  m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set = (dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SharpnessAlgorithm_Set") : nullptr);
2979  if(m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set == nullptr && load)
2980  {
2981  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SharpnessAlgorithm_Set");
2982  }
2983 
2984  m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get = (dyn_peak_IPL_AutoFocus_SharpnessAlgorithm_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_SharpnessAlgorithm_Get") : nullptr);
2985  if(m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get == nullptr && load)
2986  {
2987  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_SharpnessAlgorithm_Get");
2988  }
2989 
2990  m_peak_IPL_AutoFocus_Range_Set = (dyn_peak_IPL_AutoFocus_Range_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Range_Set") : nullptr);
2991  if(m_peak_IPL_AutoFocus_Range_Set == nullptr && load)
2992  {
2993  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Range_Set");
2994  }
2995 
2996  m_peak_IPL_AutoFocus_Range_Get = (dyn_peak_IPL_AutoFocus_Range_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Range_Get") : nullptr);
2997  if(m_peak_IPL_AutoFocus_Range_Get == nullptr && load)
2998  {
2999  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Range_Get");
3000  }
3001 
3002  m_peak_IPL_AutoFocus_Hysteresis_Set = (dyn_peak_IPL_AutoFocus_Hysteresis_Set) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_Set") : nullptr);
3003  if(m_peak_IPL_AutoFocus_Hysteresis_Set == nullptr && load)
3004  {
3005  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_Set");
3006  }
3007 
3008  m_peak_IPL_AutoFocus_Hysteresis_Get = (dyn_peak_IPL_AutoFocus_Hysteresis_Get) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_Get") : nullptr);
3009  if(m_peak_IPL_AutoFocus_Hysteresis_Get == nullptr && load)
3010  {
3011  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_Get");
3012  }
3013 
3014  m_peak_IPL_AutoFocus_Hysteresis_GetRange = (dyn_peak_IPL_AutoFocus_Hysteresis_GetRange) (load ? import_function(m_handle, "peak_IPL_AutoFocus_Hysteresis_GetRange") : nullptr);
3015  if(m_peak_IPL_AutoFocus_Hysteresis_GetRange == nullptr && load)
3016  {
3017  throw std::runtime_error("Failed to load peak_IPL_AutoFocus_Hysteresis_GetRange");
3018  }
3019 
3020  m_peak_IPL_HotpixelCorrection_Sensitivity_Set = (dyn_peak_IPL_HotpixelCorrection_Sensitivity_Set) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Sensitivity_Set") : nullptr);
3021  if(m_peak_IPL_HotpixelCorrection_Sensitivity_Set == nullptr && load)
3022  {
3023  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Sensitivity_Set");
3024  }
3025 
3026  m_peak_IPL_HotpixelCorrection_Sensitivity_Get = (dyn_peak_IPL_HotpixelCorrection_Sensitivity_Get) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Sensitivity_Get") : nullptr);
3027  if(m_peak_IPL_HotpixelCorrection_Sensitivity_Get == nullptr && load)
3028  {
3029  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Sensitivity_Get");
3030  }
3031 
3032  m_peak_IPL_HotpixelCorrection_GetList = (dyn_peak_IPL_HotpixelCorrection_GetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_GetList") : nullptr);
3033  if(m_peak_IPL_HotpixelCorrection_GetList == nullptr && load)
3034  {
3035  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_GetList");
3036  }
3037 
3038  m_peak_IPL_HotpixelCorrection_SetList = (dyn_peak_IPL_HotpixelCorrection_SetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_SetList") : nullptr);
3039  if(m_peak_IPL_HotpixelCorrection_SetList == nullptr && load)
3040  {
3041  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_SetList");
3042  }
3043 
3044  m_peak_IPL_HotpixelCorrection_ResetList = (dyn_peak_IPL_HotpixelCorrection_ResetList) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_ResetList") : nullptr);
3045  if(m_peak_IPL_HotpixelCorrection_ResetList == nullptr && load)
3046  {
3047  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_ResetList");
3048  }
3049 
3050  m_peak_IPL_HotpixelCorrection_Enable = (dyn_peak_IPL_HotpixelCorrection_Enable) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_Enable") : nullptr);
3051  if(m_peak_IPL_HotpixelCorrection_Enable == nullptr && load)
3052  {
3053  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_Enable");
3054  }
3055 
3056  m_peak_IPL_HotpixelCorrection_IsEnabled = (dyn_peak_IPL_HotpixelCorrection_IsEnabled) (load ? import_function(m_handle, "peak_IPL_HotpixelCorrection_IsEnabled") : nullptr);
3057  if(m_peak_IPL_HotpixelCorrection_IsEnabled == nullptr && load)
3058  {
3059  throw std::runtime_error("Failed to load peak_IPL_HotpixelCorrection_IsEnabled");
3060  }
3061 
3062  m_peak_IPL_Mirror_UpDown_Enable = (dyn_peak_IPL_Mirror_UpDown_Enable) (load ? import_function(m_handle, "peak_IPL_Mirror_UpDown_Enable") : nullptr);
3063  if(m_peak_IPL_Mirror_UpDown_Enable == nullptr && load)
3064  {
3065  throw std::runtime_error("Failed to load peak_IPL_Mirror_UpDown_Enable");
3066  }
3067 
3068  m_peak_IPL_Mirror_UpDown_IsEnabled = (dyn_peak_IPL_Mirror_UpDown_IsEnabled) (load ? import_function(m_handle, "peak_IPL_Mirror_UpDown_IsEnabled") : nullptr);
3069  if(m_peak_IPL_Mirror_UpDown_IsEnabled == nullptr && load)
3070  {
3071  throw std::runtime_error("Failed to load peak_IPL_Mirror_UpDown_IsEnabled");
3072  }
3073 
3074  m_peak_IPL_Mirror_LeftRight_Enable = (dyn_peak_IPL_Mirror_LeftRight_Enable) (load ? import_function(m_handle, "peak_IPL_Mirror_LeftRight_Enable") : nullptr);
3075  if(m_peak_IPL_Mirror_LeftRight_Enable == nullptr && load)
3076  {
3077  throw std::runtime_error("Failed to load peak_IPL_Mirror_LeftRight_Enable");
3078  }
3079 
3080  m_peak_IPL_Mirror_LeftRight_IsEnabled = (dyn_peak_IPL_Mirror_LeftRight_IsEnabled) (load ? import_function(m_handle, "peak_IPL_Mirror_LeftRight_IsEnabled") : nullptr);
3081  if(m_peak_IPL_Mirror_LeftRight_IsEnabled == nullptr && load)
3082  {
3083  throw std::runtime_error("Failed to load peak_IPL_Mirror_LeftRight_IsEnabled");
3084  }
3085 
3086  m_peak_IPL_ProcessFrame = (dyn_peak_IPL_ProcessFrame) (load ? import_function(m_handle, "peak_IPL_ProcessFrame") : nullptr);
3087  if(m_peak_IPL_ProcessFrame == nullptr && load)
3088  {
3089  throw std::runtime_error("Failed to load peak_IPL_ProcessFrame");
3090  }
3091 
3092  m_peak_IPL_ProcessFrameInplace = (dyn_peak_IPL_ProcessFrameInplace) (load ? import_function(m_handle, "peak_IPL_ProcessFrameInplace") : nullptr);
3093  if(m_peak_IPL_ProcessFrameInplace == nullptr && load)
3094  {
3095  throw std::runtime_error("Failed to load peak_IPL_ProcessFrameInplace");
3096  }
3097 
3098  m_peak_IPL_EdgeEnhancement_Enable = (dyn_peak_IPL_EdgeEnhancement_Enable) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Enable") : nullptr);
3099  if(m_peak_IPL_EdgeEnhancement_Enable == nullptr && load)
3100  {
3101  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Enable");
3102  }
3103 
3104  m_peak_IPL_EdgeEnhancement_IsEnabled = (dyn_peak_IPL_EdgeEnhancement_IsEnabled) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_IsEnabled") : nullptr);
3105  if(m_peak_IPL_EdgeEnhancement_IsEnabled == nullptr && load)
3106  {
3107  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_IsEnabled");
3108  }
3109 
3110  m_peak_IPL_EdgeEnhancement_Factor_Set = (dyn_peak_IPL_EdgeEnhancement_Factor_Set) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_Set") : nullptr);
3111  if(m_peak_IPL_EdgeEnhancement_Factor_Set == nullptr && load)
3112  {
3113  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_Set");
3114  }
3115 
3116  m_peak_IPL_EdgeEnhancement_Factor_Get = (dyn_peak_IPL_EdgeEnhancement_Factor_Get) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_Get") : nullptr);
3117  if(m_peak_IPL_EdgeEnhancement_Factor_Get == nullptr && load)
3118  {
3119  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_Get");
3120  }
3121 
3122  m_peak_IPL_EdgeEnhancement_Factor_GetDefault = (dyn_peak_IPL_EdgeEnhancement_Factor_GetDefault) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_GetDefault") : nullptr);
3123  if(m_peak_IPL_EdgeEnhancement_Factor_GetDefault == nullptr && load)
3124  {
3125  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_GetDefault");
3126  }
3127 
3128  m_peak_IPL_EdgeEnhancement_Factor_GetRange = (dyn_peak_IPL_EdgeEnhancement_Factor_GetRange) (load ? import_function(m_handle, "peak_IPL_EdgeEnhancement_Factor_GetRange") : nullptr);
3129  if(m_peak_IPL_EdgeEnhancement_Factor_GetRange == nullptr && load)
3130  {
3131  throw std::runtime_error("Failed to load peak_IPL_EdgeEnhancement_Factor_GetRange");
3132  }
3133 
3134  m_peak_IPL_Sharpness_Measure = (dyn_peak_IPL_Sharpness_Measure) (load ? import_function(m_handle, "peak_IPL_Sharpness_Measure") : nullptr);
3135  if(m_peak_IPL_Sharpness_Measure == nullptr && load)
3136  {
3137  throw std::runtime_error("Failed to load peak_IPL_Sharpness_Measure");
3138  }
3139 
3140  m_peak_VideoWriter_Open = (dyn_peak_VideoWriter_Open) (load ? import_function(m_handle, "peak_VideoWriter_Open") : nullptr);
3141  if(m_peak_VideoWriter_Open == nullptr && load)
3142  {
3143  throw std::runtime_error("Failed to load peak_VideoWriter_Open");
3144  }
3145 
3146  m_peak_VideoWriter_Close = (dyn_peak_VideoWriter_Close) (load ? import_function(m_handle, "peak_VideoWriter_Close") : nullptr);
3147  if(m_peak_VideoWriter_Close == nullptr && load)
3148  {
3149  throw std::runtime_error("Failed to load peak_VideoWriter_Close");
3150  }
3151 
3152  m_peak_VideoWriter_AddFrame = (dyn_peak_VideoWriter_AddFrame) (load ? import_function(m_handle, "peak_VideoWriter_AddFrame") : nullptr);
3153  if(m_peak_VideoWriter_AddFrame == nullptr && load)
3154  {
3155  throw std::runtime_error("Failed to load peak_VideoWriter_AddFrame");
3156  }
3157 
3158  m_peak_VideoWriter_Container_GetEncoderList = (dyn_peak_VideoWriter_Container_GetEncoderList) (load ? import_function(m_handle, "peak_VideoWriter_Container_GetEncoderList") : nullptr);
3159  if(m_peak_VideoWriter_Container_GetEncoderList == nullptr && load)
3160  {
3161  throw std::runtime_error("Failed to load peak_VideoWriter_Container_GetEncoderList");
3162  }
3163 
3164  m_peak_VideoWriter_Encoder_GetPixelFormatList = (dyn_peak_VideoWriter_Encoder_GetPixelFormatList) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_GetPixelFormatList") : nullptr);
3165  if(m_peak_VideoWriter_Encoder_GetPixelFormatList == nullptr && load)
3166  {
3167  throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_GetPixelFormatList");
3168  }
3169 
3170  m_peak_VideoWriter_Encoder_GetContainerList = (dyn_peak_VideoWriter_Encoder_GetContainerList) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_GetContainerList") : nullptr);
3171  if(m_peak_VideoWriter_Encoder_GetContainerList == nullptr && load)
3172  {
3173  throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_GetContainerList");
3174  }
3175 
3176  m_peak_VideoWriter_GetInfo = (dyn_peak_VideoWriter_GetInfo) (load ? import_function(m_handle, "peak_VideoWriter_GetInfo") : nullptr);
3177  if(m_peak_VideoWriter_GetInfo == nullptr && load)
3178  {
3179  throw std::runtime_error("Failed to load peak_VideoWriter_GetInfo");
3180  }
3181 
3182  m_peak_VideoWriter_Container_Option_Set = (dyn_peak_VideoWriter_Container_Option_Set) (load ? import_function(m_handle, "peak_VideoWriter_Container_Option_Set") : nullptr);
3183  if(m_peak_VideoWriter_Container_Option_Set == nullptr && load)
3184  {
3185  throw std::runtime_error("Failed to load peak_VideoWriter_Container_Option_Set");
3186  }
3187 
3188  m_peak_VideoWriter_Container_Option_Get = (dyn_peak_VideoWriter_Container_Option_Get) (load ? import_function(m_handle, "peak_VideoWriter_Container_Option_Get") : nullptr);
3189  if(m_peak_VideoWriter_Container_Option_Get == nullptr && load)
3190  {
3191  throw std::runtime_error("Failed to load peak_VideoWriter_Container_Option_Get");
3192  }
3193 
3194  m_peak_VideoWriter_Encoder_Option_Set = (dyn_peak_VideoWriter_Encoder_Option_Set) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_Option_Set") : nullptr);
3195  if(m_peak_VideoWriter_Encoder_Option_Set == nullptr && load)
3196  {
3197  throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_Option_Set");
3198  }
3199 
3200  m_peak_VideoWriter_Encoder_Option_Get = (dyn_peak_VideoWriter_Encoder_Option_Get) (load ? import_function(m_handle, "peak_VideoWriter_Encoder_Option_Get") : nullptr);
3201  if(m_peak_VideoWriter_Encoder_Option_Get == nullptr && load)
3202  {
3203  throw std::runtime_error("Failed to load peak_VideoWriter_Encoder_Option_Get");
3204  }
3205 
3206  m_peak_VideoWriter_WaitUntilQueueEmpty = (dyn_peak_VideoWriter_WaitUntilQueueEmpty) (load ? import_function(m_handle, "peak_VideoWriter_WaitUntilQueueEmpty") : nullptr);
3207  if(m_peak_VideoWriter_WaitUntilQueueEmpty == nullptr && load)
3208  {
3209  throw std::runtime_error("Failed to load peak_VideoWriter_WaitUntilQueueEmpty");
3210  }
3211 
3212  m_peak_Inference_CNN_Open = (dyn_peak_Inference_CNN_Open) (load ? import_function(m_handle, "peak_Inference_CNN_Open") : nullptr);
3213  if(m_peak_Inference_CNN_Open == nullptr && load)
3214  {
3215  throw std::runtime_error("Failed to load peak_Inference_CNN_Open");
3216  }
3217 
3218  m_peak_Inference_CNN_Close = (dyn_peak_Inference_CNN_Close) (load ? import_function(m_handle, "peak_Inference_CNN_Close") : nullptr);
3219  if(m_peak_Inference_CNN_Close == nullptr && load)
3220  {
3221  throw std::runtime_error("Failed to load peak_Inference_CNN_Close");
3222  }
3223 
3224  m_peak_Inference_CNN_ProcessFrame = (dyn_peak_Inference_CNN_ProcessFrame) (load ? import_function(m_handle, "peak_Inference_CNN_ProcessFrame") : nullptr);
3225  if(m_peak_Inference_CNN_ProcessFrame == nullptr && load)
3226  {
3227  throw std::runtime_error("Failed to load peak_Inference_CNN_ProcessFrame");
3228  }
3229 
3230  m_peak_Inference_CNN_Info_Get = (dyn_peak_Inference_CNN_Info_Get) (load ? import_function(m_handle, "peak_Inference_CNN_Info_Get") : nullptr);
3231  if(m_peak_Inference_CNN_Info_Get == nullptr && load)
3232  {
3233  throw std::runtime_error("Failed to load peak_Inference_CNN_Info_Get");
3234  }
3235 
3236  m_peak_Inference_Result_Get = (dyn_peak_Inference_Result_Get) (load ? import_function(m_handle, "peak_Inference_Result_Get") : nullptr);
3237  if(m_peak_Inference_Result_Get == nullptr && load)
3238  {
3239  throw std::runtime_error("Failed to load peak_Inference_Result_Get");
3240  }
3241 
3242  m_peak_Inference_Result_Release = (dyn_peak_Inference_Result_Release) (load ? import_function(m_handle, "peak_Inference_Result_Release") : nullptr);
3243  if(m_peak_Inference_Result_Release == nullptr && load)
3244  {
3245  throw std::runtime_error("Failed to load peak_Inference_Result_Release");
3246  }
3247 
3248  m_peak_Inference_Result_Classification_GetList = (dyn_peak_Inference_Result_Classification_GetList) (load ? import_function(m_handle, "peak_Inference_Result_Classification_GetList") : nullptr);
3249  if(m_peak_Inference_Result_Classification_GetList == nullptr && load)
3250  {
3251  throw std::runtime_error("Failed to load peak_Inference_Result_Classification_GetList");
3252  }
3253 
3254  m_peak_Inference_Result_Detection_GetList = (dyn_peak_Inference_Result_Detection_GetList) (load ? import_function(m_handle, "peak_Inference_Result_Detection_GetList") : nullptr);
3255  if(m_peak_Inference_Result_Detection_GetList == nullptr && load)
3256  {
3257  throw std::runtime_error("Failed to load peak_Inference_Result_Detection_GetList");
3258  }
3259 
3260  m_peak_Inference_Statistics_Get = (dyn_peak_Inference_Statistics_Get) (load ? import_function(m_handle, "peak_Inference_Statistics_Get") : nullptr);
3261  if(m_peak_Inference_Statistics_Get == nullptr && load)
3262  {
3263  throw std::runtime_error("Failed to load peak_Inference_Statistics_Get");
3264  }
3265 
3266  m_peak_Inference_Statistics_Reset = (dyn_peak_Inference_Statistics_Reset) (load ? import_function(m_handle, "peak_Inference_Statistics_Reset") : nullptr);
3267  if(m_peak_Inference_Statistics_Reset == nullptr && load)
3268  {
3269  throw std::runtime_error("Failed to load peak_Inference_Statistics_Reset");
3270  }
3271 
3272  m_peak_Inference_ConfidenceThreshold_Get = (dyn_peak_Inference_ConfidenceThreshold_Get) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_Get") : nullptr);
3273  if(m_peak_Inference_ConfidenceThreshold_Get == nullptr && load)
3274  {
3275  throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_Get");
3276  }
3277 
3278  m_peak_Inference_ConfidenceThreshold_GetRange = (dyn_peak_Inference_ConfidenceThreshold_GetRange) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_GetRange") : nullptr);
3279  if(m_peak_Inference_ConfidenceThreshold_GetRange == nullptr && load)
3280  {
3281  throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_GetRange");
3282  }
3283 
3284  m_peak_Inference_ConfidenceThreshold_Set = (dyn_peak_Inference_ConfidenceThreshold_Set) (load ? import_function(m_handle, "peak_Inference_ConfidenceThreshold_Set") : nullptr);
3285  if(m_peak_Inference_ConfidenceThreshold_Set == nullptr && load)
3286  {
3287  throw std::runtime_error("Failed to load peak_Inference_ConfidenceThreshold_Set");
3288  }
3289 
3290 
3291  return true;
3292 }
3293 
3294 inline PEAK_API_STATUS DynamicLoader::peak_Library_Init()
3295 {
3296  auto& inst = instance();
3297  if(inst.m_peak_Library_Init)
3298  {
3299  return inst.m_peak_Library_Init();
3300  }
3301  else
3302  {
3303  throw std::runtime_error("Library not loaded!");
3304  }
3305 }
3306 
3307 inline PEAK_API_STATUS DynamicLoader::peak_Library_Exit()
3308 {
3309  auto& inst = instance();
3310  if(inst.m_peak_Library_Exit)
3311  {
3312  return inst.m_peak_Library_Exit();
3313  }
3314  else
3315  {
3316  throw std::runtime_error("Library not loaded!");
3317  }
3318 }
3319 
3320 inline PEAK_API_STATUS DynamicLoader::peak_Library_GetVersion(uint32_t * majorVersion, uint32_t * minorVersion, uint32_t * subminorVersion, uint32_t * patchVersion)
3321 {
3322  auto& inst = instance();
3323  if(inst.m_peak_Library_GetVersion)
3324  {
3325  return inst.m_peak_Library_GetVersion(majorVersion, minorVersion, subminorVersion, patchVersion);
3326  }
3327  else
3328  {
3329  throw std::runtime_error("Library not loaded!");
3330  }
3331 }
3332 
3333 inline PEAK_API_STATUS DynamicLoader::peak_Library_GetLastError(peak_status * lastErrorCode, char * lastErrorMessage, size_t * lastErrorMessageSize)
3334 {
3335  auto& inst = instance();
3336  if(inst.m_peak_Library_GetLastError)
3337  {
3338  return inst.m_peak_Library_GetLastError(lastErrorCode, lastErrorMessage, lastErrorMessageSize);
3339  }
3340  else
3341  {
3342  throw std::runtime_error("Library not loaded!");
3343  }
3344 }
3345 
3346 inline PEAK_API_STATUS DynamicLoader::peak_CameraList_Update(size_t * cameraCount)
3347 {
3348  auto& inst = instance();
3349  if(inst.m_peak_CameraList_Update)
3350  {
3351  return inst.m_peak_CameraList_Update(cameraCount);
3352  }
3353  else
3354  {
3355  throw std::runtime_error("Library not loaded!");
3356  }
3357 }
3358 
3359 inline PEAK_API_STATUS DynamicLoader::peak_CameraList_Get(peak_camera_descriptor * cameraList, size_t * cameraCount)
3360 {
3361  auto& inst = instance();
3362  if(inst.m_peak_CameraList_Get)
3363  {
3364  return inst.m_peak_CameraList_Get(cameraList, cameraCount);
3365  }
3366  else
3367  {
3368  throw std::runtime_error("Library not loaded!");
3369  }
3370 }
3371 
3372 inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromHandle(peak_camera_handle hCam)
3373 {
3374  auto& inst = instance();
3375  if(inst.m_peak_Camera_ID_FromHandle)
3376  {
3377  return inst.m_peak_Camera_ID_FromHandle(hCam);
3378  }
3379  else
3380  {
3381  throw std::runtime_error("Library not loaded!");
3382  }
3383 }
3384 
3385 inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromSerialNumber(const char * serialNumber)
3386 {
3387  auto& inst = instance();
3388  if(inst.m_peak_Camera_ID_FromSerialNumber)
3389  {
3390  return inst.m_peak_Camera_ID_FromSerialNumber(serialNumber);
3391  }
3392  else
3393  {
3394  throw std::runtime_error("Library not loaded!");
3395  }
3396 }
3397 
3398 inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromUserDefinedName(const char * userDefinedName)
3399 {
3400  auto& inst = instance();
3401  if(inst.m_peak_Camera_ID_FromUserDefinedName)
3402  {
3403  return inst.m_peak_Camera_ID_FromUserDefinedName(userDefinedName);
3404  }
3405  else
3406  {
3407  throw std::runtime_error("Library not loaded!");
3408  }
3409 }
3410 
3411 inline PEAK_API_CAMERA_ID DynamicLoader::peak_Camera_ID_FromMAC(peak_mac_address macAddress)
3412 {
3413  auto& inst = instance();
3414  if(inst.m_peak_Camera_ID_FromMAC)
3415  {
3416  return inst.m_peak_Camera_ID_FromMAC(macAddress);
3417  }
3418  else
3419  {
3420  throw std::runtime_error("Library not loaded!");
3421  }
3422 }
3423 
3424 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Camera_GetAccessStatus(peak_camera_id cameraID)
3425 {
3426  auto& inst = instance();
3427  if(inst.m_peak_Camera_GetAccessStatus)
3428  {
3429  return inst.m_peak_Camera_GetAccessStatus(cameraID);
3430  }
3431  else
3432  {
3433  throw std::runtime_error("Library not loaded!");
3434  }
3435 }
3436 
3437 inline PEAK_API_STATUS DynamicLoader::peak_Camera_GetDescriptor(peak_camera_id cameraID, peak_camera_descriptor * cameraDescriptor)
3438 {
3439  auto& inst = instance();
3440  if(inst.m_peak_Camera_GetDescriptor)
3441  {
3442  return inst.m_peak_Camera_GetDescriptor(cameraID, cameraDescriptor);
3443  }
3444  else
3445  {
3446  throw std::runtime_error("Library not loaded!");
3447  }
3448 }
3449 
3450 inline PEAK_API_STATUS DynamicLoader::peak_Camera_Open(peak_camera_id cameraID, peak_camera_handle * hCam)
3451 {
3452  auto& inst = instance();
3453  if(inst.m_peak_Camera_Open)
3454  {
3455  return inst.m_peak_Camera_Open(cameraID, hCam);
3456  }
3457  else
3458  {
3459  throw std::runtime_error("Library not loaded!");
3460  }
3461 }
3462 
3464 {
3465  auto& inst = instance();
3466  if(inst.m_peak_Camera_OpenFirstAvailable)
3467  {
3468  return inst.m_peak_Camera_OpenFirstAvailable(hCam);
3469  }
3470  else
3471  {
3472  throw std::runtime_error("Library not loaded!");
3473  }
3474 }
3475 
3476 inline PEAK_API_STATUS DynamicLoader::peak_Camera_Close(peak_camera_handle hCam)
3477 {
3478  auto& inst = instance();
3479  if(inst.m_peak_Camera_Close)
3480  {
3481  return inst.m_peak_Camera_Close(hCam);
3482  }
3483  else
3484  {
3485  throw std::runtime_error("Library not loaded!");
3486  }
3487 }
3488 
3490 {
3491  auto& inst = instance();
3492  if(inst.m_peak_Camera_ResetToDefaultSettings)
3493  {
3494  return inst.m_peak_Camera_ResetToDefaultSettings(hCam);
3495  }
3496  else
3497  {
3498  throw std::runtime_error("Library not loaded!");
3499  }
3500 }
3501 
3502 inline PEAK_API_STATUS DynamicLoader::peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char * userDefinedName)
3503 {
3504  auto& inst = instance();
3505  if(inst.m_peak_Camera_UserDefinedName_Set)
3506  {
3507  return inst.m_peak_Camera_UserDefinedName_Set(hCam, userDefinedName);
3508  }
3509  else
3510  {
3511  throw std::runtime_error("Library not loaded!");
3512  }
3513 }
3514 
3515 inline PEAK_API_STATUS DynamicLoader::peak_Camera_UserDefinedName_Get(peak_camera_handle hCam, char * userDefinedName, size_t * userDefinedNameSize)
3516 {
3517  auto& inst = instance();
3518  if(inst.m_peak_Camera_UserDefinedName_Get)
3519  {
3520  return inst.m_peak_Camera_UserDefinedName_Get(hCam, userDefinedName, userDefinedNameSize);
3521  }
3522  else
3523  {
3524  throw std::runtime_error("Library not loaded!");
3525  }
3526 }
3527 
3528 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_EthernetConfig_GetAccessStatus(peak_camera_id cameraID)
3529 {
3530  auto& inst = instance();
3531  if(inst.m_peak_EthernetConfig_GetAccessStatus)
3532  {
3533  return inst.m_peak_EthernetConfig_GetAccessStatus(cameraID);
3534  }
3535  else
3536  {
3537  throw std::runtime_error("Library not loaded!");
3538  }
3539 }
3540 
3541 inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_GetInfo(peak_camera_id cameraID, peak_ethernet_info * ethernetInfo)
3542 {
3543  auto& inst = instance();
3544  if(inst.m_peak_EthernetConfig_GetInfo)
3545  {
3546  return inst.m_peak_EthernetConfig_GetInfo(cameraID, ethernetInfo);
3547  }
3548  else
3549  {
3550  throw std::runtime_error("Library not loaded!");
3551  }
3552 }
3553 
3554 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_EthernetConfig_DHCP_GetAccessStatus(peak_camera_id cameraID)
3555 {
3556  auto& inst = instance();
3557  if(inst.m_peak_EthernetConfig_DHCP_GetAccessStatus)
3558  {
3559  return inst.m_peak_EthernetConfig_DHCP_GetAccessStatus(cameraID);
3560  }
3561  else
3562  {
3563  throw std::runtime_error("Library not loaded!");
3564  }
3565 }
3566 
3567 inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_DHCP_Enable(peak_camera_id cameraID, peak_bool enabled)
3568 {
3569  auto& inst = instance();
3570  if(inst.m_peak_EthernetConfig_DHCP_Enable)
3571  {
3572  return inst.m_peak_EthernetConfig_DHCP_Enable(cameraID, enabled);
3573  }
3574  else
3575  {
3576  throw std::runtime_error("Library not loaded!");
3577  }
3578 }
3579 
3581 {
3582  auto& inst = instance();
3583  if(inst.m_peak_EthernetConfig_DHCP_IsEnabled)
3584  {
3585  return inst.m_peak_EthernetConfig_DHCP_IsEnabled(cameraID);
3586  }
3587  else
3588  {
3589  throw std::runtime_error("Library not loaded!");
3590  }
3591 }
3592 
3594 {
3595  auto& inst = instance();
3596  if(inst.m_peak_EthernetConfig_PersistentIP_GetAccessStatus)
3597  {
3598  return inst.m_peak_EthernetConfig_PersistentIP_GetAccessStatus(cameraID);
3599  }
3600  else
3601  {
3602  throw std::runtime_error("Library not loaded!");
3603  }
3604 }
3605 
3606 inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_PersistentIP_Set(peak_camera_id cameraID, peak_ip_config persistentIP)
3607 {
3608  auto& inst = instance();
3609  if(inst.m_peak_EthernetConfig_PersistentIP_Set)
3610  {
3611  return inst.m_peak_EthernetConfig_PersistentIP_Set(cameraID, persistentIP);
3612  }
3613  else
3614  {
3615  throw std::runtime_error("Library not loaded!");
3616  }
3617 }
3618 
3619 inline PEAK_API_STATUS DynamicLoader::peak_EthernetConfig_PersistentIP_Get(peak_camera_id cameraID, peak_ip_config * persistentIP)
3620 {
3621  auto& inst = instance();
3622  if(inst.m_peak_EthernetConfig_PersistentIP_Get)
3623  {
3624  return inst.m_peak_EthernetConfig_PersistentIP_Get(cameraID, persistentIP);
3625  }
3626  else
3627  {
3628  throw std::runtime_error("Library not loaded!");
3629  }
3630 }
3631 
3632 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Start(peak_camera_handle hCam, uint32_t numberOfFrames)
3633 {
3634  auto& inst = instance();
3635  if(inst.m_peak_Acquisition_Start)
3636  {
3637  return inst.m_peak_Acquisition_Start(hCam, numberOfFrames);
3638  }
3639  else
3640  {
3641  throw std::runtime_error("Library not loaded!");
3642  }
3643 }
3644 
3645 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Stop(peak_camera_handle hCam)
3646 {
3647  auto& inst = instance();
3648  if(inst.m_peak_Acquisition_Stop)
3649  {
3650  return inst.m_peak_Acquisition_Stop(hCam);
3651  }
3652  else
3653  {
3654  throw std::runtime_error("Library not loaded!");
3655  }
3656 }
3657 
3659 {
3660  auto& inst = instance();
3661  if(inst.m_peak_Acquisition_IsStarted)
3662  {
3663  return inst.m_peak_Acquisition_IsStarted(hCam);
3664  }
3665  else
3666  {
3667  throw std::runtime_error("Library not loaded!");
3668  }
3669 }
3670 
3671 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_WaitForFrame(peak_camera_handle hCam, uint32_t timeout_ms, peak_frame_handle * hFrame)
3672 {
3673  auto& inst = instance();
3674  if(inst.m_peak_Acquisition_WaitForFrame)
3675  {
3676  return inst.m_peak_Acquisition_WaitForFrame(hCam, timeout_ms, hFrame);
3677  }
3678  else
3679  {
3680  throw std::runtime_error("Library not loaded!");
3681  }
3682 }
3683 
3684 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_GetInfo(peak_camera_handle hCam, peak_acquisition_info * acquisitionInfo)
3685 {
3686  auto& inst = instance();
3687  if(inst.m_peak_Acquisition_GetInfo)
3688  {
3689  return inst.m_peak_Acquisition_GetInfo(hCam, acquisitionInfo);
3690  }
3691  else
3692  {
3693  throw std::runtime_error("Library not loaded!");
3694  }
3695 }
3696 
3697 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_GetRequiredSize(peak_camera_handle hCam, size_t * requiredBufferSize)
3698 {
3699  auto& inst = instance();
3700  if(inst.m_peak_Acquisition_Buffer_GetRequiredSize)
3701  {
3702  return inst.m_peak_Acquisition_Buffer_GetRequiredSize(hCam, requiredBufferSize);
3703  }
3704  else
3705  {
3706  throw std::runtime_error("Library not loaded!");
3707  }
3708 }
3709 
3710 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_GetRequiredCount(peak_camera_handle hCam, size_t * requiredBufferCount)
3711 {
3712  auto& inst = instance();
3713  if(inst.m_peak_Acquisition_Buffer_GetRequiredCount)
3714  {
3715  return inst.m_peak_Acquisition_Buffer_GetRequiredCount(hCam, requiredBufferCount);
3716  }
3717  else
3718  {
3719  throw std::runtime_error("Library not loaded!");
3720  }
3721 }
3722 
3723 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_Announce(peak_camera_handle hCam, uint8_t * memoryAddress, size_t memorySize, void * userContext)
3724 {
3725  auto& inst = instance();
3726  if(inst.m_peak_Acquisition_Buffer_Announce)
3727  {
3728  return inst.m_peak_Acquisition_Buffer_Announce(hCam, memoryAddress, memorySize, userContext);
3729  }
3730  else
3731  {
3732  throw std::runtime_error("Library not loaded!");
3733  }
3734 }
3735 
3736 inline PEAK_API_STATUS DynamicLoader::peak_Acquisition_Buffer_Revoke(peak_camera_handle hCam, uint8_t * memoryAddress)
3737 {
3738  auto& inst = instance();
3739  if(inst.m_peak_Acquisition_Buffer_Revoke)
3740  {
3741  return inst.m_peak_Acquisition_Buffer_Revoke(hCam, memoryAddress);
3742  }
3743  else
3744  {
3745  throw std::runtime_error("Library not loaded!");
3746  }
3747 }
3748 
3750 {
3751  auto& inst = instance();
3752  if(inst.m_peak_Acquisition_Buffer_RevokeAll)
3753  {
3754  return inst.m_peak_Acquisition_Buffer_RevokeAll(hCam);
3755  }
3756  else
3757  {
3758  throw std::runtime_error("Library not loaded!");
3759  }
3760 }
3761 
3762 inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_GetInfo(peak_pixel_format pixelFormat, peak_pixel_format_info * pixelFormatInfo)
3763 {
3764  auto& inst = instance();
3765  if(inst.m_peak_PixelFormat_GetInfo)
3766  {
3767  return inst.m_peak_PixelFormat_GetInfo(pixelFormat, pixelFormatInfo);
3768  }
3769  else
3770  {
3771  throw std::runtime_error("Library not loaded!");
3772  }
3773 }
3774 
3775 inline PEAK_API_STATUS DynamicLoader::peak_Frame_Release(peak_camera_handle hCam, peak_frame_handle hFrame)
3776 {
3777  auto& inst = instance();
3778  if(inst.m_peak_Frame_Release)
3779  {
3780  return inst.m_peak_Frame_Release(hCam, hFrame);
3781  }
3782  else
3783  {
3784  throw std::runtime_error("Library not loaded!");
3785  }
3786 }
3787 
3788 inline PEAK_API_STATUS DynamicLoader::peak_Frame_GetInfo(peak_frame_handle hFrame, peak_frame_info * frameInfo)
3789 {
3790  auto& inst = instance();
3791  if(inst.m_peak_Frame_GetInfo)
3792  {
3793  return inst.m_peak_Frame_GetInfo(hFrame, frameInfo);
3794  }
3795  else
3796  {
3797  throw std::runtime_error("Library not loaded!");
3798  }
3799 }
3800 
3801 inline PEAK_API_STATUS DynamicLoader::peak_Frame_Type_Get(peak_frame_handle hFrame, peak_frame_type * frameType)
3802 {
3803  auto& inst = instance();
3804  if(inst.m_peak_Frame_Type_Get)
3805  {
3806  return inst.m_peak_Frame_Type_Get(hFrame, frameType);
3807  }
3808  else
3809  {
3810  throw std::runtime_error("Library not loaded!");
3811  }
3812 }
3813 
3814 inline PEAK_API_STATUS DynamicLoader::peak_Frame_Buffer_Get(peak_frame_handle hFrame, peak_buffer * buffer)
3815 {
3816  auto& inst = instance();
3817  if(inst.m_peak_Frame_Buffer_Get)
3818  {
3819  return inst.m_peak_Frame_Buffer_Get(hFrame, buffer);
3820  }
3821  else
3822  {
3823  throw std::runtime_error("Library not loaded!");
3824  }
3825 }
3826 
3827 inline PEAK_API_STATUS DynamicLoader::peak_Frame_ID_Get(peak_frame_handle hFrame, uint64_t * frameID)
3828 {
3829  auto& inst = instance();
3830  if(inst.m_peak_Frame_ID_Get)
3831  {
3832  return inst.m_peak_Frame_ID_Get(hFrame, frameID);
3833  }
3834  else
3835  {
3836  throw std::runtime_error("Library not loaded!");
3837  }
3838 }
3839 
3840 inline PEAK_API_STATUS DynamicLoader::peak_Frame_Timestamp_Get(peak_frame_handle hFrame, uint64_t * timestamp_ns)
3841 {
3842  auto& inst = instance();
3843  if(inst.m_peak_Frame_Timestamp_Get)
3844  {
3845  return inst.m_peak_Frame_Timestamp_Get(hFrame, timestamp_ns);
3846  }
3847  else
3848  {
3849  throw std::runtime_error("Library not loaded!");
3850  }
3851 }
3852 
3853 inline PEAK_API_STATUS DynamicLoader::peak_Frame_ROI_Get(peak_frame_handle hFrame, peak_roi * roi)
3854 {
3855  auto& inst = instance();
3856  if(inst.m_peak_Frame_ROI_Get)
3857  {
3858  return inst.m_peak_Frame_ROI_Get(hFrame, roi);
3859  }
3860  else
3861  {
3862  throw std::runtime_error("Library not loaded!");
3863  }
3864 }
3865 
3866 inline PEAK_API_STATUS DynamicLoader::peak_Frame_PixelFormat_Get(peak_frame_handle hFrame, peak_pixel_format * pixelFormat)
3867 {
3868  auto& inst = instance();
3869  if(inst.m_peak_Frame_PixelFormat_Get)
3870  {
3871  return inst.m_peak_Frame_PixelFormat_Get(hFrame, pixelFormat);
3872  }
3873  else
3874  {
3875  throw std::runtime_error("Library not loaded!");
3876  }
3877 }
3878 
3879 inline PEAK_API_BOOL DynamicLoader::peak_Frame_IsComplete(peak_frame_handle hFrame)
3880 {
3881  auto& inst = instance();
3882  if(inst.m_peak_Frame_IsComplete)
3883  {
3884  return inst.m_peak_Frame_IsComplete(hFrame);
3885  }
3886  else
3887  {
3888  throw std::runtime_error("Library not loaded!");
3889  }
3890 }
3891 
3892 inline PEAK_API_STATUS DynamicLoader::peak_Frame_BytesExpected_Get(peak_frame_handle hFrame, size_t * bytesExpected)
3893 {
3894  auto& inst = instance();
3895  if(inst.m_peak_Frame_BytesExpected_Get)
3896  {
3897  return inst.m_peak_Frame_BytesExpected_Get(hFrame, bytesExpected);
3898  }
3899  else
3900  {
3901  throw std::runtime_error("Library not loaded!");
3902  }
3903 }
3904 
3905 inline PEAK_API_STATUS DynamicLoader::peak_Frame_BytesWritten_Get(peak_frame_handle hFrame, size_t * bytesWritten)
3906 {
3907  auto& inst = instance();
3908  if(inst.m_peak_Frame_BytesWritten_Get)
3909  {
3910  return inst.m_peak_Frame_BytesWritten_Get(hFrame, bytesWritten);
3911  }
3912  else
3913  {
3914  throw std::runtime_error("Library not loaded!");
3915  }
3916 }
3917 
3918 inline PEAK_API_STATUS DynamicLoader::peak_Frame_ProcessingTime_Get(peak_frame_handle hFrame, uint32_t * processingTime_ms)
3919 {
3920  auto& inst = instance();
3921  if(inst.m_peak_Frame_ProcessingTime_Get)
3922  {
3923  return inst.m_peak_Frame_ProcessingTime_Get(hFrame, processingTime_ms);
3924  }
3925  else
3926  {
3927  throw std::runtime_error("Library not loaded!");
3928  }
3929 }
3930 
3932 {
3933  auto& inst = instance();
3934  if(inst.m_peak_CameraSettings_ParameterSet_GetAccessStatus)
3935  {
3936  return inst.m_peak_CameraSettings_ParameterSet_GetAccessStatus(hCam, parameterSet);
3937  }
3938  else
3939  {
3940  throw std::runtime_error("Library not loaded!");
3941  }
3942 }
3943 
3944 inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_ParameterSet_GetList(peak_camera_handle hCam, peak_parameter_set * parameterSetList, size_t * parameterSetCount)
3945 {
3946  auto& inst = instance();
3947  if(inst.m_peak_CameraSettings_ParameterSet_GetList)
3948  {
3949  return inst.m_peak_CameraSettings_ParameterSet_GetList(hCam, parameterSetList, parameterSetCount);
3950  }
3951  else
3952  {
3953  throw std::runtime_error("Library not loaded!");
3954  }
3955 }
3956 
3958 {
3959  auto& inst = instance();
3960  if(inst.m_peak_CameraSettings_ParameterSet_Store)
3961  {
3962  return inst.m_peak_CameraSettings_ParameterSet_Store(hCam, parameterSet);
3963  }
3964  else
3965  {
3966  throw std::runtime_error("Library not loaded!");
3967  }
3968 }
3969 
3971 {
3972  auto& inst = instance();
3973  if(inst.m_peak_CameraSettings_ParameterSet_Apply)
3974  {
3975  return inst.m_peak_CameraSettings_ParameterSet_Apply(hCam, parameterSet);
3976  }
3977  else
3978  {
3979  throw std::runtime_error("Library not loaded!");
3980  }
3981 }
3982 
3984 {
3985  auto& inst = instance();
3986  if(inst.m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus)
3987  {
3988  return inst.m_peak_CameraSettings_ParameterSet_Startup_GetAccessStatus(hCam);
3989  }
3990  else
3991  {
3992  throw std::runtime_error("Library not loaded!");
3993  }
3994 }
3995 
3997 {
3998  auto& inst = instance();
3999  if(inst.m_peak_CameraSettings_ParameterSet_Startup_Set)
4000  {
4001  return inst.m_peak_CameraSettings_ParameterSet_Startup_Set(hCam, parameterSet);
4002  }
4003  else
4004  {
4005  throw std::runtime_error("Library not loaded!");
4006  }
4007 }
4008 
4010 {
4011  auto& inst = instance();
4012  if(inst.m_peak_CameraSettings_ParameterSet_Startup_Get)
4013  {
4014  return inst.m_peak_CameraSettings_ParameterSet_Startup_Get(hCam, parameterSet);
4015  }
4016  else
4017  {
4018  throw std::runtime_error("Library not loaded!");
4019  }
4020 }
4021 
4023 {
4024  auto& inst = instance();
4025  if(inst.m_peak_CameraSettings_DiskFile_GetAccessStatus)
4026  {
4027  return inst.m_peak_CameraSettings_DiskFile_GetAccessStatus(hCam);
4028  }
4029  else
4030  {
4031  throw std::runtime_error("Library not loaded!");
4032  }
4033 }
4034 
4035 inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_DiskFile_Store(peak_camera_handle hCam, const char * file)
4036 {
4037  auto& inst = instance();
4038  if(inst.m_peak_CameraSettings_DiskFile_Store)
4039  {
4040  return inst.m_peak_CameraSettings_DiskFile_Store(hCam, file);
4041  }
4042  else
4043  {
4044  throw std::runtime_error("Library not loaded!");
4045  }
4046 }
4047 
4048 inline PEAK_API_STATUS DynamicLoader::peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char * file)
4049 {
4050  auto& inst = instance();
4051  if(inst.m_peak_CameraSettings_DiskFile_Apply)
4052  {
4053  return inst.m_peak_CameraSettings_DiskFile_Apply(hCam, file);
4054  }
4055  else
4056  {
4057  throw std::runtime_error("Library not loaded!");
4058  }
4059 }
4060 
4061 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_FrameRate_GetAccessStatus(peak_camera_handle hCam)
4062 {
4063  auto& inst = instance();
4064  if(inst.m_peak_FrameRate_GetAccessStatus)
4065  {
4066  return inst.m_peak_FrameRate_GetAccessStatus(hCam);
4067  }
4068  else
4069  {
4070  throw std::runtime_error("Library not loaded!");
4071  }
4072 }
4073 
4074 inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_GetRange(peak_camera_handle hCam, double * minFrameRate_fps, double * maxFrameRate_fps, double * incFrameRate_fps)
4075 {
4076  auto& inst = instance();
4077  if(inst.m_peak_FrameRate_GetRange)
4078  {
4079  return inst.m_peak_FrameRate_GetRange(hCam, minFrameRate_fps, maxFrameRate_fps, incFrameRate_fps);
4080  }
4081  else
4082  {
4083  throw std::runtime_error("Library not loaded!");
4084  }
4085 }
4086 
4087 inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_Set(peak_camera_handle hCam, double frameRate_fps)
4088 {
4089  auto& inst = instance();
4090  if(inst.m_peak_FrameRate_Set)
4091  {
4092  return inst.m_peak_FrameRate_Set(hCam, frameRate_fps);
4093  }
4094  else
4095  {
4096  throw std::runtime_error("Library not loaded!");
4097  }
4098 }
4099 
4100 inline PEAK_API_STATUS DynamicLoader::peak_FrameRate_Get(peak_camera_handle hCam, double * frameRate_fps)
4101 {
4102  auto& inst = instance();
4103  if(inst.m_peak_FrameRate_Get)
4104  {
4105  return inst.m_peak_FrameRate_Get(hCam, frameRate_fps);
4106  }
4107  else
4108  {
4109  throw std::runtime_error("Library not loaded!");
4110  }
4111 }
4112 
4113 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ExposureTime_GetAccessStatus(peak_camera_handle hCam)
4114 {
4115  auto& inst = instance();
4116  if(inst.m_peak_ExposureTime_GetAccessStatus)
4117  {
4118  return inst.m_peak_ExposureTime_GetAccessStatus(hCam);
4119  }
4120  else
4121  {
4122  throw std::runtime_error("Library not loaded!");
4123  }
4124 }
4125 
4126 inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_GetRange(peak_camera_handle hCam, double * minExposureTime_us, double * maxExposureTime_us, double * incExposureTime_us)
4127 {
4128  auto& inst = instance();
4129  if(inst.m_peak_ExposureTime_GetRange)
4130  {
4131  return inst.m_peak_ExposureTime_GetRange(hCam, minExposureTime_us, maxExposureTime_us, incExposureTime_us);
4132  }
4133  else
4134  {
4135  throw std::runtime_error("Library not loaded!");
4136  }
4137 }
4138 
4139 inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_Set(peak_camera_handle hCam, double exposureTime_us)
4140 {
4141  auto& inst = instance();
4142  if(inst.m_peak_ExposureTime_Set)
4143  {
4144  return inst.m_peak_ExposureTime_Set(hCam, exposureTime_us);
4145  }
4146  else
4147  {
4148  throw std::runtime_error("Library not loaded!");
4149  }
4150 }
4151 
4152 inline PEAK_API_STATUS DynamicLoader::peak_ExposureTime_Get(peak_camera_handle hCam, double * exposureTime_us)
4153 {
4154  auto& inst = instance();
4155  if(inst.m_peak_ExposureTime_Get)
4156  {
4157  return inst.m_peak_ExposureTime_Get(hCam, exposureTime_us);
4158  }
4159  else
4160  {
4161  throw std::runtime_error("Library not loaded!");
4162  }
4163 }
4164 
4165 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_PixelClock_GetAccessStatus(peak_camera_handle hCam)
4166 {
4167  auto& inst = instance();
4168  if(inst.m_peak_PixelClock_GetAccessStatus)
4169  {
4170  return inst.m_peak_PixelClock_GetAccessStatus(hCam);
4171  }
4172  else
4173  {
4174  throw std::runtime_error("Library not loaded!");
4175  }
4176 }
4177 
4179 {
4180  auto& inst = instance();
4181  if(inst.m_peak_PixelClock_HasRange)
4182  {
4183  return inst.m_peak_PixelClock_HasRange(hCam);
4184  }
4185  else
4186  {
4187  throw std::runtime_error("Library not loaded!");
4188  }
4189 }
4190 
4191 inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_GetRange(peak_camera_handle hCam, double * minPixelClock_MHz, double * maxPixelClock_MHz, double * incPixelClock_MHz)
4192 {
4193  auto& inst = instance();
4194  if(inst.m_peak_PixelClock_GetRange)
4195  {
4196  return inst.m_peak_PixelClock_GetRange(hCam, minPixelClock_MHz, maxPixelClock_MHz, incPixelClock_MHz);
4197  }
4198  else
4199  {
4200  throw std::runtime_error("Library not loaded!");
4201  }
4202 }
4203 
4204 inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_GetList(peak_camera_handle hCam, double * pixelClockList, size_t * pixelClockCount)
4205 {
4206  auto& inst = instance();
4207  if(inst.m_peak_PixelClock_GetList)
4208  {
4209  return inst.m_peak_PixelClock_GetList(hCam, pixelClockList, pixelClockCount);
4210  }
4211  else
4212  {
4213  throw std::runtime_error("Library not loaded!");
4214  }
4215 }
4216 
4217 inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_Set(peak_camera_handle hCam, double pixelClock_MHz)
4218 {
4219  auto& inst = instance();
4220  if(inst.m_peak_PixelClock_Set)
4221  {
4222  return inst.m_peak_PixelClock_Set(hCam, pixelClock_MHz);
4223  }
4224  else
4225  {
4226  throw std::runtime_error("Library not loaded!");
4227  }
4228 }
4229 
4230 inline PEAK_API_STATUS DynamicLoader::peak_PixelClock_Get(peak_camera_handle hCam, double * pixelClock_MHz)
4231 {
4232  auto& inst = instance();
4233  if(inst.m_peak_PixelClock_Get)
4234  {
4235  return inst.m_peak_PixelClock_Get(hCam, pixelClock_MHz);
4236  }
4237  else
4238  {
4239  throw std::runtime_error("Library not loaded!");
4240  }
4241 }
4242 
4243 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
4244 {
4245  auto& inst = instance();
4246  if(inst.m_peak_IOChannel_GetAccessStatus)
4247  {
4248  return inst.m_peak_IOChannel_GetAccessStatus(hCam, ioChannel);
4249  }
4250  else
4251  {
4252  throw std::runtime_error("Library not loaded!");
4253  }
4254 }
4255 
4256 inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_GetList(peak_camera_handle hCam, peak_io_channel * ioChannelList, size_t * ioChannelCount)
4257 {
4258  auto& inst = instance();
4259  if(inst.m_peak_IOChannel_GetList)
4260  {
4261  return inst.m_peak_IOChannel_GetList(hCam, ioChannelList, ioChannelCount);
4262  }
4263  else
4264  {
4265  throw std::runtime_error("Library not loaded!");
4266  }
4267 }
4268 
4269 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_IOChannel_Level_GetAccessStatus(peak_camera_handle hCam, peak_io_channel ioChannel)
4270 {
4271  auto& inst = instance();
4272  if(inst.m_peak_IOChannel_Level_GetAccessStatus)
4273  {
4274  return inst.m_peak_IOChannel_Level_GetAccessStatus(hCam, ioChannel);
4275  }
4276  else
4277  {
4278  throw std::runtime_error("Library not loaded!");
4279  }
4280 }
4281 
4283 {
4284  auto& inst = instance();
4285  if(inst.m_peak_IOChannel_Level_IsHigh)
4286  {
4287  return inst.m_peak_IOChannel_Level_IsHigh(hCam, ioChannel);
4288  }
4289  else
4290  {
4291  throw std::runtime_error("Library not loaded!");
4292  }
4293 }
4294 
4296 {
4297  auto& inst = instance();
4298  if(inst.m_peak_IOChannel_Inverter_GetAccessStatus)
4299  {
4300  return inst.m_peak_IOChannel_Inverter_GetAccessStatus(hCam, ioChannel);
4301  }
4302  else
4303  {
4304  throw std::runtime_error("Library not loaded!");
4305  }
4306 }
4307 
4308 inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_Inverter_Enable(peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled)
4309 {
4310  auto& inst = instance();
4311  if(inst.m_peak_IOChannel_Inverter_Enable)
4312  {
4313  return inst.m_peak_IOChannel_Inverter_Enable(hCam, ioChannel, enabled);
4314  }
4315  else
4316  {
4317  throw std::runtime_error("Library not loaded!");
4318  }
4319 }
4320 
4322 {
4323  auto& inst = instance();
4324  if(inst.m_peak_IOChannel_Inverter_IsEnabled)
4325  {
4326  return inst.m_peak_IOChannel_Inverter_IsEnabled(hCam, ioChannel);
4327  }
4328  else
4329  {
4330  throw std::runtime_error("Library not loaded!");
4331  }
4332 }
4333 
4335 {
4336  auto& inst = instance();
4337  if(inst.m_peak_IOChannel_NoiseFilter_GetAccessStatus)
4338  {
4339  return inst.m_peak_IOChannel_NoiseFilter_GetAccessStatus(hCam, ioChannel);
4340  }
4341  else
4342  {
4343  throw std::runtime_error("Library not loaded!");
4344  }
4345 }
4346 
4348 {
4349  auto& inst = instance();
4350  if(inst.m_peak_IOChannel_NoiseFilter_Enable)
4351  {
4352  return inst.m_peak_IOChannel_NoiseFilter_Enable(hCam, ioChannel, enabled);
4353  }
4354  else
4355  {
4356  throw std::runtime_error("Library not loaded!");
4357  }
4358 }
4359 
4361 {
4362  auto& inst = instance();
4363  if(inst.m_peak_IOChannel_NoiseFilter_IsEnabled)
4364  {
4365  return inst.m_peak_IOChannel_NoiseFilter_IsEnabled(hCam, ioChannel);
4366  }
4367  else
4368  {
4369  throw std::runtime_error("Library not loaded!");
4370  }
4371 }
4372 
4373 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)
4374 {
4375  auto& inst = instance();
4376  if(inst.m_peak_IOChannel_NoiseFilter_Duration_GetRange)
4377  {
4378  return inst.m_peak_IOChannel_NoiseFilter_Duration_GetRange(hCam, ioChannel, minNoiseFilterDuration_us, maxNoiseFilterDuration_us, incNoiseFilterDuration_us);
4379  }
4380  else
4381  {
4382  throw std::runtime_error("Library not loaded!");
4383  }
4384 }
4385 
4386 inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Duration_Set(peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us)
4387 {
4388  auto& inst = instance();
4389  if(inst.m_peak_IOChannel_NoiseFilter_Duration_Set)
4390  {
4391  return inst.m_peak_IOChannel_NoiseFilter_Duration_Set(hCam, ioChannel, noiseFilterDuration_us);
4392  }
4393  else
4394  {
4395  throw std::runtime_error("Library not loaded!");
4396  }
4397 }
4398 
4399 inline PEAK_API_STATUS DynamicLoader::peak_IOChannel_NoiseFilter_Duration_Get(peak_camera_handle hCam, peak_io_channel ioChannel, double * noiseFilterDuration_us)
4400 {
4401  auto& inst = instance();
4402  if(inst.m_peak_IOChannel_NoiseFilter_Duration_Get)
4403  {
4404  return inst.m_peak_IOChannel_NoiseFilter_Duration_Get(hCam, ioChannel, noiseFilterDuration_us);
4405  }
4406  else
4407  {
4408  throw std::runtime_error("Library not loaded!");
4409  }
4410 }
4411 
4412 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_GetAccessStatus(peak_camera_handle hCam)
4413 {
4414  auto& inst = instance();
4415  if(inst.m_peak_Trigger_GetAccessStatus)
4416  {
4417  return inst.m_peak_Trigger_GetAccessStatus(hCam);
4418  }
4419  else
4420  {
4421  throw std::runtime_error("Library not loaded!");
4422  }
4423 }
4424 
4425 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Enable(peak_camera_handle hCam, peak_bool enabled)
4426 {
4427  auto& inst = instance();
4428  if(inst.m_peak_Trigger_Enable)
4429  {
4430  return inst.m_peak_Trigger_Enable(hCam, enabled);
4431  }
4432  else
4433  {
4434  throw std::runtime_error("Library not loaded!");
4435  }
4436 }
4437 
4439 {
4440  auto& inst = instance();
4441  if(inst.m_peak_Trigger_IsEnabled)
4442  {
4443  return inst.m_peak_Trigger_IsEnabled(hCam);
4444  }
4445  else
4446  {
4447  throw std::runtime_error("Library not loaded!");
4448  }
4449 }
4450 
4452 {
4453  auto& inst = instance();
4454  if(inst.m_peak_Trigger_IsExecutable)
4455  {
4456  return inst.m_peak_Trigger_IsExecutable(hCam);
4457  }
4458  else
4459  {
4460  throw std::runtime_error("Library not loaded!");
4461  }
4462 }
4463 
4464 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Execute(peak_camera_handle hCam)
4465 {
4466  auto& inst = instance();
4467  if(inst.m_peak_Trigger_Execute)
4468  {
4469  return inst.m_peak_Trigger_Execute(hCam);
4470  }
4471  else
4472  {
4473  throw std::runtime_error("Library not loaded!");
4474  }
4475 }
4476 
4477 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Mode_GetAccessStatus(peak_camera_handle hCam, peak_trigger_mode triggerMode)
4478 {
4479  auto& inst = instance();
4480  if(inst.m_peak_Trigger_Mode_GetAccessStatus)
4481  {
4482  return inst.m_peak_Trigger_Mode_GetAccessStatus(hCam, triggerMode);
4483  }
4484  else
4485  {
4486  throw std::runtime_error("Library not loaded!");
4487  }
4488 }
4489 
4490 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Mode_Set(peak_camera_handle hCam, peak_trigger_mode triggerMode)
4491 {
4492  auto& inst = instance();
4493  if(inst.m_peak_Trigger_Mode_Set)
4494  {
4495  return inst.m_peak_Trigger_Mode_Set(hCam, triggerMode);
4496  }
4497  else
4498  {
4499  throw std::runtime_error("Library not loaded!");
4500  }
4501 }
4502 
4503 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Mode_Get(peak_camera_handle hCam, peak_trigger_mode * triggerMode)
4504 {
4505  auto& inst = instance();
4506  if(inst.m_peak_Trigger_Mode_Get)
4507  {
4508  return inst.m_peak_Trigger_Mode_Get(hCam, triggerMode);
4509  }
4510  else
4511  {
4512  throw std::runtime_error("Library not loaded!");
4513  }
4514 }
4515 
4516 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Trigger_Edge_GetAccessStatus(peak_camera_handle hCam)
4517 {
4518  auto& inst = instance();
4519  if(inst.m_peak_Trigger_Edge_GetAccessStatus)
4520  {
4521  return inst.m_peak_Trigger_Edge_GetAccessStatus(hCam);
4522  }
4523  else
4524  {
4525  throw std::runtime_error("Library not loaded!");
4526  }
4527 }
4528 
4529 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_GetList(peak_camera_handle hCam, peak_trigger_edge * triggerEdgeList, size_t * triggerEdgeCount)
4530 {
4531  auto& inst = instance();
4532  if(inst.m_peak_Trigger_Edge_GetList)
4533  {
4534  return inst.m_peak_Trigger_Edge_GetList(hCam, triggerEdgeList, triggerEdgeCount);
4535  }
4536  else
4537  {
4538  throw std::runtime_error("Library not loaded!");
4539  }
4540 }
4541 
4542 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_Set(peak_camera_handle hCam, peak_trigger_edge triggerEdge)
4543 {
4544  auto& inst = instance();
4545  if(inst.m_peak_Trigger_Edge_Set)
4546  {
4547  return inst.m_peak_Trigger_Edge_Set(hCam, triggerEdge);
4548  }
4549  else
4550  {
4551  throw std::runtime_error("Library not loaded!");
4552  }
4553 }
4554 
4555 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Edge_Get(peak_camera_handle hCam, peak_trigger_edge * triggerEdge)
4556 {
4557  auto& inst = instance();
4558  if(inst.m_peak_Trigger_Edge_Get)
4559  {
4560  return inst.m_peak_Trigger_Edge_Get(hCam, triggerEdge);
4561  }
4562  else
4563  {
4564  throw std::runtime_error("Library not loaded!");
4565  }
4566 }
4567 
4569 {
4570  auto& inst = instance();
4571  if(inst.m_peak_Trigger_Delay_GetAccessStatus)
4572  {
4573  return inst.m_peak_Trigger_Delay_GetAccessStatus(hCam);
4574  }
4575  else
4576  {
4577  throw std::runtime_error("Library not loaded!");
4578  }
4579 }
4580 
4581 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_GetRange(peak_camera_handle hCam, double * minTriggerDelay_us, double * maxTriggerDelay_us, double * incTriggerDelay_us)
4582 {
4583  auto& inst = instance();
4584  if(inst.m_peak_Trigger_Delay_GetRange)
4585  {
4586  return inst.m_peak_Trigger_Delay_GetRange(hCam, minTriggerDelay_us, maxTriggerDelay_us, incTriggerDelay_us);
4587  }
4588  else
4589  {
4590  throw std::runtime_error("Library not loaded!");
4591  }
4592 }
4593 
4594 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_Set(peak_camera_handle hCam, double triggerDelay_us)
4595 {
4596  auto& inst = instance();
4597  if(inst.m_peak_Trigger_Delay_Set)
4598  {
4599  return inst.m_peak_Trigger_Delay_Set(hCam, triggerDelay_us);
4600  }
4601  else
4602  {
4603  throw std::runtime_error("Library not loaded!");
4604  }
4605 }
4606 
4607 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Delay_Get(peak_camera_handle hCam, double * triggerDelay_us)
4608 {
4609  auto& inst = instance();
4610  if(inst.m_peak_Trigger_Delay_Get)
4611  {
4612  return inst.m_peak_Trigger_Delay_Get(hCam, triggerDelay_us);
4613  }
4614  else
4615  {
4616  throw std::runtime_error("Library not loaded!");
4617  }
4618 }
4619 
4621 {
4622  auto& inst = instance();
4623  if(inst.m_peak_Trigger_Divider_GetAccessStatus)
4624  {
4625  return inst.m_peak_Trigger_Divider_GetAccessStatus(hCam);
4626  }
4627  else
4628  {
4629  throw std::runtime_error("Library not loaded!");
4630  }
4631 }
4632 
4633 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_GetRange(peak_camera_handle hCam, uint32_t * minTriggerDivider, uint32_t * maxTriggerDivider, uint32_t * incTriggerDivider)
4634 {
4635  auto& inst = instance();
4636  if(inst.m_peak_Trigger_Divider_GetRange)
4637  {
4638  return inst.m_peak_Trigger_Divider_GetRange(hCam, minTriggerDivider, maxTriggerDivider, incTriggerDivider);
4639  }
4640  else
4641  {
4642  throw std::runtime_error("Library not loaded!");
4643  }
4644 }
4645 
4646 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_Set(peak_camera_handle hCam, uint32_t triggerDivider)
4647 {
4648  auto& inst = instance();
4649  if(inst.m_peak_Trigger_Divider_Set)
4650  {
4651  return inst.m_peak_Trigger_Divider_Set(hCam, triggerDivider);
4652  }
4653  else
4654  {
4655  throw std::runtime_error("Library not loaded!");
4656  }
4657 }
4658 
4659 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t * triggerDivider)
4660 {
4661  auto& inst = instance();
4662  if(inst.m_peak_Trigger_Divider_Get)
4663  {
4664  return inst.m_peak_Trigger_Divider_Get(hCam, triggerDivider);
4665  }
4666  else
4667  {
4668  throw std::runtime_error("Library not loaded!");
4669  }
4670 }
4671 
4673 {
4674  auto& inst = instance();
4675  if(inst.m_peak_Trigger_Burst_GetAccessStatus)
4676  {
4677  return inst.m_peak_Trigger_Burst_GetAccessStatus(hCam);
4678  }
4679  else
4680  {
4681  throw std::runtime_error("Library not loaded!");
4682  }
4683 }
4684 
4685 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_GetRange(peak_camera_handle hCam, uint32_t * minTriggerBurst, uint32_t * maxTriggerBurst, uint32_t * incTriggerBurst)
4686 {
4687  auto& inst = instance();
4688  if(inst.m_peak_Trigger_Burst_GetRange)
4689  {
4690  return inst.m_peak_Trigger_Burst_GetRange(hCam, minTriggerBurst, maxTriggerBurst, incTriggerBurst);
4691  }
4692  else
4693  {
4694  throw std::runtime_error("Library not loaded!");
4695  }
4696 }
4697 
4698 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_Set(peak_camera_handle hCam, uint32_t triggerBurst)
4699 {
4700  auto& inst = instance();
4701  if(inst.m_peak_Trigger_Burst_Set)
4702  {
4703  return inst.m_peak_Trigger_Burst_Set(hCam, triggerBurst);
4704  }
4705  else
4706  {
4707  throw std::runtime_error("Library not loaded!");
4708  }
4709 }
4710 
4711 inline PEAK_API_STATUS DynamicLoader::peak_Trigger_Burst_Get(peak_camera_handle hCam, uint32_t * triggerBurst)
4712 {
4713  auto& inst = instance();
4714  if(inst.m_peak_Trigger_Burst_Get)
4715  {
4716  return inst.m_peak_Trigger_Burst_Get(hCam, triggerBurst);
4717  }
4718  else
4719  {
4720  throw std::runtime_error("Library not loaded!");
4721  }
4722 }
4723 
4724 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_GetAccessStatus(peak_camera_handle hCam)
4725 {
4726  auto& inst = instance();
4727  if(inst.m_peak_Flash_GetAccessStatus)
4728  {
4729  return inst.m_peak_Flash_GetAccessStatus(hCam);
4730  }
4731  else
4732  {
4733  throw std::runtime_error("Library not loaded!");
4734  }
4735 }
4736 
4737 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Enable(peak_camera_handle hCam, peak_bool enabled)
4738 {
4739  auto& inst = instance();
4740  if(inst.m_peak_Flash_Enable)
4741  {
4742  return inst.m_peak_Flash_Enable(hCam, enabled);
4743  }
4744  else
4745  {
4746  throw std::runtime_error("Library not loaded!");
4747  }
4748 }
4749 
4751 {
4752  auto& inst = instance();
4753  if(inst.m_peak_Flash_IsEnabled)
4754  {
4755  return inst.m_peak_Flash_IsEnabled(hCam);
4756  }
4757  else
4758  {
4759  throw std::runtime_error("Library not loaded!");
4760  }
4761 }
4762 
4763 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Flash_Mode_GetAccessStatus(peak_camera_handle hCam, peak_flash_mode flashMode)
4764 {
4765  auto& inst = instance();
4766  if(inst.m_peak_Flash_Mode_GetAccessStatus)
4767  {
4768  return inst.m_peak_Flash_Mode_GetAccessStatus(hCam, flashMode);
4769  }
4770  else
4771  {
4772  throw std::runtime_error("Library not loaded!");
4773  }
4774 }
4775 
4776 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Mode_Set(peak_camera_handle hCam, peak_flash_mode flashMode)
4777 {
4778  auto& inst = instance();
4779  if(inst.m_peak_Flash_Mode_Set)
4780  {
4781  return inst.m_peak_Flash_Mode_Set(hCam, flashMode);
4782  }
4783  else
4784  {
4785  throw std::runtime_error("Library not loaded!");
4786  }
4787 }
4788 
4789 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Mode_Get(peak_camera_handle hCam, peak_flash_mode * flashMode)
4790 {
4791  auto& inst = instance();
4792  if(inst.m_peak_Flash_Mode_Get)
4793  {
4794  return inst.m_peak_Flash_Mode_Get(hCam, flashMode);
4795  }
4796  else
4797  {
4798  throw std::runtime_error("Library not loaded!");
4799  }
4800 }
4801 
4803 {
4804  auto& inst = instance();
4805  if(inst.m_peak_Flash_StartDelay_GetAccessStatus)
4806  {
4807  return inst.m_peak_Flash_StartDelay_GetAccessStatus(hCam);
4808  }
4809  else
4810  {
4811  throw std::runtime_error("Library not loaded!");
4812  }
4813 }
4814 
4815 inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_GetRange(peak_camera_handle hCam, double * minFlashStartDelay_us, double * maxFlashStartDelay_us, double * incFlashStartDelay_us)
4816 {
4817  auto& inst = instance();
4818  if(inst.m_peak_Flash_StartDelay_GetRange)
4819  {
4820  return inst.m_peak_Flash_StartDelay_GetRange(hCam, minFlashStartDelay_us, maxFlashStartDelay_us, incFlashStartDelay_us);
4821  }
4822  else
4823  {
4824  throw std::runtime_error("Library not loaded!");
4825  }
4826 }
4827 
4828 inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_Set(peak_camera_handle hCam, double flashStartDelay_us)
4829 {
4830  auto& inst = instance();
4831  if(inst.m_peak_Flash_StartDelay_Set)
4832  {
4833  return inst.m_peak_Flash_StartDelay_Set(hCam, flashStartDelay_us);
4834  }
4835  else
4836  {
4837  throw std::runtime_error("Library not loaded!");
4838  }
4839 }
4840 
4841 inline PEAK_API_STATUS DynamicLoader::peak_Flash_StartDelay_Get(peak_camera_handle hCam, double * flashStartDelay_us)
4842 {
4843  auto& inst = instance();
4844  if(inst.m_peak_Flash_StartDelay_Get)
4845  {
4846  return inst.m_peak_Flash_StartDelay_Get(hCam, flashStartDelay_us);
4847  }
4848  else
4849  {
4850  throw std::runtime_error("Library not loaded!");
4851  }
4852 }
4853 
4855 {
4856  auto& inst = instance();
4857  if(inst.m_peak_Flash_EndDelay_GetAccessStatus)
4858  {
4859  return inst.m_peak_Flash_EndDelay_GetAccessStatus(hCam);
4860  }
4861  else
4862  {
4863  throw std::runtime_error("Library not loaded!");
4864  }
4865 }
4866 
4867 inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_GetRange(peak_camera_handle hCam, double * minFlashEndDelay_us, double * maxFlashEndDelay_us, double * incFlashEndDelay_us)
4868 {
4869  auto& inst = instance();
4870  if(inst.m_peak_Flash_EndDelay_GetRange)
4871  {
4872  return inst.m_peak_Flash_EndDelay_GetRange(hCam, minFlashEndDelay_us, maxFlashEndDelay_us, incFlashEndDelay_us);
4873  }
4874  else
4875  {
4876  throw std::runtime_error("Library not loaded!");
4877  }
4878 }
4879 
4880 inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_Set(peak_camera_handle hCam, double flashEndDelay_us)
4881 {
4882  auto& inst = instance();
4883  if(inst.m_peak_Flash_EndDelay_Set)
4884  {
4885  return inst.m_peak_Flash_EndDelay_Set(hCam, flashEndDelay_us);
4886  }
4887  else
4888  {
4889  throw std::runtime_error("Library not loaded!");
4890  }
4891 }
4892 
4893 inline PEAK_API_STATUS DynamicLoader::peak_Flash_EndDelay_Get(peak_camera_handle hCam, double * flashEndDelay_us)
4894 {
4895  auto& inst = instance();
4896  if(inst.m_peak_Flash_EndDelay_Get)
4897  {
4898  return inst.m_peak_Flash_EndDelay_Get(hCam, flashEndDelay_us);
4899  }
4900  else
4901  {
4902  throw std::runtime_error("Library not loaded!");
4903  }
4904 }
4905 
4907 {
4908  auto& inst = instance();
4909  if(inst.m_peak_Flash_Duration_GetAccessStatus)
4910  {
4911  return inst.m_peak_Flash_Duration_GetAccessStatus(hCam);
4912  }
4913  else
4914  {
4915  throw std::runtime_error("Library not loaded!");
4916  }
4917 }
4918 
4919 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_GetRange(peak_camera_handle hCam, double * minFlashDuration_us, double * maxFlashDuration_us, double * incFlashDuration_us)
4920 {
4921  auto& inst = instance();
4922  if(inst.m_peak_Flash_Duration_GetRange)
4923  {
4924  return inst.m_peak_Flash_Duration_GetRange(hCam, minFlashDuration_us, maxFlashDuration_us, incFlashDuration_us);
4925  }
4926  else
4927  {
4928  throw std::runtime_error("Library not loaded!");
4929  }
4930 }
4931 
4932 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_Set(peak_camera_handle hCam, double flashDuration_us)
4933 {
4934  auto& inst = instance();
4935  if(inst.m_peak_Flash_Duration_Set)
4936  {
4937  return inst.m_peak_Flash_Duration_Set(hCam, flashDuration_us);
4938  }
4939  else
4940  {
4941  throw std::runtime_error("Library not loaded!");
4942  }
4943 }
4944 
4945 inline PEAK_API_STATUS DynamicLoader::peak_Flash_Duration_Get(peak_camera_handle hCam, double * flashDuration_us)
4946 {
4947  auto& inst = instance();
4948  if(inst.m_peak_Flash_Duration_Get)
4949  {
4950  return inst.m_peak_Flash_Duration_Get(hCam, flashDuration_us);
4951  }
4952  else
4953  {
4954  throw std::runtime_error("Library not loaded!");
4955  }
4956 }
4957 
4958 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Focus_GetAccessStatus(peak_camera_handle hCam)
4959 {
4960  auto& inst = instance();
4961  if(inst.m_peak_Focus_GetAccessStatus)
4962  {
4963  return inst.m_peak_Focus_GetAccessStatus(hCam);
4964  }
4965  else
4966  {
4967  throw std::runtime_error("Library not loaded!");
4968  }
4969 }
4970 
4971 inline PEAK_API_STATUS DynamicLoader::peak_Focus_GetRange(peak_camera_handle hCam, uint32_t * minFocus, uint32_t * maxFocus, uint32_t * incFocus)
4972 {
4973  auto& inst = instance();
4974  if(inst.m_peak_Focus_GetRange)
4975  {
4976  return inst.m_peak_Focus_GetRange(hCam, minFocus, maxFocus, incFocus);
4977  }
4978  else
4979  {
4980  throw std::runtime_error("Library not loaded!");
4981  }
4982 }
4983 
4984 inline PEAK_API_STATUS DynamicLoader::peak_Focus_Set(peak_camera_handle hCam, uint32_t focus)
4985 {
4986  auto& inst = instance();
4987  if(inst.m_peak_Focus_Set)
4988  {
4989  return inst.m_peak_Focus_Set(hCam, focus);
4990  }
4991  else
4992  {
4993  throw std::runtime_error("Library not loaded!");
4994  }
4995 }
4996 
4997 inline PEAK_API_STATUS DynamicLoader::peak_Focus_Get(peak_camera_handle hCam, uint32_t * focus)
4998 {
4999  auto& inst = instance();
5000  if(inst.m_peak_Focus_Get)
5001  {
5002  return inst.m_peak_Focus_Get(hCam, focus);
5003  }
5004  else
5005  {
5006  throw std::runtime_error("Library not loaded!");
5007  }
5008 }
5009 
5010 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_PixelFormat_GetAccessStatus(peak_camera_handle hCam)
5011 {
5012  auto& inst = instance();
5013  if(inst.m_peak_PixelFormat_GetAccessStatus)
5014  {
5015  return inst.m_peak_PixelFormat_GetAccessStatus(hCam);
5016  }
5017  else
5018  {
5019  throw std::runtime_error("Library not loaded!");
5020  }
5021 }
5022 
5023 inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount)
5024 {
5025  auto& inst = instance();
5026  if(inst.m_peak_PixelFormat_GetList)
5027  {
5028  return inst.m_peak_PixelFormat_GetList(hCam, pixelFormatList, pixelFormatCount);
5029  }
5030  else
5031  {
5032  throw std::runtime_error("Library not loaded!");
5033  }
5034 }
5035 
5036 inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
5037 {
5038  auto& inst = instance();
5039  if(inst.m_peak_PixelFormat_Set)
5040  {
5041  return inst.m_peak_PixelFormat_Set(hCam, pixelFormat);
5042  }
5043  else
5044  {
5045  throw std::runtime_error("Library not loaded!");
5046  }
5047 }
5048 
5049 inline PEAK_API_STATUS DynamicLoader::peak_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat)
5050 {
5051  auto& inst = instance();
5052  if(inst.m_peak_PixelFormat_Get)
5053  {
5054  return inst.m_peak_PixelFormat_Get(hCam, pixelFormat);
5055  }
5056  else
5057  {
5058  throw std::runtime_error("Library not loaded!");
5059  }
5060 }
5061 
5062 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Gain_GetAccessStatus(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel)
5063 {
5064  auto& inst = instance();
5065  if(inst.m_peak_Gain_GetAccessStatus)
5066  {
5067  return inst.m_peak_Gain_GetAccessStatus(hCam, gainType, gainChannel);
5068  }
5069  else
5070  {
5071  throw std::runtime_error("Library not loaded!");
5072  }
5073 }
5074 
5075 inline PEAK_API_STATUS DynamicLoader::peak_Gain_GetChannelList(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel * gainChannelList, size_t * gainChannelCount)
5076 {
5077  auto& inst = instance();
5078  if(inst.m_peak_Gain_GetChannelList)
5079  {
5080  return inst.m_peak_Gain_GetChannelList(hCam, gainType, gainChannelList, gainChannelCount);
5081  }
5082  else
5083  {
5084  throw std::runtime_error("Library not loaded!");
5085  }
5086 }
5087 
5088 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)
5089 {
5090  auto& inst = instance();
5091  if(inst.m_peak_Gain_GetRange)
5092  {
5093  return inst.m_peak_Gain_GetRange(hCam, gainType, gainChannel, minGain, maxGain, incGain);
5094  }
5095  else
5096  {
5097  throw std::runtime_error("Library not loaded!");
5098  }
5099 }
5100 
5101 inline PEAK_API_STATUS DynamicLoader::peak_Gain_Set(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double gain)
5102 {
5103  auto& inst = instance();
5104  if(inst.m_peak_Gain_Set)
5105  {
5106  return inst.m_peak_Gain_Set(hCam, gainType, gainChannel, gain);
5107  }
5108  else
5109  {
5110  throw std::runtime_error("Library not loaded!");
5111  }
5112 }
5113 
5114 inline PEAK_API_STATUS DynamicLoader::peak_Gain_Get(peak_camera_handle hCam, peak_gain_type gainType, peak_gain_channel gainChannel, double * gain)
5115 {
5116  auto& inst = instance();
5117  if(inst.m_peak_Gain_Get)
5118  {
5119  return inst.m_peak_Gain_Get(hCam, gainType, gainChannel, gain);
5120  }
5121  else
5122  {
5123  throw std::runtime_error("Library not loaded!");
5124  }
5125 }
5126 
5127 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Gamma_GetAccessStatus(peak_camera_handle hCam)
5128 {
5129  auto& inst = instance();
5130  if(inst.m_peak_Gamma_GetAccessStatus)
5131  {
5132  return inst.m_peak_Gamma_GetAccessStatus(hCam);
5133  }
5134  else
5135  {
5136  throw std::runtime_error("Library not loaded!");
5137  }
5138 }
5139 
5140 inline PEAK_API_STATUS DynamicLoader::peak_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma)
5141 {
5142  auto& inst = instance();
5143  if(inst.m_peak_Gamma_GetRange)
5144  {
5145  return inst.m_peak_Gamma_GetRange(hCam, minGamma, maxGamma, incGamma);
5146  }
5147  else
5148  {
5149  throw std::runtime_error("Library not loaded!");
5150  }
5151 }
5152 
5153 inline PEAK_API_STATUS DynamicLoader::peak_Gamma_Set(peak_camera_handle hCam, double gamma)
5154 {
5155  auto& inst = instance();
5156  if(inst.m_peak_Gamma_Set)
5157  {
5158  return inst.m_peak_Gamma_Set(hCam, gamma);
5159  }
5160  else
5161  {
5162  throw std::runtime_error("Library not loaded!");
5163  }
5164 }
5165 
5166 inline PEAK_API_STATUS DynamicLoader::peak_Gamma_Get(peak_camera_handle hCam, double * gamma)
5167 {
5168  auto& inst = instance();
5169  if(inst.m_peak_Gamma_Get)
5170  {
5171  return inst.m_peak_Gamma_Get(hCam, gamma);
5172  }
5173  else
5174  {
5175  throw std::runtime_error("Library not loaded!");
5176  }
5177 }
5178 
5180 {
5181  auto& inst = instance();
5182  if(inst.m_peak_ColorCorrection_GetAccessStatus)
5183  {
5184  return inst.m_peak_ColorCorrection_GetAccessStatus(hCam);
5185  }
5186  else
5187  {
5188  throw std::runtime_error("Library not loaded!");
5189  }
5190 }
5191 
5192 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_GetList(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionModeList, size_t * colorCorrectionModeCount)
5193 {
5194  auto& inst = instance();
5195  if(inst.m_peak_ColorCorrection_Mode_GetList)
5196  {
5197  return inst.m_peak_ColorCorrection_Mode_GetList(hCam, colorCorrectionModeList, colorCorrectionModeCount);
5198  }
5199  else
5200  {
5201  throw std::runtime_error("Library not loaded!");
5202  }
5203 }
5204 
5205 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_Set(peak_camera_handle hCam, peak_color_correction_mode colorCorrectionMode)
5206 {
5207  auto& inst = instance();
5208  if(inst.m_peak_ColorCorrection_Mode_Set)
5209  {
5210  return inst.m_peak_ColorCorrection_Mode_Set(hCam, colorCorrectionMode);
5211  }
5212  else
5213  {
5214  throw std::runtime_error("Library not loaded!");
5215  }
5216 }
5217 
5218 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Mode_Get(peak_camera_handle hCam, peak_color_correction_mode * colorCorrectionMode)
5219 {
5220  auto& inst = instance();
5221  if(inst.m_peak_ColorCorrection_Mode_Get)
5222  {
5223  return inst.m_peak_ColorCorrection_Mode_Get(hCam, colorCorrectionMode);
5224  }
5225  else
5226  {
5227  throw std::runtime_error("Library not loaded!");
5228  }
5229 }
5230 
5232 {
5233  auto& inst = instance();
5234  if(inst.m_peak_ColorCorrection_Matrix_GetAccessStatus)
5235  {
5236  return inst.m_peak_ColorCorrection_Matrix_GetAccessStatus(hCam);
5237  }
5238  else
5239  {
5240  throw std::runtime_error("Library not loaded!");
5241  }
5242 }
5243 
5244 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_GetRange(peak_camera_handle hCam, double * minMatrixElementValue, double * maxMatrixElementValue, double * incMatrixElementValue)
5245 {
5246  auto& inst = instance();
5247  if(inst.m_peak_ColorCorrection_Matrix_GetRange)
5248  {
5249  return inst.m_peak_ColorCorrection_Matrix_GetRange(hCam, minMatrixElementValue, maxMatrixElementValue, incMatrixElementValue);
5250  }
5251  else
5252  {
5253  throw std::runtime_error("Library not loaded!");
5254  }
5255 }
5256 
5257 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
5258 {
5259  auto& inst = instance();
5260  if(inst.m_peak_ColorCorrection_Matrix_Set)
5261  {
5262  return inst.m_peak_ColorCorrection_Matrix_Set(hCam, colorCorrectionMatrix);
5263  }
5264  else
5265  {
5266  throw std::runtime_error("Library not loaded!");
5267  }
5268 }
5269 
5270 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix)
5271 {
5272  auto& inst = instance();
5273  if(inst.m_peak_ColorCorrection_Matrix_Get)
5274  {
5275  return inst.m_peak_ColorCorrection_Matrix_Get(hCam, colorCorrectionMatrix);
5276  }
5277  else
5278  {
5279  throw std::runtime_error("Library not loaded!");
5280  }
5281 }
5282 
5283 inline PEAK_API_STATUS DynamicLoader::peak_ColorCorrection_Enable(peak_camera_handle hCam, peak_bool enabled)
5284 {
5285  auto& inst = instance();
5286  if(inst.m_peak_ColorCorrection_Enable)
5287  {
5288  return inst.m_peak_ColorCorrection_Enable(hCam, enabled);
5289  }
5290  else
5291  {
5292  throw std::runtime_error("Library not loaded!");
5293  }
5294 }
5295 
5297 {
5298  auto& inst = instance();
5299  if(inst.m_peak_ColorCorrection_IsEnabled)
5300  {
5301  return inst.m_peak_ColorCorrection_IsEnabled(hCam);
5302  }
5303  else
5304  {
5305  throw std::runtime_error("Library not loaded!");
5306  }
5307 }
5308 
5310 {
5311  auto& inst = instance();
5312  if(inst.m_peak_AutoBrightness_GetAccessStatus)
5313  {
5314  return inst.m_peak_AutoBrightness_GetAccessStatus(hCam);
5315  }
5316  else
5317  {
5318  throw std::runtime_error("Library not loaded!");
5319  }
5320 }
5321 
5322 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget)
5323 {
5324  auto& inst = instance();
5325  if(inst.m_peak_AutoBrightness_Target_GetRange)
5326  {
5327  return inst.m_peak_AutoBrightness_Target_GetRange(hCam, minAutoBrightnessTarget, maxAutoBrightnessTarget, incAutoBrightnessTarget);
5328  }
5329  else
5330  {
5331  throw std::runtime_error("Library not loaded!");
5332  }
5333 }
5334 
5335 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
5336 {
5337  auto& inst = instance();
5338  if(inst.m_peak_AutoBrightness_Target_Set)
5339  {
5340  return inst.m_peak_AutoBrightness_Target_Set(hCam, autoBrightnessTarget);
5341  }
5342  else
5343  {
5344  throw std::runtime_error("Library not loaded!");
5345  }
5346 }
5347 
5348 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget)
5349 {
5350  auto& inst = instance();
5351  if(inst.m_peak_AutoBrightness_Target_Get)
5352  {
5353  return inst.m_peak_AutoBrightness_Target_Get(hCam, autoBrightnessTarget);
5354  }
5355  else
5356  {
5357  throw std::runtime_error("Library not loaded!");
5358  }
5359 }
5360 
5361 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance)
5362 {
5363  auto& inst = instance();
5364  if(inst.m_peak_AutoBrightness_TargetTolerance_GetRange)
5365  {
5366  return inst.m_peak_AutoBrightness_TargetTolerance_GetRange(hCam, minAutoBrightnessTargetTolerance, maxAutoBrightnessTargetTolerance, incAutoBrightnessTargetTolerance);
5367  }
5368  else
5369  {
5370  throw std::runtime_error("Library not loaded!");
5371  }
5372 }
5373 
5374 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
5375 {
5376  auto& inst = instance();
5377  if(inst.m_peak_AutoBrightness_TargetTolerance_Set)
5378  {
5379  return inst.m_peak_AutoBrightness_TargetTolerance_Set(hCam, autoBrightnessTargetTolerance);
5380  }
5381  else
5382  {
5383  throw std::runtime_error("Library not loaded!");
5384  }
5385 }
5386 
5387 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance)
5388 {
5389  auto& inst = instance();
5390  if(inst.m_peak_AutoBrightness_TargetTolerance_Get)
5391  {
5392  return inst.m_peak_AutoBrightness_TargetTolerance_Get(hCam, autoBrightnessTargetTolerance);
5393  }
5394  else
5395  {
5396  throw std::runtime_error("Library not loaded!");
5397  }
5398 }
5399 
5400 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile)
5401 {
5402  auto& inst = instance();
5403  if(inst.m_peak_AutoBrightness_TargetPercentile_GetRange)
5404  {
5405  return inst.m_peak_AutoBrightness_TargetPercentile_GetRange(hCam, minAutoBrightnessTargetPercentile, maxAutoBrightnessTargetPercentile, incAutoBrightnessTargetPercentile);
5406  }
5407  else
5408  {
5409  throw std::runtime_error("Library not loaded!");
5410  }
5411 }
5412 
5413 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
5414 {
5415  auto& inst = instance();
5416  if(inst.m_peak_AutoBrightness_TargetPercentile_Set)
5417  {
5418  return inst.m_peak_AutoBrightness_TargetPercentile_Set(hCam, autoBrightnessTargetPercentile);
5419  }
5420  else
5421  {
5422  throw std::runtime_error("Library not loaded!");
5423  }
5424 }
5425 
5426 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile)
5427 {
5428  auto& inst = instance();
5429  if(inst.m_peak_AutoBrightness_TargetPercentile_Get)
5430  {
5431  return inst.m_peak_AutoBrightness_TargetPercentile_Get(hCam, autoBrightnessTargetPercentile);
5432  }
5433  else
5434  {
5435  throw std::runtime_error("Library not loaded!");
5436  }
5437 }
5438 
5439 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoBrightnessROIMode)
5440 {
5441  auto& inst = instance();
5442  if(inst.m_peak_AutoBrightness_ROI_Mode_Set)
5443  {
5444  return inst.m_peak_AutoBrightness_ROI_Mode_Set(hCam, autoBrightnessROIMode);
5445  }
5446  else
5447  {
5448  throw std::runtime_error("Library not loaded!");
5449  }
5450 }
5451 
5452 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoBrightnessROIMode)
5453 {
5454  auto& inst = instance();
5455  if(inst.m_peak_AutoBrightness_ROI_Mode_Get)
5456  {
5457  return inst.m_peak_AutoBrightness_ROI_Mode_Get(hCam, autoBrightnessROIMode);
5458  }
5459  else
5460  {
5461  throw std::runtime_error("Library not loaded!");
5462  }
5463 }
5464 
5465 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset)
5466 {
5467  auto& inst = instance();
5468  if(inst.m_peak_AutoBrightness_ROI_Offset_GetRange)
5469  {
5470  return inst.m_peak_AutoBrightness_ROI_Offset_GetRange(hCam, minAutoBrightnessROIOffset, maxAutoBrightnessROIOffset, incAutoBrightnessROIOffset);
5471  }
5472  else
5473  {
5474  throw std::runtime_error("Library not loaded!");
5475  }
5476 }
5477 
5478 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize)
5479 {
5480  auto& inst = instance();
5481  if(inst.m_peak_AutoBrightness_ROI_Size_GetRange)
5482  {
5483  return inst.m_peak_AutoBrightness_ROI_Size_GetRange(hCam, minAutoBrightnessROISize, maxAutoBrightnessROISize, incAutoBrightnessROISize);
5484  }
5485  else
5486  {
5487  throw std::runtime_error("Library not loaded!");
5488  }
5489 }
5490 
5491 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
5492 {
5493  auto& inst = instance();
5494  if(inst.m_peak_AutoBrightness_ROI_Set)
5495  {
5496  return inst.m_peak_AutoBrightness_ROI_Set(hCam, autoBrightnessROI);
5497  }
5498  else
5499  {
5500  throw std::runtime_error("Library not loaded!");
5501  }
5502 }
5503 
5504 inline PEAK_API_STATUS DynamicLoader::peak_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI)
5505 {
5506  auto& inst = instance();
5507  if(inst.m_peak_AutoBrightness_ROI_Get)
5508  {
5509  return inst.m_peak_AutoBrightness_ROI_Get(hCam, autoBrightnessROI);
5510  }
5511  else
5512  {
5513  throw std::runtime_error("Library not loaded!");
5514  }
5515 }
5516 
5518 {
5519  auto& inst = instance();
5520  if(inst.m_peak_AutoBrightness_Exposure_GetAccessStatus)
5521  {
5522  return inst.m_peak_AutoBrightness_Exposure_GetAccessStatus(hCam);
5523  }
5524  else
5525  {
5526  throw std::runtime_error("Library not loaded!");
5527  }
5528 }
5529 
5531 {
5532  auto& inst = instance();
5533  if(inst.m_peak_AutoBrightness_Exposure_Mode_Set)
5534  {
5535  return inst.m_peak_AutoBrightness_Exposure_Mode_Set(hCam, autoExposureMode);
5536  }
5537  else
5538  {
5539  throw std::runtime_error("Library not loaded!");
5540  }
5541 }
5542 
5544 {
5545  auto& inst = instance();
5546  if(inst.m_peak_AutoBrightness_Exposure_Mode_Get)
5547  {
5548  return inst.m_peak_AutoBrightness_Exposure_Mode_Get(hCam, autoExposureMode);
5549  }
5550  else
5551  {
5552  throw std::runtime_error("Library not loaded!");
5553  }
5554 }
5555 
5557 {
5558  auto& inst = instance();
5559  if(inst.m_peak_AutoBrightness_Gain_GetAccessStatus)
5560  {
5561  return inst.m_peak_AutoBrightness_Gain_GetAccessStatus(hCam);
5562  }
5563  else
5564  {
5565  throw std::runtime_error("Library not loaded!");
5566  }
5567 }
5568 
5570 {
5571  auto& inst = instance();
5572  if(inst.m_peak_AutoBrightness_Gain_Mode_Set)
5573  {
5574  return inst.m_peak_AutoBrightness_Gain_Mode_Set(hCam, autoGainMode);
5575  }
5576  else
5577  {
5578  throw std::runtime_error("Library not loaded!");
5579  }
5580 }
5581 
5583 {
5584  auto& inst = instance();
5585  if(inst.m_peak_AutoBrightness_Gain_Mode_Get)
5586  {
5587  return inst.m_peak_AutoBrightness_Gain_Mode_Get(hCam, autoGainMode);
5588  }
5589  else
5590  {
5591  throw std::runtime_error("Library not loaded!");
5592  }
5593 }
5594 
5596 {
5597  auto& inst = instance();
5598  if(inst.m_peak_AutoWhiteBalance_GetAccessStatus)
5599  {
5600  return inst.m_peak_AutoWhiteBalance_GetAccessStatus(hCam);
5601  }
5602  else
5603  {
5604  throw std::runtime_error("Library not loaded!");
5605  }
5606 }
5607 
5608 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Mode_Set(peak_camera_handle hCam, peak_auto_feature_roi_mode autoWhiteBalanceROIMode)
5609 {
5610  auto& inst = instance();
5611  if(inst.m_peak_AutoWhiteBalance_ROI_Mode_Set)
5612  {
5613  return inst.m_peak_AutoWhiteBalance_ROI_Mode_Set(hCam, autoWhiteBalanceROIMode);
5614  }
5615  else
5616  {
5617  throw std::runtime_error("Library not loaded!");
5618  }
5619 }
5620 
5621 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode)
5622 {
5623  auto& inst = instance();
5624  if(inst.m_peak_AutoWhiteBalance_ROI_Mode_Get)
5625  {
5626  return inst.m_peak_AutoWhiteBalance_ROI_Mode_Get(hCam, autoWhiteBalanceROIMode);
5627  }
5628  else
5629  {
5630  throw std::runtime_error("Library not loaded!");
5631  }
5632 }
5633 
5634 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset)
5635 {
5636  auto& inst = instance();
5637  if(inst.m_peak_AutoWhiteBalance_ROI_Offset_GetRange)
5638  {
5639  return inst.m_peak_AutoWhiteBalance_ROI_Offset_GetRange(hCam, minAutoWhiteBalanceROIOffset, maxAutoWhiteBalanceROIOffset, incAutoWhiteBalanceROIOffset);
5640  }
5641  else
5642  {
5643  throw std::runtime_error("Library not loaded!");
5644  }
5645 }
5646 
5647 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize)
5648 {
5649  auto& inst = instance();
5650  if(inst.m_peak_AutoWhiteBalance_ROI_Size_GetRange)
5651  {
5652  return inst.m_peak_AutoWhiteBalance_ROI_Size_GetRange(hCam, minAutoWhiteBalanceROISize, maxAutoWhiteBalanceROISize, incAutoWhiteBalanceROISize);
5653  }
5654  else
5655  {
5656  throw std::runtime_error("Library not loaded!");
5657  }
5658 }
5659 
5660 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
5661 {
5662  auto& inst = instance();
5663  if(inst.m_peak_AutoWhiteBalance_ROI_Set)
5664  {
5665  return inst.m_peak_AutoWhiteBalance_ROI_Set(hCam, autoWhiteBalanceROI);
5666  }
5667  else
5668  {
5669  throw std::runtime_error("Library not loaded!");
5670  }
5671 }
5672 
5673 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI)
5674 {
5675  auto& inst = instance();
5676  if(inst.m_peak_AutoWhiteBalance_ROI_Get)
5677  {
5678  return inst.m_peak_AutoWhiteBalance_ROI_Get(hCam, autoWhiteBalanceROI);
5679  }
5680  else
5681  {
5682  throw std::runtime_error("Library not loaded!");
5683  }
5684 }
5685 
5686 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
5687 {
5688  auto& inst = instance();
5689  if(inst.m_peak_AutoWhiteBalance_Mode_Set)
5690  {
5691  return inst.m_peak_AutoWhiteBalance_Mode_Set(hCam, autoWhiteBalanceMode);
5692  }
5693  else
5694  {
5695  throw std::runtime_error("Library not loaded!");
5696  }
5697 }
5698 
5699 inline PEAK_API_STATUS DynamicLoader::peak_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode)
5700 {
5701  auto& inst = instance();
5702  if(inst.m_peak_AutoWhiteBalance_Mode_Get)
5703  {
5704  return inst.m_peak_AutoWhiteBalance_Mode_Get(hCam, autoWhiteBalanceMode);
5705  }
5706  else
5707  {
5708  throw std::runtime_error("Library not loaded!");
5709  }
5710 }
5711 
5712 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_ROI_GetAccessStatus(peak_camera_handle hCam)
5713 {
5714  auto& inst = instance();
5715  if(inst.m_peak_ROI_GetAccessStatus)
5716  {
5717  return inst.m_peak_ROI_GetAccessStatus(hCam);
5718  }
5719  else
5720  {
5721  throw std::runtime_error("Library not loaded!");
5722  }
5723 }
5724 
5725 inline PEAK_API_STATUS DynamicLoader::peak_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minROIOffset, peak_position * maxROIOffset, peak_position * incROIOffset)
5726 {
5727  auto& inst = instance();
5728  if(inst.m_peak_ROI_Offset_GetRange)
5729  {
5730  return inst.m_peak_ROI_Offset_GetRange(hCam, minROIOffset, maxROIOffset, incROIOffset);
5731  }
5732  else
5733  {
5734  throw std::runtime_error("Library not loaded!");
5735  }
5736 }
5737 
5738 inline PEAK_API_STATUS DynamicLoader::peak_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minROISize, peak_size * maxROISize, peak_size * incROISize)
5739 {
5740  auto& inst = instance();
5741  if(inst.m_peak_ROI_Size_GetRange)
5742  {
5743  return inst.m_peak_ROI_Size_GetRange(hCam, minROISize, maxROISize, incROISize);
5744  }
5745  else
5746  {
5747  throw std::runtime_error("Library not loaded!");
5748  }
5749 }
5750 
5751 inline PEAK_API_STATUS DynamicLoader::peak_ROI_Set(peak_camera_handle hCam, peak_roi roi)
5752 {
5753  auto& inst = instance();
5754  if(inst.m_peak_ROI_Set)
5755  {
5756  return inst.m_peak_ROI_Set(hCam, roi);
5757  }
5758  else
5759  {
5760  throw std::runtime_error("Library not loaded!");
5761  }
5762 }
5763 
5764 inline PEAK_API_STATUS DynamicLoader::peak_ROI_Get(peak_camera_handle hCam, peak_roi * roi)
5765 {
5766  auto& inst = instance();
5767  if(inst.m_peak_ROI_Get)
5768  {
5769  return inst.m_peak_ROI_Get(hCam, roi);
5770  }
5771  else
5772  {
5773  throw std::runtime_error("Library not loaded!");
5774  }
5775 }
5776 
5777 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Binning_GetAccessStatus(peak_camera_handle hCam)
5778 {
5779  auto& inst = instance();
5780  if(inst.m_peak_Binning_GetAccessStatus)
5781  {
5782  return inst.m_peak_Binning_GetAccessStatus(hCam);
5783  }
5784  else
5785  {
5786  throw std::runtime_error("Library not loaded!");
5787  }
5788 }
5789 
5790 inline PEAK_API_STATUS DynamicLoader::peak_Binning_FactorX_GetList(peak_camera_handle hCam, uint32_t * binningFactorXList, size_t * binningFactorXCount)
5791 {
5792  auto& inst = instance();
5793  if(inst.m_peak_Binning_FactorX_GetList)
5794  {
5795  return inst.m_peak_Binning_FactorX_GetList(hCam, binningFactorXList, binningFactorXCount);
5796  }
5797  else
5798  {
5799  throw std::runtime_error("Library not loaded!");
5800  }
5801 }
5802 
5803 inline PEAK_API_STATUS DynamicLoader::peak_Binning_FactorY_GetList(peak_camera_handle hCam, uint32_t * binningFactorYList, size_t * binningFactorYCount)
5804 {
5805  auto& inst = instance();
5806  if(inst.m_peak_Binning_FactorY_GetList)
5807  {
5808  return inst.m_peak_Binning_FactorY_GetList(hCam, binningFactorYList, binningFactorYCount);
5809  }
5810  else
5811  {
5812  throw std::runtime_error("Library not loaded!");
5813  }
5814 }
5815 
5816 inline PEAK_API_STATUS DynamicLoader::peak_Binning_Set(peak_camera_handle hCam, uint32_t binningFactorX, uint32_t binningFactorY)
5817 {
5818  auto& inst = instance();
5819  if(inst.m_peak_Binning_Set)
5820  {
5821  return inst.m_peak_Binning_Set(hCam, binningFactorX, binningFactorY);
5822  }
5823  else
5824  {
5825  throw std::runtime_error("Library not loaded!");
5826  }
5827 }
5828 
5829 inline PEAK_API_STATUS DynamicLoader::peak_Binning_Get(peak_camera_handle hCam, uint32_t * binningFactorX, uint32_t * binningFactorY)
5830 {
5831  auto& inst = instance();
5832  if(inst.m_peak_Binning_Get)
5833  {
5834  return inst.m_peak_Binning_Get(hCam, binningFactorX, binningFactorY);
5835  }
5836  else
5837  {
5838  throw std::runtime_error("Library not loaded!");
5839  }
5840 }
5841 
5842 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_Decimation_GetAccessStatus(peak_camera_handle hCam)
5843 {
5844  auto& inst = instance();
5845  if(inst.m_peak_Decimation_GetAccessStatus)
5846  {
5847  return inst.m_peak_Decimation_GetAccessStatus(hCam);
5848  }
5849  else
5850  {
5851  throw std::runtime_error("Library not loaded!");
5852  }
5853 }
5854 
5855 inline PEAK_API_STATUS DynamicLoader::peak_Decimation_FactorX_GetList(peak_camera_handle hCam, uint32_t * decimationFactorXList, size_t * decimationFactorXCount)
5856 {
5857  auto& inst = instance();
5858  if(inst.m_peak_Decimation_FactorX_GetList)
5859  {
5860  return inst.m_peak_Decimation_FactorX_GetList(hCam, decimationFactorXList, decimationFactorXCount);
5861  }
5862  else
5863  {
5864  throw std::runtime_error("Library not loaded!");
5865  }
5866 }
5867 
5868 inline PEAK_API_STATUS DynamicLoader::peak_Decimation_FactorY_GetList(peak_camera_handle hCam, uint32_t * decimationFactorYList, size_t * decimationFactorYCount)
5869 {
5870  auto& inst = instance();
5871  if(inst.m_peak_Decimation_FactorY_GetList)
5872  {
5873  return inst.m_peak_Decimation_FactorY_GetList(hCam, decimationFactorYList, decimationFactorYCount);
5874  }
5875  else
5876  {
5877  throw std::runtime_error("Library not loaded!");
5878  }
5879 }
5880 
5881 inline PEAK_API_STATUS DynamicLoader::peak_Decimation_Set(peak_camera_handle hCam, uint32_t decimationFactorX, uint32_t decimationFactorY)
5882 {
5883  auto& inst = instance();
5884  if(inst.m_peak_Decimation_Set)
5885  {
5886  return inst.m_peak_Decimation_Set(hCam, decimationFactorX, decimationFactorY);
5887  }
5888  else
5889  {
5890  throw std::runtime_error("Library not loaded!");
5891  }
5892 }
5893 
5894 inline PEAK_API_STATUS DynamicLoader::peak_Decimation_Get(peak_camera_handle hCam, uint32_t * decimationFactorX, uint32_t * decimationFactorY)
5895 {
5896  auto& inst = instance();
5897  if(inst.m_peak_Decimation_Get)
5898  {
5899  return inst.m_peak_Decimation_Get(hCam, decimationFactorX, decimationFactorY);
5900  }
5901  else
5902  {
5903  throw std::runtime_error("Library not loaded!");
5904  }
5905 }
5906 
5908 {
5909  auto& inst = instance();
5910  if(inst.m_peak_Mirror_LeftRight_GetAccessStatus)
5911  {
5912  return inst.m_peak_Mirror_LeftRight_GetAccessStatus(hCam);
5913  }
5914  else
5915  {
5916  throw std::runtime_error("Library not loaded!");
5917  }
5918 }
5919 
5920 inline PEAK_API_STATUS DynamicLoader::peak_Mirror_LeftRight_Enable(peak_camera_handle hCam, peak_bool enabled)
5921 {
5922  auto& inst = instance();
5923  if(inst.m_peak_Mirror_LeftRight_Enable)
5924  {
5925  return inst.m_peak_Mirror_LeftRight_Enable(hCam, enabled);
5926  }
5927  else
5928  {
5929  throw std::runtime_error("Library not loaded!");
5930  }
5931 }
5932 
5934 {
5935  auto& inst = instance();
5936  if(inst.m_peak_Mirror_LeftRight_IsEnabled)
5937  {
5938  return inst.m_peak_Mirror_LeftRight_IsEnabled(hCam);
5939  }
5940  else
5941  {
5942  throw std::runtime_error("Library not loaded!");
5943  }
5944 }
5945 
5947 {
5948  auto& inst = instance();
5949  if(inst.m_peak_Mirror_UpDown_GetAccessStatus)
5950  {
5951  return inst.m_peak_Mirror_UpDown_GetAccessStatus(hCam);
5952  }
5953  else
5954  {
5955  throw std::runtime_error("Library not loaded!");
5956  }
5957 }
5958 
5959 inline PEAK_API_STATUS DynamicLoader::peak_Mirror_UpDown_Enable(peak_camera_handle hCam, peak_bool enabled)
5960 {
5961  auto& inst = instance();
5962  if(inst.m_peak_Mirror_UpDown_Enable)
5963  {
5964  return inst.m_peak_Mirror_UpDown_Enable(hCam, enabled);
5965  }
5966  else
5967  {
5968  throw std::runtime_error("Library not loaded!");
5969  }
5970 }
5971 
5973 {
5974  auto& inst = instance();
5975  if(inst.m_peak_Mirror_UpDown_IsEnabled)
5976  {
5977  return inst.m_peak_Mirror_UpDown_IsEnabled(hCam);
5978  }
5979  else
5980  {
5981  throw std::runtime_error("Library not loaded!");
5982  }
5983 }
5984 
5985 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_CameraMemory_Area_GetAccessStatus(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea)
5986 {
5987  auto& inst = instance();
5988  if(inst.m_peak_CameraMemory_Area_GetAccessStatus)
5989  {
5990  return inst.m_peak_CameraMemory_Area_GetAccessStatus(hCam, cameraMemoryArea);
5991  }
5992  else
5993  {
5994  throw std::runtime_error("Library not loaded!");
5995  }
5996 }
5997 
5998 inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_GetList(peak_camera_handle hCam, peak_camera_memory_area * cameraMemoryAreaList, size_t * cameraMemoryAreaCount)
5999 {
6000  auto& inst = instance();
6001  if(inst.m_peak_CameraMemory_Area_GetList)
6002  {
6003  return inst.m_peak_CameraMemory_Area_GetList(hCam, cameraMemoryAreaList, cameraMemoryAreaCount);
6004  }
6005  else
6006  {
6007  throw std::runtime_error("Library not loaded!");
6008  }
6009 }
6010 
6011 inline PEAK_API_STATUS DynamicLoader::peak_CameraMemory_Area_Size_Get(peak_camera_handle hCam, peak_camera_memory_area cameraMemoryArea, size_t * cameraMemoryAreaSize)
6012 {
6013  auto& inst = instance();
6014  if(inst.m_peak_CameraMemory_Area_Size_Get)
6015  {
6016  return inst.m_peak_CameraMemory_Area_Size_Get(hCam, cameraMemoryArea, cameraMemoryAreaSize);
6017  }
6018  else
6019  {
6020  throw std::runtime_error("Library not loaded!");
6021  }
6022 }
6023 
6025 {
6026  auto& inst = instance();
6027  if(inst.m_peak_CameraMemory_Area_Data_Clear)
6028  {
6029  return inst.m_peak_CameraMemory_Area_Data_Clear(hCam, cameraMemoryArea);
6030  }
6031  else
6032  {
6033  throw std::runtime_error("Library not loaded!");
6034  }
6035 }
6036 
6037 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)
6038 {
6039  auto& inst = instance();
6040  if(inst.m_peak_CameraMemory_Area_Data_Write)
6041  {
6042  return inst.m_peak_CameraMemory_Area_Data_Write(hCam, cameraMemoryArea, data, dataSize);
6043  }
6044  else
6045  {
6046  throw std::runtime_error("Library not loaded!");
6047  }
6048 }
6049 
6050 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)
6051 {
6052  auto& inst = instance();
6053  if(inst.m_peak_CameraMemory_Area_Data_Read)
6054  {
6055  return inst.m_peak_CameraMemory_Area_Data_Read(hCam, cameraMemoryArea, data, dataSize);
6056  }
6057  else
6058  {
6059  throw std::runtime_error("Library not loaded!");
6060  }
6061 }
6062 
6063 inline PEAK_API_STATUS DynamicLoader::peak_GFA_EnableWriteAccess(peak_camera_handle hCam, peak_bool enabled)
6064 {
6065  auto& inst = instance();
6066  if(inst.m_peak_GFA_EnableWriteAccess)
6067  {
6068  return inst.m_peak_GFA_EnableWriteAccess(hCam, enabled);
6069  }
6070  else
6071  {
6072  throw std::runtime_error("Library not loaded!");
6073  }
6074 }
6075 
6077 {
6078  auto& inst = instance();
6079  if(inst.m_peak_GFA_IsWriteAccessEnabled)
6080  {
6081  return inst.m_peak_GFA_IsWriteAccessEnabled(hCam);
6082  }
6083  else
6084  {
6085  throw std::runtime_error("Library not loaded!");
6086  }
6087 }
6088 
6089 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_Feature_GetAccessStatus(peak_camera_handle hCam, peak_gfa_module module, const char * featureName)
6090 {
6091  auto& inst = instance();
6092  if(inst.m_peak_GFA_Feature_GetAccessStatus)
6093  {
6094  return inst.m_peak_GFA_Feature_GetAccessStatus(hCam, module, featureName);
6095  }
6096  else
6097  {
6098  throw std::runtime_error("Library not loaded!");
6099  }
6100 }
6101 
6102 inline PEAK_API_BOOL DynamicLoader::peak_GFA_Float_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName)
6103 {
6104  auto& inst = instance();
6105  if(inst.m_peak_GFA_Float_HasRange)
6106  {
6107  return inst.m_peak_GFA_Float_HasRange(hCam, module, floatFeatureName);
6108  }
6109  else
6110  {
6111  throw std::runtime_error("Library not loaded!");
6112  }
6113 }
6114 
6115 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)
6116 {
6117  auto& inst = instance();
6118  if(inst.m_peak_GFA_Float_GetRange)
6119  {
6120  return inst.m_peak_GFA_Float_GetRange(hCam, module, floatFeatureName, minFloatValue, maxFloatValue, incFloatValue);
6121  }
6122  else
6123  {
6124  throw std::runtime_error("Library not loaded!");
6125  }
6126 }
6127 
6128 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)
6129 {
6130  auto& inst = instance();
6131  if(inst.m_peak_GFA_Float_GetList)
6132  {
6133  return inst.m_peak_GFA_Float_GetList(hCam, module, floatFeatureName, floatList, floatCount);
6134  }
6135  else
6136  {
6137  throw std::runtime_error("Library not loaded!");
6138  }
6139 }
6140 
6141 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_Set(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double floatValue)
6142 {
6143  auto& inst = instance();
6144  if(inst.m_peak_GFA_Float_Set)
6145  {
6146  return inst.m_peak_GFA_Float_Set(hCam, module, floatFeatureName, floatValue);
6147  }
6148  else
6149  {
6150  throw std::runtime_error("Library not loaded!");
6151  }
6152 }
6153 
6154 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Float_Get(peak_camera_handle hCam, peak_gfa_module module, const char * floatFeatureName, double * floatValue)
6155 {
6156  auto& inst = instance();
6157  if(inst.m_peak_GFA_Float_Get)
6158  {
6159  return inst.m_peak_GFA_Float_Get(hCam, module, floatFeatureName, floatValue);
6160  }
6161  else
6162  {
6163  throw std::runtime_error("Library not loaded!");
6164  }
6165 }
6166 
6167 inline PEAK_API_BOOL DynamicLoader::peak_GFA_Integer_HasRange(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName)
6168 {
6169  auto& inst = instance();
6170  if(inst.m_peak_GFA_Integer_HasRange)
6171  {
6172  return inst.m_peak_GFA_Integer_HasRange(hCam, module, integerFeatureName);
6173  }
6174  else
6175  {
6176  throw std::runtime_error("Library not loaded!");
6177  }
6178 }
6179 
6180 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)
6181 {
6182  auto& inst = instance();
6183  if(inst.m_peak_GFA_Integer_GetRange)
6184  {
6185  return inst.m_peak_GFA_Integer_GetRange(hCam, module, integerFeatureName, minIntegerValue, maxIntegerValue, incIntegerValue);
6186  }
6187  else
6188  {
6189  throw std::runtime_error("Library not loaded!");
6190  }
6191 }
6192 
6193 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)
6194 {
6195  auto& inst = instance();
6196  if(inst.m_peak_GFA_Integer_GetList)
6197  {
6198  return inst.m_peak_GFA_Integer_GetList(hCam, module, integerFeatureName, integerList, integerCount);
6199  }
6200  else
6201  {
6202  throw std::runtime_error("Library not loaded!");
6203  }
6204 }
6205 
6206 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_Set(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t integerValue)
6207 {
6208  auto& inst = instance();
6209  if(inst.m_peak_GFA_Integer_Set)
6210  {
6211  return inst.m_peak_GFA_Integer_Set(hCam, module, integerFeatureName, integerValue);
6212  }
6213  else
6214  {
6215  throw std::runtime_error("Library not loaded!");
6216  }
6217 }
6218 
6219 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Integer_Get(peak_camera_handle hCam, peak_gfa_module module, const char * integerFeatureName, int64_t * integerValue)
6220 {
6221  auto& inst = instance();
6222  if(inst.m_peak_GFA_Integer_Get)
6223  {
6224  return inst.m_peak_GFA_Integer_Get(hCam, module, integerFeatureName, integerValue);
6225  }
6226  else
6227  {
6228  throw std::runtime_error("Library not loaded!");
6229  }
6230 }
6231 
6232 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Boolean_Set(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool booleanValue)
6233 {
6234  auto& inst = instance();
6235  if(inst.m_peak_GFA_Boolean_Set)
6236  {
6237  return inst.m_peak_GFA_Boolean_Set(hCam, module, booleanFeatureName, booleanValue);
6238  }
6239  else
6240  {
6241  throw std::runtime_error("Library not loaded!");
6242  }
6243 }
6244 
6245 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Boolean_Get(peak_camera_handle hCam, peak_gfa_module module, const char * booleanFeatureName, peak_bool * booleanValue)
6246 {
6247  auto& inst = instance();
6248  if(inst.m_peak_GFA_Boolean_Get)
6249  {
6250  return inst.m_peak_GFA_Boolean_Get(hCam, module, booleanFeatureName, booleanValue);
6251  }
6252  else
6253  {
6254  throw std::runtime_error("Library not loaded!");
6255  }
6256 }
6257 
6258 inline PEAK_API_STATUS DynamicLoader::peak_GFA_String_Set(peak_camera_handle hCam, peak_gfa_module module, const char * stringFeatureName, const char * stringValue)
6259 {
6260  auto& inst = instance();
6261  if(inst.m_peak_GFA_String_Set)
6262  {
6263  return inst.m_peak_GFA_String_Set(hCam, module, stringFeatureName, stringValue);
6264  }
6265  else
6266  {
6267  throw std::runtime_error("Library not loaded!");
6268  }
6269 }
6270 
6271 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)
6272 {
6273  auto& inst = instance();
6274  if(inst.m_peak_GFA_String_Get)
6275  {
6276  return inst.m_peak_GFA_String_Get(hCam, module, stringFeatureName, stringValue, stringValueSize);
6277  }
6278  else
6279  {
6280  throw std::runtime_error("Library not loaded!");
6281  }
6282 }
6283 
6284 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Command_Execute(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName)
6285 {
6286  auto& inst = instance();
6287  if(inst.m_peak_GFA_Command_Execute)
6288  {
6289  return inst.m_peak_GFA_Command_Execute(hCam, module, commandFeatureName);
6290  }
6291  else
6292  {
6293  throw std::runtime_error("Library not loaded!");
6294  }
6295 }
6296 
6297 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Command_WaitForDone(peak_camera_handle hCam, peak_gfa_module module, const char * commandFeatureName, uint32_t timeout_ms)
6298 {
6299  auto& inst = instance();
6300  if(inst.m_peak_GFA_Command_WaitForDone)
6301  {
6302  return inst.m_peak_GFA_Command_WaitForDone(hCam, module, commandFeatureName, timeout_ms);
6303  }
6304  else
6305  {
6306  throw std::runtime_error("Library not loaded!");
6307  }
6308 }
6309 
6310 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)
6311 {
6312  auto& inst = instance();
6313  if(inst.m_peak_GFA_Enumeration_GetList)
6314  {
6315  return inst.m_peak_GFA_Enumeration_GetList(hCam, module, enumerationFeatureName, enumerationEntryList, enumerationEntryCount);
6316  }
6317  else
6318  {
6319  throw std::runtime_error("Library not loaded!");
6320  }
6321 }
6322 
6323 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)
6324 {
6325  auto& inst = instance();
6326  if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatus)
6327  {
6328  return inst.m_peak_GFA_EnumerationEntry_GetAccessStatus(hCam, module, enumerationFeatureName, enumerationEntry);
6329  }
6330  else
6331  {
6332  throw std::runtime_error("Library not loaded!");
6333  }
6334 }
6335 
6336 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue)
6337 {
6338  auto& inst = instance();
6339  if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue)
6340  {
6341  return inst.m_peak_GFA_EnumerationEntry_GetAccessStatusBySymbolicValue(hCam, module, enumerationFeatureName, enumerationEntrySymbolicValue);
6342  }
6343  else
6344  {
6345  throw std::runtime_error("Library not loaded!");
6346  }
6347 }
6348 
6349 inline PEAK_API_ACCESS_STATUS DynamicLoader::peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue)
6350 {
6351  auto& inst = instance();
6352  if(inst.m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue)
6353  {
6354  return inst.m_peak_GFA_EnumerationEntry_GetAccessStatusByIntegerValue(hCam, module, enumerationFeatureName, enumerationEntryIntegerValue);
6355  }
6356  else
6357  {
6358  throw std::runtime_error("Library not loaded!");
6359  }
6360 }
6361 
6362 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)
6363 {
6364  auto& inst = instance();
6365  if(inst.m_peak_GFA_Enumeration_Set)
6366  {
6367  return inst.m_peak_GFA_Enumeration_Set(hCam, module, enumerationFeatureName, enumerationEntry);
6368  }
6369  else
6370  {
6371  throw std::runtime_error("Library not loaded!");
6372  }
6373 }
6374 
6375 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_SetBySymbolicValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, const char * enumerationEntrySymbolicValue)
6376 {
6377  auto& inst = instance();
6378  if(inst.m_peak_GFA_Enumeration_SetBySymbolicValue)
6379  {
6380  return inst.m_peak_GFA_Enumeration_SetBySymbolicValue(hCam, module, enumerationFeatureName, enumerationEntrySymbolicValue);
6381  }
6382  else
6383  {
6384  throw std::runtime_error("Library not loaded!");
6385  }
6386 }
6387 
6388 inline PEAK_API_STATUS DynamicLoader::peak_GFA_Enumeration_SetByIntegerValue(peak_camera_handle hCam, peak_gfa_module module, const char * enumerationFeatureName, int64_t enumerationEntryIntegerValue)
6389 {
6390  auto& inst = instance();
6391  if(inst.m_peak_GFA_Enumeration_SetByIntegerValue)
6392  {
6393  return inst.m_peak_GFA_Enumeration_SetByIntegerValue(hCam, module, enumerationFeatureName, enumerationEntryIntegerValue);
6394  }
6395  else
6396  {
6397  throw std::runtime_error("Library not loaded!");
6398  }
6399 }
6400 
6401 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)
6402 {
6403  auto& inst = instance();
6404  if(inst.m_peak_GFA_Enumeration_Get)
6405  {
6406  return inst.m_peak_GFA_Enumeration_Get(hCam, module, enumerationFeatureName, enumerationEntry);
6407  }
6408  else
6409  {
6410  throw std::runtime_error("Library not loaded!");
6411  }
6412 }
6413 
6414 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)
6415 {
6416  auto& inst = instance();
6417  if(inst.m_peak_GFA_Register_Set)
6418  {
6419  return inst.m_peak_GFA_Register_Set(hCam, module, registerFeatureName, registerValue, registerValueSize);
6420  }
6421  else
6422  {
6423  throw std::runtime_error("Library not loaded!");
6424  }
6425 }
6426 
6427 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)
6428 {
6429  auto& inst = instance();
6430  if(inst.m_peak_GFA_Register_Get)
6431  {
6432  return inst.m_peak_GFA_Register_Get(hCam, module, registerFeatureName, registerValue, registerValueSize);
6433  }
6434  else
6435  {
6436  throw std::runtime_error("Library not loaded!");
6437  }
6438 }
6439 
6440 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)
6441 {
6442  auto& inst = instance();
6443  if(inst.m_peak_GFA_Data_Write)
6444  {
6445  return inst.m_peak_GFA_Data_Write(hCam, module, address, data, dataSize);
6446  }
6447  else
6448  {
6449  throw std::runtime_error("Library not loaded!");
6450  }
6451 }
6452 
6453 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)
6454 {
6455  auto& inst = instance();
6456  if(inst.m_peak_GFA_Data_Read)
6457  {
6458  return inst.m_peak_GFA_Data_Read(hCam, module, address, data, dataSize);
6459  }
6460  else
6461  {
6462  throw std::runtime_error("Library not loaded!");
6463  }
6464 }
6465 
6466 inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_GetList(peak_camera_handle hCam, peak_pixel_format inputPixelFormat, peak_pixel_format * outputPixelFormatList, size_t * outputPixelFormatCount)
6467 {
6468  auto& inst = instance();
6469  if(inst.m_peak_IPL_PixelFormat_GetList)
6470  {
6471  return inst.m_peak_IPL_PixelFormat_GetList(hCam, inputPixelFormat, outputPixelFormatList, outputPixelFormatCount);
6472  }
6473  else
6474  {
6475  throw std::runtime_error("Library not loaded!");
6476  }
6477 }
6478 
6479 inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
6480 {
6481  auto& inst = instance();
6482  if(inst.m_peak_IPL_PixelFormat_Set)
6483  {
6484  return inst.m_peak_IPL_PixelFormat_Set(hCam, pixelFormat);
6485  }
6486  else
6487  {
6488  throw std::runtime_error("Library not loaded!");
6489  }
6490 }
6491 
6492 inline PEAK_API_STATUS DynamicLoader::peak_IPL_PixelFormat_Get(peak_camera_handle hCam, peak_pixel_format * pixelFormat)
6493 {
6494  auto& inst = instance();
6495  if(inst.m_peak_IPL_PixelFormat_Get)
6496  {
6497  return inst.m_peak_IPL_PixelFormat_Get(hCam, pixelFormat);
6498  }
6499  else
6500  {
6501  throw std::runtime_error("Library not loaded!");
6502  }
6503 }
6504 
6505 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_GetRange(peak_camera_handle hCam, peak_gain_channel gainChannel, double * minGain, double * maxGain, double * incGain)
6506 {
6507  auto& inst = instance();
6508  if(inst.m_peak_IPL_Gain_GetRange)
6509  {
6510  return inst.m_peak_IPL_Gain_GetRange(hCam, gainChannel, minGain, maxGain, incGain);
6511  }
6512  else
6513  {
6514  throw std::runtime_error("Library not loaded!");
6515  }
6516 }
6517 
6518 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_Set(peak_camera_handle hCam, peak_gain_channel gainChannel, double gain)
6519 {
6520  auto& inst = instance();
6521  if(inst.m_peak_IPL_Gain_Set)
6522  {
6523  return inst.m_peak_IPL_Gain_Set(hCam, gainChannel, gain);
6524  }
6525  else
6526  {
6527  throw std::runtime_error("Library not loaded!");
6528  }
6529 }
6530 
6531 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gain_Get(peak_camera_handle hCam, peak_gain_channel gainChannel, double * gain)
6532 {
6533  auto& inst = instance();
6534  if(inst.m_peak_IPL_Gain_Get)
6535  {
6536  return inst.m_peak_IPL_Gain_Get(hCam, gainChannel, gain);
6537  }
6538  else
6539  {
6540  throw std::runtime_error("Library not loaded!");
6541  }
6542 }
6543 
6544 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_GetRange(peak_camera_handle hCam, double * minGamma, double * maxGamma, double * incGamma)
6545 {
6546  auto& inst = instance();
6547  if(inst.m_peak_IPL_Gamma_GetRange)
6548  {
6549  return inst.m_peak_IPL_Gamma_GetRange(hCam, minGamma, maxGamma, incGamma);
6550  }
6551  else
6552  {
6553  throw std::runtime_error("Library not loaded!");
6554  }
6555 }
6556 
6557 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_Set(peak_camera_handle hCam, double gamma)
6558 {
6559  auto& inst = instance();
6560  if(inst.m_peak_IPL_Gamma_Set)
6561  {
6562  return inst.m_peak_IPL_Gamma_Set(hCam, gamma);
6563  }
6564  else
6565  {
6566  throw std::runtime_error("Library not loaded!");
6567  }
6568 }
6569 
6570 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Gamma_Get(peak_camera_handle hCam, double * gamma)
6571 {
6572  auto& inst = instance();
6573  if(inst.m_peak_IPL_Gamma_Get)
6574  {
6575  return inst.m_peak_IPL_Gamma_Get(hCam, gamma);
6576  }
6577  else
6578  {
6579  throw std::runtime_error("Library not loaded!");
6580  }
6581 }
6582 
6583 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Matrix_Set(peak_camera_handle hCam, peak_matrix colorCorrectionMatrix)
6584 {
6585  auto& inst = instance();
6586  if(inst.m_peak_IPL_ColorCorrection_Matrix_Set)
6587  {
6588  return inst.m_peak_IPL_ColorCorrection_Matrix_Set(hCam, colorCorrectionMatrix);
6589  }
6590  else
6591  {
6592  throw std::runtime_error("Library not loaded!");
6593  }
6594 }
6595 
6596 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Matrix_Get(peak_camera_handle hCam, peak_matrix * colorCorrectionMatrix)
6597 {
6598  auto& inst = instance();
6599  if(inst.m_peak_IPL_ColorCorrection_Matrix_Get)
6600  {
6601  return inst.m_peak_IPL_ColorCorrection_Matrix_Get(hCam, colorCorrectionMatrix);
6602  }
6603  else
6604  {
6605  throw std::runtime_error("Library not loaded!");
6606  }
6607 }
6608 
6609 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_Get(peak_camera_handle hCam, double * saturation)
6610 {
6611  auto& inst = instance();
6612  if(inst.m_peak_IPL_ColorCorrection_Saturation_Get)
6613  {
6614  return inst.m_peak_IPL_ColorCorrection_Saturation_Get(hCam, saturation);
6615  }
6616  else
6617  {
6618  throw std::runtime_error("Library not loaded!");
6619  }
6620 }
6621 
6622 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_Set(peak_camera_handle hCam, double saturation)
6623 {
6624  auto& inst = instance();
6625  if(inst.m_peak_IPL_ColorCorrection_Saturation_Set)
6626  {
6627  return inst.m_peak_IPL_ColorCorrection_Saturation_Set(hCam, saturation);
6628  }
6629  else
6630  {
6631  throw std::runtime_error("Library not loaded!");
6632  }
6633 }
6634 
6635 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ColorCorrection_Saturation_GetRange(peak_camera_handle hCam, double * minSaturation, double * maxSaturation, double * incSaturation)
6636 {
6637  auto& inst = instance();
6638  if(inst.m_peak_IPL_ColorCorrection_Saturation_GetRange)
6639  {
6640  return inst.m_peak_IPL_ColorCorrection_Saturation_GetRange(hCam, minSaturation, maxSaturation, incSaturation);
6641  }
6642  else
6643  {
6644  throw std::runtime_error("Library not loaded!");
6645  }
6646 }
6647 
6649 {
6650  auto& inst = instance();
6651  if(inst.m_peak_IPL_ColorCorrection_Enable)
6652  {
6653  return inst.m_peak_IPL_ColorCorrection_Enable(hCam, enabled);
6654  }
6655  else
6656  {
6657  throw std::runtime_error("Library not loaded!");
6658  }
6659 }
6660 
6662 {
6663  auto& inst = instance();
6664  if(inst.m_peak_IPL_ColorCorrection_IsEnabled)
6665  {
6666  return inst.m_peak_IPL_ColorCorrection_IsEnabled(hCam);
6667  }
6668  else
6669  {
6670  throw std::runtime_error("Library not loaded!");
6671  }
6672 }
6673 
6674 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTarget, uint32_t * maxAutoBrightnessTarget, uint32_t * incAutoBrightnessTarget)
6675 {
6676  auto& inst = instance();
6677  if(inst.m_peak_IPL_AutoBrightness_Target_GetRange)
6678  {
6679  return inst.m_peak_IPL_AutoBrightness_Target_GetRange(hCam, minAutoBrightnessTarget, maxAutoBrightnessTarget, incAutoBrightnessTarget);
6680  }
6681  else
6682  {
6683  throw std::runtime_error("Library not loaded!");
6684  }
6685 }
6686 
6687 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_Set(peak_camera_handle hCam, uint32_t autoBrightnessTarget)
6688 {
6689  auto& inst = instance();
6690  if(inst.m_peak_IPL_AutoBrightness_Target_Set)
6691  {
6692  return inst.m_peak_IPL_AutoBrightness_Target_Set(hCam, autoBrightnessTarget);
6693  }
6694  else
6695  {
6696  throw std::runtime_error("Library not loaded!");
6697  }
6698 }
6699 
6700 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_Target_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTarget)
6701 {
6702  auto& inst = instance();
6703  if(inst.m_peak_IPL_AutoBrightness_Target_Get)
6704  {
6705  return inst.m_peak_IPL_AutoBrightness_Target_Get(hCam, autoBrightnessTarget);
6706  }
6707  else
6708  {
6709  throw std::runtime_error("Library not loaded!");
6710  }
6711 }
6712 
6713 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_GetRange(peak_camera_handle hCam, uint32_t * minAutoBrightnessTargetTolerance, uint32_t * maxAutoBrightnessTargetTolerance, uint32_t * incAutoBrightnessTargetTolerance)
6714 {
6715  auto& inst = instance();
6716  if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_GetRange)
6717  {
6718  return inst.m_peak_IPL_AutoBrightness_TargetTolerance_GetRange(hCam, minAutoBrightnessTargetTolerance, maxAutoBrightnessTargetTolerance, incAutoBrightnessTargetTolerance);
6719  }
6720  else
6721  {
6722  throw std::runtime_error("Library not loaded!");
6723  }
6724 }
6725 
6726 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_Set(peak_camera_handle hCam, uint32_t autoBrightnessTargetTolerance)
6727 {
6728  auto& inst = instance();
6729  if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_Set)
6730  {
6731  return inst.m_peak_IPL_AutoBrightness_TargetTolerance_Set(hCam, autoBrightnessTargetTolerance);
6732  }
6733  else
6734  {
6735  throw std::runtime_error("Library not loaded!");
6736  }
6737 }
6738 
6739 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetTolerance_Get(peak_camera_handle hCam, uint32_t * autoBrightnessTargetTolerance)
6740 {
6741  auto& inst = instance();
6742  if(inst.m_peak_IPL_AutoBrightness_TargetTolerance_Get)
6743  {
6744  return inst.m_peak_IPL_AutoBrightness_TargetTolerance_Get(hCam, autoBrightnessTargetTolerance);
6745  }
6746  else
6747  {
6748  throw std::runtime_error("Library not loaded!");
6749  }
6750 }
6751 
6752 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_GetRange(peak_camera_handle hCam, double * minAutoBrightnessTargetPercentile, double * maxAutoBrightnessTargetPercentile, double * incAutoBrightnessTargetPercentile)
6753 {
6754  auto& inst = instance();
6755  if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_GetRange)
6756  {
6757  return inst.m_peak_IPL_AutoBrightness_TargetPercentile_GetRange(hCam, minAutoBrightnessTargetPercentile, maxAutoBrightnessTargetPercentile, incAutoBrightnessTargetPercentile);
6758  }
6759  else
6760  {
6761  throw std::runtime_error("Library not loaded!");
6762  }
6763 }
6764 
6765 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_Set(peak_camera_handle hCam, double autoBrightnessTargetPercentile)
6766 {
6767  auto& inst = instance();
6768  if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_Set)
6769  {
6770  return inst.m_peak_IPL_AutoBrightness_TargetPercentile_Set(hCam, autoBrightnessTargetPercentile);
6771  }
6772  else
6773  {
6774  throw std::runtime_error("Library not loaded!");
6775  }
6776 }
6777 
6778 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_TargetPercentile_Get(peak_camera_handle hCam, double * autoBrightnessTargetPercentile)
6779 {
6780  auto& inst = instance();
6781  if(inst.m_peak_IPL_AutoBrightness_TargetPercentile_Get)
6782  {
6783  return inst.m_peak_IPL_AutoBrightness_TargetPercentile_Get(hCam, autoBrightnessTargetPercentile);
6784  }
6785  else
6786  {
6787  throw std::runtime_error("Library not loaded!");
6788  }
6789 }
6790 
6792 {
6793  auto& inst = instance();
6794  if(inst.m_peak_IPL_AutoBrightness_ROI_Mode_Set)
6795  {
6796  return inst.m_peak_IPL_AutoBrightness_ROI_Mode_Set(hCam, autoBrightnessROIMode);
6797  }
6798  else
6799  {
6800  throw std::runtime_error("Library not loaded!");
6801  }
6802 }
6803 
6805 {
6806  auto& inst = instance();
6807  if(inst.m_peak_IPL_AutoBrightness_ROI_Mode_Get)
6808  {
6809  return inst.m_peak_IPL_AutoBrightness_ROI_Mode_Get(hCam, autoBrightnessROIMode);
6810  }
6811  else
6812  {
6813  throw std::runtime_error("Library not loaded!");
6814  }
6815 }
6816 
6817 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoBrightnessROIOffset, peak_position * maxAutoBrightnessROIOffset, peak_position * incAutoBrightnessROIOffset)
6818 {
6819  auto& inst = instance();
6820  if(inst.m_peak_IPL_AutoBrightness_ROI_Offset_GetRange)
6821  {
6822  return inst.m_peak_IPL_AutoBrightness_ROI_Offset_GetRange(hCam, minAutoBrightnessROIOffset, maxAutoBrightnessROIOffset, incAutoBrightnessROIOffset);
6823  }
6824  else
6825  {
6826  throw std::runtime_error("Library not loaded!");
6827  }
6828 }
6829 
6830 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoBrightnessROISize, peak_size * maxAutoBrightnessROISize, peak_size * incAutoBrightnessROISize)
6831 {
6832  auto& inst = instance();
6833  if(inst.m_peak_IPL_AutoBrightness_ROI_Size_GetRange)
6834  {
6835  return inst.m_peak_IPL_AutoBrightness_ROI_Size_GetRange(hCam, minAutoBrightnessROISize, maxAutoBrightnessROISize, incAutoBrightnessROISize);
6836  }
6837  else
6838  {
6839  throw std::runtime_error("Library not loaded!");
6840  }
6841 }
6842 
6843 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Set(peak_camera_handle hCam, peak_roi autoBrightnessROI)
6844 {
6845  auto& inst = instance();
6846  if(inst.m_peak_IPL_AutoBrightness_ROI_Set)
6847  {
6848  return inst.m_peak_IPL_AutoBrightness_ROI_Set(hCam, autoBrightnessROI);
6849  }
6850  else
6851  {
6852  throw std::runtime_error("Library not loaded!");
6853  }
6854 }
6855 
6856 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoBrightness_ROI_Get(peak_camera_handle hCam, peak_roi * autoBrightnessROI)
6857 {
6858  auto& inst = instance();
6859  if(inst.m_peak_IPL_AutoBrightness_ROI_Get)
6860  {
6861  return inst.m_peak_IPL_AutoBrightness_ROI_Get(hCam, autoBrightnessROI);
6862  }
6863  else
6864  {
6865  throw std::runtime_error("Library not loaded!");
6866  }
6867 }
6868 
6870 {
6871  auto& inst = instance();
6872  if(inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Set)
6873  {
6874  return inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Set(hCam, autoExposureMode);
6875  }
6876  else
6877  {
6878  throw std::runtime_error("Library not loaded!");
6879  }
6880 }
6881 
6883 {
6884  auto& inst = instance();
6885  if(inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Get)
6886  {
6887  return inst.m_peak_IPL_AutoBrightness_Exposure_Mode_Get(hCam, autoExposureMode);
6888  }
6889  else
6890  {
6891  throw std::runtime_error("Library not loaded!");
6892  }
6893 }
6894 
6896 {
6897  auto& inst = instance();
6898  if(inst.m_peak_IPL_AutoBrightness_Gain_Mode_Set)
6899  {
6900  return inst.m_peak_IPL_AutoBrightness_Gain_Mode_Set(hCam, autoGainMode);
6901  }
6902  else
6903  {
6904  throw std::runtime_error("Library not loaded!");
6905  }
6906 }
6907 
6909 {
6910  auto& inst = instance();
6911  if(inst.m_peak_IPL_AutoBrightness_Gain_Mode_Get)
6912  {
6913  return inst.m_peak_IPL_AutoBrightness_Gain_Mode_Get(hCam, autoGainMode);
6914  }
6915  else
6916  {
6917  throw std::runtime_error("Library not loaded!");
6918  }
6919 }
6920 
6922 {
6923  auto& inst = instance();
6924  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set)
6925  {
6926  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Set(hCam, autoWhiteBalanceROIMode);
6927  }
6928  else
6929  {
6930  throw std::runtime_error("Library not loaded!");
6931  }
6932 }
6933 
6934 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Mode_Get(peak_camera_handle hCam, peak_auto_feature_roi_mode * autoWhiteBalanceROIMode)
6935 {
6936  auto& inst = instance();
6937  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get)
6938  {
6939  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Mode_Get(hCam, autoWhiteBalanceROIMode);
6940  }
6941  else
6942  {
6943  throw std::runtime_error("Library not loaded!");
6944  }
6945 }
6946 
6947 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(peak_camera_handle hCam, peak_position * minAutoWhiteBalanceROIOffset, peak_position * maxAutoWhiteBalanceROIOffset, peak_position * incAutoWhiteBalanceROIOffset)
6948 {
6949  auto& inst = instance();
6950  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange)
6951  {
6952  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Offset_GetRange(hCam, minAutoWhiteBalanceROIOffset, maxAutoWhiteBalanceROIOffset, incAutoWhiteBalanceROIOffset);
6953  }
6954  else
6955  {
6956  throw std::runtime_error("Library not loaded!");
6957  }
6958 }
6959 
6960 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(peak_camera_handle hCam, peak_size * minAutoWhiteBalanceROISize, peak_size * maxAutoWhiteBalanceROISize, peak_size * incAutoWhiteBalanceROISize)
6961 {
6962  auto& inst = instance();
6963  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange)
6964  {
6965  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Size_GetRange(hCam, minAutoWhiteBalanceROISize, maxAutoWhiteBalanceROISize, incAutoWhiteBalanceROISize);
6966  }
6967  else
6968  {
6969  throw std::runtime_error("Library not loaded!");
6970  }
6971 }
6972 
6973 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Set(peak_camera_handle hCam, peak_roi autoWhiteBalanceROI)
6974 {
6975  auto& inst = instance();
6976  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Set)
6977  {
6978  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Set(hCam, autoWhiteBalanceROI);
6979  }
6980  else
6981  {
6982  throw std::runtime_error("Library not loaded!");
6983  }
6984 }
6985 
6986 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_ROI_Get(peak_camera_handle hCam, peak_roi * autoWhiteBalanceROI)
6987 {
6988  auto& inst = instance();
6989  if(inst.m_peak_IPL_AutoWhiteBalance_ROI_Get)
6990  {
6991  return inst.m_peak_IPL_AutoWhiteBalance_ROI_Get(hCam, autoWhiteBalanceROI);
6992  }
6993  else
6994  {
6995  throw std::runtime_error("Library not loaded!");
6996  }
6997 }
6998 
6999 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoWhiteBalanceMode)
7000 {
7001  auto& inst = instance();
7002  if(inst.m_peak_IPL_AutoWhiteBalance_Mode_Set)
7003  {
7004  return inst.m_peak_IPL_AutoWhiteBalance_Mode_Set(hCam, autoWhiteBalanceMode);
7005  }
7006  else
7007  {
7008  throw std::runtime_error("Library not loaded!");
7009  }
7010 }
7011 
7012 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoWhiteBalance_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoWhiteBalanceMode)
7013 {
7014  auto& inst = instance();
7015  if(inst.m_peak_IPL_AutoWhiteBalance_Mode_Get)
7016  {
7017  return inst.m_peak_IPL_AutoWhiteBalance_Mode_Get(hCam, autoWhiteBalanceMode);
7018  }
7019  else
7020  {
7021  throw std::runtime_error("Library not loaded!");
7022  }
7023 }
7024 
7026 {
7027  auto& inst = instance();
7028  if(inst.m_peak_IPL_AutoFocus_GetAccessStatus)
7029  {
7030  return inst.m_peak_IPL_AutoFocus_GetAccessStatus(hCam);
7031  }
7032  else
7033  {
7034  throw std::runtime_error("Library not loaded!");
7035  }
7036 }
7037 
7038 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_ROI_Set(peak_camera_handle hCam, const peak_focus_roi * autoFocusROIList, size_t autoFocusROICount)
7039 {
7040  auto& inst = instance();
7041  if(inst.m_peak_IPL_AutoFocus_ROI_Set)
7042  {
7043  return inst.m_peak_IPL_AutoFocus_ROI_Set(hCam, autoFocusROIList, autoFocusROICount);
7044  }
7045  else
7046  {
7047  throw std::runtime_error("Library not loaded!");
7048  }
7049 }
7050 
7051 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_ROI_Get(peak_camera_handle hCam, peak_focus_roi * autoFocusROIList, size_t * autoFocusROICount)
7052 {
7053  auto& inst = instance();
7054  if(inst.m_peak_IPL_AutoFocus_ROI_Get)
7055  {
7056  return inst.m_peak_IPL_AutoFocus_ROI_Get(hCam, autoFocusROIList, autoFocusROICount);
7057  }
7058  else
7059  {
7060  throw std::runtime_error("Library not loaded!");
7061  }
7062 }
7063 
7065 {
7066  auto& inst = instance();
7067  if(inst.m_peak_IPL_AutoFocus_Mode_Set)
7068  {
7069  return inst.m_peak_IPL_AutoFocus_Mode_Set(hCam, autoFocusMode);
7070  }
7071  else
7072  {
7073  throw std::runtime_error("Library not loaded!");
7074  }
7075 }
7076 
7077 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode * autoFocusMode)
7078 {
7079  auto& inst = instance();
7080  if(inst.m_peak_IPL_AutoFocus_Mode_Get)
7081  {
7082  return inst.m_peak_IPL_AutoFocus_Mode_Get(hCam, autoFocusMode);
7083  }
7084  else
7085  {
7086  throw std::runtime_error("Library not loaded!");
7087  }
7088 }
7089 
7091 {
7092  auto& inst = instance();
7093  if(inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Set)
7094  {
7095  return inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Set(hCam, searchAlgorithm);
7096  }
7097  else
7098  {
7099  throw std::runtime_error("Library not loaded!");
7100  }
7101 }
7102 
7104 {
7105  auto& inst = instance();
7106  if(inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Get)
7107  {
7108  return inst.m_peak_IPL_AutoFocus_SearchAlgorithm_Get(hCam, searchAlgorithm);
7109  }
7110  else
7111  {
7112  throw std::runtime_error("Library not loaded!");
7113  }
7114 }
7115 
7117 {
7118  auto& inst = instance();
7119  if(inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set)
7120  {
7121  return inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Set(hCam, sharpnessAlgorithm);
7122  }
7123  else
7124  {
7125  throw std::runtime_error("Library not loaded!");
7126  }
7127 }
7128 
7130 {
7131  auto& inst = instance();
7132  if(inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get)
7133  {
7134  return inst.m_peak_IPL_AutoFocus_SharpnessAlgorithm_Get(hCam, sharpnessAlgorithm);
7135  }
7136  else
7137  {
7138  throw std::runtime_error("Library not loaded!");
7139  }
7140 }
7141 
7142 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Range_Set(peak_camera_handle hCam, uint32_t rangeBegin, uint32_t rangeEnd)
7143 {
7144  auto& inst = instance();
7145  if(inst.m_peak_IPL_AutoFocus_Range_Set)
7146  {
7147  return inst.m_peak_IPL_AutoFocus_Range_Set(hCam, rangeBegin, rangeEnd);
7148  }
7149  else
7150  {
7151  throw std::runtime_error("Library not loaded!");
7152  }
7153 }
7154 
7155 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Range_Get(peak_camera_handle hCam, uint32_t * rangeBegin, uint32_t * rangeEnd)
7156 {
7157  auto& inst = instance();
7158  if(inst.m_peak_IPL_AutoFocus_Range_Get)
7159  {
7160  return inst.m_peak_IPL_AutoFocus_Range_Get(hCam, rangeBegin, rangeEnd);
7161  }
7162  else
7163  {
7164  throw std::runtime_error("Library not loaded!");
7165  }
7166 }
7167 
7168 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_Set(peak_camera_handle hCam, uint8_t hysteresis)
7169 {
7170  auto& inst = instance();
7171  if(inst.m_peak_IPL_AutoFocus_Hysteresis_Set)
7172  {
7173  return inst.m_peak_IPL_AutoFocus_Hysteresis_Set(hCam, hysteresis);
7174  }
7175  else
7176  {
7177  throw std::runtime_error("Library not loaded!");
7178  }
7179 }
7180 
7181 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_Get(peak_camera_handle hCam, uint8_t * hysteresis)
7182 {
7183  auto& inst = instance();
7184  if(inst.m_peak_IPL_AutoFocus_Hysteresis_Get)
7185  {
7186  return inst.m_peak_IPL_AutoFocus_Hysteresis_Get(hCam, hysteresis);
7187  }
7188  else
7189  {
7190  throw std::runtime_error("Library not loaded!");
7191  }
7192 }
7193 
7194 inline PEAK_API_STATUS DynamicLoader::peak_IPL_AutoFocus_Hysteresis_GetRange(peak_camera_handle hCam, uint8_t * minHysteresis, uint8_t * maxHysteresis, uint8_t * incHysteresis)
7195 {
7196  auto& inst = instance();
7197  if(inst.m_peak_IPL_AutoFocus_Hysteresis_GetRange)
7198  {
7199  return inst.m_peak_IPL_AutoFocus_Hysteresis_GetRange(hCam, minHysteresis, maxHysteresis, incHysteresis);
7200  }
7201  else
7202  {
7203  throw std::runtime_error("Library not loaded!");
7204  }
7205 }
7206 
7208 {
7209  auto& inst = instance();
7210  if(inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Set)
7211  {
7212  return inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Set(hCam, hotpixelCorrectionSensitivity);
7213  }
7214  else
7215  {
7216  throw std::runtime_error("Library not loaded!");
7217  }
7218 }
7219 
7221 {
7222  auto& inst = instance();
7223  if(inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Get)
7224  {
7225  return inst.m_peak_IPL_HotpixelCorrection_Sensitivity_Get(hCam, hotpixelCorrectionSensitivity);
7226  }
7227  else
7228  {
7229  throw std::runtime_error("Library not loaded!");
7230  }
7231 }
7232 
7233 inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_GetList(peak_camera_handle hCam, peak_position * hotpixelList, size_t * hotpixelCount)
7234 {
7235  auto& inst = instance();
7236  if(inst.m_peak_IPL_HotpixelCorrection_GetList)
7237  {
7238  return inst.m_peak_IPL_HotpixelCorrection_GetList(hCam, hotpixelList, hotpixelCount);
7239  }
7240  else
7241  {
7242  throw std::runtime_error("Library not loaded!");
7243  }
7244 }
7245 
7246 inline PEAK_API_STATUS DynamicLoader::peak_IPL_HotpixelCorrection_SetList(peak_camera_handle hCam, const peak_position * hotpixelList, size_t hotpixelCount)
7247 {
7248  auto& inst = instance();
7249  if(inst.m_peak_IPL_HotpixelCorrection_SetList)
7250  {
7251  return inst.m_peak_IPL_HotpixelCorrection_SetList(hCam, hotpixelList, hotpixelCount);
7252  }
7253  else
7254  {
7255  throw std::runtime_error("Library not loaded!");
7256  }
7257 }
7258 
7260 {
7261  auto& inst = instance();
7262  if(inst.m_peak_IPL_HotpixelCorrection_ResetList)
7263  {
7264  return inst.m_peak_IPL_HotpixelCorrection_ResetList(hCam);
7265  }
7266  else
7267  {
7268  throw std::runtime_error("Library not loaded!");
7269  }
7270 }
7271 
7273 {
7274  auto& inst = instance();
7275  if(inst.m_peak_IPL_HotpixelCorrection_Enable)
7276  {
7277  return inst.m_peak_IPL_HotpixelCorrection_Enable(hCam, enabled);
7278  }
7279  else
7280  {
7281  throw std::runtime_error("Library not loaded!");
7282  }
7283 }
7284 
7286 {
7287  auto& inst = instance();
7288  if(inst.m_peak_IPL_HotpixelCorrection_IsEnabled)
7289  {
7290  return inst.m_peak_IPL_HotpixelCorrection_IsEnabled(hCam);
7291  }
7292  else
7293  {
7294  throw std::runtime_error("Library not loaded!");
7295  }
7296 }
7297 
7299 {
7300  auto& inst = instance();
7301  if(inst.m_peak_IPL_Mirror_UpDown_Enable)
7302  {
7303  return inst.m_peak_IPL_Mirror_UpDown_Enable(hCam, enabled);
7304  }
7305  else
7306  {
7307  throw std::runtime_error("Library not loaded!");
7308  }
7309 }
7310 
7312 {
7313  auto& inst = instance();
7314  if(inst.m_peak_IPL_Mirror_UpDown_IsEnabled)
7315  {
7316  return inst.m_peak_IPL_Mirror_UpDown_IsEnabled(hCam);
7317  }
7318  else
7319  {
7320  throw std::runtime_error("Library not loaded!");
7321  }
7322 }
7323 
7325 {
7326  auto& inst = instance();
7327  if(inst.m_peak_IPL_Mirror_LeftRight_Enable)
7328  {
7329  return inst.m_peak_IPL_Mirror_LeftRight_Enable(hCam, enabled);
7330  }
7331  else
7332  {
7333  throw std::runtime_error("Library not loaded!");
7334  }
7335 }
7336 
7338 {
7339  auto& inst = instance();
7340  if(inst.m_peak_IPL_Mirror_LeftRight_IsEnabled)
7341  {
7342  return inst.m_peak_IPL_Mirror_LeftRight_IsEnabled(hCam);
7343  }
7344  else
7345  {
7346  throw std::runtime_error("Library not loaded!");
7347  }
7348 }
7349 
7350 inline PEAK_API_STATUS DynamicLoader::peak_IPL_ProcessFrame(peak_camera_handle hCam, peak_frame_handle hFrame, peak_frame_handle * hResultFrame)
7351 {
7352  auto& inst = instance();
7353  if(inst.m_peak_IPL_ProcessFrame)
7354  {
7355  return inst.m_peak_IPL_ProcessFrame(hCam, hFrame, hResultFrame);
7356  }
7357  else
7358  {
7359  throw std::runtime_error("Library not loaded!");
7360  }
7361 }
7362 
7364 {
7365  auto& inst = instance();
7366  if(inst.m_peak_IPL_ProcessFrameInplace)
7367  {
7368  return inst.m_peak_IPL_ProcessFrameInplace(hCam, hFrame);
7369  }
7370  else
7371  {
7372  throw std::runtime_error("Library not loaded!");
7373  }
7374 }
7375 
7377 {
7378  auto& inst = instance();
7379  if(inst.m_peak_IPL_EdgeEnhancement_Enable)
7380  {
7381  return inst.m_peak_IPL_EdgeEnhancement_Enable(hCam, enable);
7382  }
7383  else
7384  {
7385  throw std::runtime_error("Library not loaded!");
7386  }
7387 }
7388 
7390 {
7391  auto& inst = instance();
7392  if(inst.m_peak_IPL_EdgeEnhancement_IsEnabled)
7393  {
7394  return inst.m_peak_IPL_EdgeEnhancement_IsEnabled(hCam);
7395  }
7396  else
7397  {
7398  throw std::runtime_error("Library not loaded!");
7399  }
7400 }
7401 
7402 inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_Set(peak_camera_handle hCam, uint32_t factor)
7403 {
7404  auto& inst = instance();
7405  if(inst.m_peak_IPL_EdgeEnhancement_Factor_Set)
7406  {
7407  return inst.m_peak_IPL_EdgeEnhancement_Factor_Set(hCam, factor);
7408  }
7409  else
7410  {
7411  throw std::runtime_error("Library not loaded!");
7412  }
7413 }
7414 
7415 inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_Get(peak_camera_handle hCam, uint32_t * factor)
7416 {
7417  auto& inst = instance();
7418  if(inst.m_peak_IPL_EdgeEnhancement_Factor_Get)
7419  {
7420  return inst.m_peak_IPL_EdgeEnhancement_Factor_Get(hCam, factor);
7421  }
7422  else
7423  {
7424  throw std::runtime_error("Library not loaded!");
7425  }
7426 }
7427 
7428 inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_GetDefault(peak_camera_handle hCam, uint32_t * defaultFactor)
7429 {
7430  auto& inst = instance();
7431  if(inst.m_peak_IPL_EdgeEnhancement_Factor_GetDefault)
7432  {
7433  return inst.m_peak_IPL_EdgeEnhancement_Factor_GetDefault(hCam, defaultFactor);
7434  }
7435  else
7436  {
7437  throw std::runtime_error("Library not loaded!");
7438  }
7439 }
7440 
7441 inline PEAK_API_STATUS DynamicLoader::peak_IPL_EdgeEnhancement_Factor_GetRange(peak_camera_handle hCam, uint32_t * minFactor, uint32_t * maxFactor, uint32_t * incFactor)
7442 {
7443  auto& inst = instance();
7444  if(inst.m_peak_IPL_EdgeEnhancement_Factor_GetRange)
7445  {
7446  return inst.m_peak_IPL_EdgeEnhancement_Factor_GetRange(hCam, minFactor, maxFactor, incFactor);
7447  }
7448  else
7449  {
7450  throw std::runtime_error("Library not loaded!");
7451  }
7452 }
7453 
7454 inline PEAK_API_STATUS DynamicLoader::peak_IPL_Sharpness_Measure(peak_frame_handle hFrame, peak_roi roi, peak_sharpness_algorithm sharpnessAlgorithm, double * calculatedValue)
7455 {
7456  auto& inst = instance();
7457  if(inst.m_peak_IPL_Sharpness_Measure)
7458  {
7459  return inst.m_peak_IPL_Sharpness_Measure(hFrame, roi, sharpnessAlgorithm, calculatedValue);
7460  }
7461  else
7462  {
7463  throw std::runtime_error("Library not loaded!");
7464  }
7465 }
7466 
7467 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Open(peak_video_handle * hVideo, const char * fileName, peak_video_container container, peak_video_encoder encoder)
7468 {
7469  auto& inst = instance();
7470  if(inst.m_peak_VideoWriter_Open)
7471  {
7472  return inst.m_peak_VideoWriter_Open(hVideo, fileName, container, encoder);
7473  }
7474  else
7475  {
7476  throw std::runtime_error("Library not loaded!");
7477  }
7478 }
7479 
7480 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Close(peak_video_handle hVideo)
7481 {
7482  auto& inst = instance();
7483  if(inst.m_peak_VideoWriter_Close)
7484  {
7485  return inst.m_peak_VideoWriter_Close(hVideo);
7486  }
7487  else
7488  {
7489  throw std::runtime_error("Library not loaded!");
7490  }
7491 }
7492 
7494 {
7495  auto& inst = instance();
7496  if(inst.m_peak_VideoWriter_AddFrame)
7497  {
7498  return inst.m_peak_VideoWriter_AddFrame(hVideo, hFrame);
7499  }
7500  else
7501  {
7502  throw std::runtime_error("Library not loaded!");
7503  }
7504 }
7505 
7506 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Container_GetEncoderList(peak_video_container container, peak_video_encoder * encoderList, size_t * encoderCount)
7507 {
7508  auto& inst = instance();
7509  if(inst.m_peak_VideoWriter_Container_GetEncoderList)
7510  {
7511  return inst.m_peak_VideoWriter_Container_GetEncoderList(container, encoderList, encoderCount);
7512  }
7513  else
7514  {
7515  throw std::runtime_error("Library not loaded!");
7516  }
7517 }
7518 
7519 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_GetPixelFormatList(peak_video_encoder encoder, peak_pixel_format * pixelFormatList, size_t * pixelFormatCount)
7520 {
7521  auto& inst = instance();
7522  if(inst.m_peak_VideoWriter_Encoder_GetPixelFormatList)
7523  {
7524  return inst.m_peak_VideoWriter_Encoder_GetPixelFormatList(encoder, pixelFormatList, pixelFormatCount);
7525  }
7526  else
7527  {
7528  throw std::runtime_error("Library not loaded!");
7529  }
7530 }
7531 
7532 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_Encoder_GetContainerList(peak_video_encoder encoder, peak_video_container * containerList, size_t * containerCount)
7533 {
7534  auto& inst = instance();
7535  if(inst.m_peak_VideoWriter_Encoder_GetContainerList)
7536  {
7537  return inst.m_peak_VideoWriter_Encoder_GetContainerList(encoder, containerList, containerCount);
7538  }
7539  else
7540  {
7541  throw std::runtime_error("Library not loaded!");
7542  }
7543 }
7544 
7545 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_GetInfo(peak_video_handle hVideo, peak_video_info * videoInfo)
7546 {
7547  auto& inst = instance();
7548  if(inst.m_peak_VideoWriter_GetInfo)
7549  {
7550  return inst.m_peak_VideoWriter_GetInfo(hVideo, videoInfo);
7551  }
7552  else
7553  {
7554  throw std::runtime_error("Library not loaded!");
7555  }
7556 }
7557 
7558 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)
7559 {
7560  auto& inst = instance();
7561  if(inst.m_peak_VideoWriter_Container_Option_Set)
7562  {
7563  return inst.m_peak_VideoWriter_Container_Option_Set(hVideo, containerOption, value, count);
7564  }
7565  else
7566  {
7567  throw std::runtime_error("Library not loaded!");
7568  }
7569 }
7570 
7571 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)
7572 {
7573  auto& inst = instance();
7574  if(inst.m_peak_VideoWriter_Container_Option_Get)
7575  {
7576  return inst.m_peak_VideoWriter_Container_Option_Get(hVideo, containerOption, value, count, outCount);
7577  }
7578  else
7579  {
7580  throw std::runtime_error("Library not loaded!");
7581  }
7582 }
7583 
7584 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)
7585 {
7586  auto& inst = instance();
7587  if(inst.m_peak_VideoWriter_Encoder_Option_Set)
7588  {
7589  return inst.m_peak_VideoWriter_Encoder_Option_Set(hVideo, encoderOption, value, count);
7590  }
7591  else
7592  {
7593  throw std::runtime_error("Library not loaded!");
7594  }
7595 }
7596 
7597 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)
7598 {
7599  auto& inst = instance();
7600  if(inst.m_peak_VideoWriter_Encoder_Option_Get)
7601  {
7602  return inst.m_peak_VideoWriter_Encoder_Option_Get(hVideo, encoderOption, value, count, outCount);
7603  }
7604  else
7605  {
7606  throw std::runtime_error("Library not loaded!");
7607  }
7608 }
7609 
7610 inline PEAK_API_STATUS DynamicLoader::peak_VideoWriter_WaitUntilQueueEmpty(peak_video_handle hVideo, int32_t timeout_ms)
7611 {
7612  auto& inst = instance();
7613  if(inst.m_peak_VideoWriter_WaitUntilQueueEmpty)
7614  {
7615  return inst.m_peak_VideoWriter_WaitUntilQueueEmpty(hVideo, timeout_ms);
7616  }
7617  else
7618  {
7619  throw std::runtime_error("Library not loaded!");
7620  }
7621 }
7622 
7623 inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_Open(const char * path, peak_inference_handle * hInference)
7624 {
7625  auto& inst = instance();
7626  if(inst.m_peak_Inference_CNN_Open)
7627  {
7628  return inst.m_peak_Inference_CNN_Open(path, hInference);
7629  }
7630  else
7631  {
7632  throw std::runtime_error("Library not loaded!");
7633  }
7634 }
7635 
7636 inline PEAK_API_STATUS DynamicLoader::peak_Inference_CNN_Close(peak_inference_handle hInference)
7637 {
7638  auto& inst = instance();
7639  if(inst.m_peak_Inference_CNN_Close)
7640  {
7641  return inst.m_peak_Inference_CNN_Close(hInference);
7642  }
7643  else
7644  {
7645  throw std::runtime_error("Library not loaded!");
7646  }
7647 }
7648 
7650 {
7651  auto& inst = instance();
7652  if(inst.m_peak_Inference_CNN_ProcessFrame)
7653  {
7654  return inst.m_peak_Inference_CNN_ProcessFrame(hInference, hFrame, hInferenceHandle);
7655  }
7656  else
7657  {
7658  throw std::runtime_error("Library not loaded!");
7659  }
7660 }
7661 
7663 {
7664  auto& inst = instance();
7665  if(inst.m_peak_Inference_CNN_Info_Get)
7666  {
7667  return inst.m_peak_Inference_CNN_Info_Get(hInference, info);
7668  }
7669  else
7670  {
7671  throw std::runtime_error("Library not loaded!");
7672  }
7673 }
7674 
7676 {
7677  auto& inst = instance();
7678  if(inst.m_peak_Inference_Result_Get)
7679  {
7680  return inst.m_peak_Inference_Result_Get(hInferenceHandle, result);
7681  }
7682  else
7683  {
7684  throw std::runtime_error("Library not loaded!");
7685  }
7686 }
7687 
7688 inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Release(peak_inference_result_handle hInferenceHandle)
7689 {
7690  auto& inst = instance();
7691  if(inst.m_peak_Inference_Result_Release)
7692  {
7693  return inst.m_peak_Inference_Result_Release(hInferenceHandle);
7694  }
7695  else
7696  {
7697  throw std::runtime_error("Library not loaded!");
7698  }
7699 }
7700 
7701 inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Classification_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_classification * resultList, size_t * resultCount)
7702 {
7703  auto& inst = instance();
7704  if(inst.m_peak_Inference_Result_Classification_GetList)
7705  {
7706  return inst.m_peak_Inference_Result_Classification_GetList(hInferenceHandle, resultList, resultCount);
7707  }
7708  else
7709  {
7710  throw std::runtime_error("Library not loaded!");
7711  }
7712 }
7713 
7714 inline PEAK_API_STATUS DynamicLoader::peak_Inference_Result_Detection_GetList(peak_inference_result_handle hInferenceHandle, peak_inference_result_detection * resultList, size_t * resultCount)
7715 {
7716  auto& inst = instance();
7717  if(inst.m_peak_Inference_Result_Detection_GetList)
7718  {
7719  return inst.m_peak_Inference_Result_Detection_GetList(hInferenceHandle, resultList, resultCount);
7720  }
7721  else
7722  {
7723  throw std::runtime_error("Library not loaded!");
7724  }
7725 }
7726 
7727 inline PEAK_API_STATUS DynamicLoader::peak_Inference_Statistics_Get(peak_inference_handle hInference, peak_inference_statistics * statistics)
7728 {
7729  auto& inst = instance();
7730  if(inst.m_peak_Inference_Statistics_Get)
7731  {
7732  return inst.m_peak_Inference_Statistics_Get(hInference, statistics);
7733  }
7734  else
7735  {
7736  throw std::runtime_error("Library not loaded!");
7737  }
7738 }
7739 
7741 {
7742  auto& inst = instance();
7743  if(inst.m_peak_Inference_Statistics_Reset)
7744  {
7745  return inst.m_peak_Inference_Statistics_Reset(hInference);
7746  }
7747  else
7748  {
7749  throw std::runtime_error("Library not loaded!");
7750  }
7751 }
7752 
7753 inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_Get(peak_inference_handle hInference, uint32_t * threshold)
7754 {
7755  auto& inst = instance();
7756  if(inst.m_peak_Inference_ConfidenceThreshold_Get)
7757  {
7758  return inst.m_peak_Inference_ConfidenceThreshold_Get(hInference, threshold);
7759  }
7760  else
7761  {
7762  throw std::runtime_error("Library not loaded!");
7763  }
7764 }
7765 
7766 inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_GetRange(peak_inference_handle hInference, uint32_t * minThreshold, uint32_t * maxThreshold, uint32_t * incThreshold)
7767 {
7768  auto& inst = instance();
7769  if(inst.m_peak_Inference_ConfidenceThreshold_GetRange)
7770  {
7771  return inst.m_peak_Inference_ConfidenceThreshold_GetRange(hInference, minThreshold, maxThreshold, incThreshold);
7772  }
7773  else
7774  {
7775  throw std::runtime_error("Library not loaded!");
7776  }
7777 }
7778 
7779 inline PEAK_API_STATUS DynamicLoader::peak_Inference_ConfidenceThreshold_Set(peak_inference_handle hInference, uint32_t threshold)
7780 {
7781  auto& inst = instance();
7782  if(inst.m_peak_Inference_ConfidenceThreshold_Set)
7783  {
7784  return inst.m_peak_Inference_ConfidenceThreshold_Set(hInference, threshold);
7785  }
7786  else
7787  {
7788  throw std::runtime_error("Library not loaded!");
7789  }
7790 }
7791 
7792 } /* namespace dynamic */
7793 } /* namespace peak_comfortC */
7794 
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_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_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_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_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:7083
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:10348
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_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_Library_Init()
Init the peak comfortC library.
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_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_status peak_CameraSettings_DiskFile_Apply(peak_camera_handle hCam, const char *file)
Apply the camera configuration from the specified disk file.
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:1595
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:2474
peak_status peak_AutoBrightness_Gain_Mode_Get(peak_camera_handle hCam, peak_auto_feature_mode *autoGainMode)
Get the auto gain control mode.
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:10576
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:9401
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_status peak_IPL_HotpixelCorrection_Sensitivity_Set(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity hotpixelCorrectionSensitivity)
Set the host hotpixel correction sensitivity level.
peak_status peak_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:1092
peak_auto_feature_mode
peak Auto feature mode
Definition: ids_peak_comfort_c.h:5766
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:2167
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_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_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:5802
The inference classification result.
Definition: ids_peak_comfort_c.h:10559
peak_parameter_set
peak Parameter set
Definition: ids_peak_comfort_c.h:2737
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_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:653
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_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_io_channel
peak IO channel
Definition: ids_peak_comfort_c.h:3386
peak_video_container
peak Container types
Definition: ids_peak_comfort_c.h:10140
peak_frame_type
peak Frame type
Definition: ids_peak_comfort_c.h:2450
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:588
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.
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:3797
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:561
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:5241
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_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_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:10619
peak_trigger_edge
peak Trigger edge
Definition: ids_peak_comfort_c.h:4037
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_status peak_IPL_AutoBrightness_Exposure_Mode_Set(peak_camera_handle hCam, peak_auto_feature_mode autoExposureMode)
Set the host auto exposure control mode.
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:9484
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:4521
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:1864
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:1854
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_Trigger_Divider_Get(peak_camera_handle hCam, uint32_t *triggerDivider)
Get the trigger divider.
peak GFA enumeration entry
Definition: ids_peak_comfort_c.h:7947
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_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_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:5504
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_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:2361
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 MAC-48 address
Definition: ids_peak_comfort_c.h:1282
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:10121
peak_status peak_PixelFormat_Set(peak_camera_handle hCam, peak_pixel_format pixelFormat)
Set the pixel format.
struct peak_camera * peak_camera_handle
peak Camera handle
Definition: ids_peak_comfort_c.h:1077
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_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_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_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:617
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_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_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:10370
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:9672
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_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:10539
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 Camera descriptor
Definition: ids_peak_comfort_c.h:1112
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:637
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:9268
video info structure
Definition: ids_peak_comfort_c.h:10312
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_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:10494
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_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_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:1528
peak_status peak_Camera_UserDefinedName_Set(peak_camera_handle hCam, const char *userDefinedName)
Set the user defined name.
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_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_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_access_status peak_AutoBrightness_Exposure_GetAccessStatus(peak_camera_handle hCam)
Query the auto exposure control access status.
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:680
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_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:736
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:10113
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_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_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.
struct peak_inference * peak_inference_handle
The handle to identify an inference instance.
Definition: ids_peak_comfort_c.h:10488
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_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_IPL_HotpixelCorrection_Sensitivity_Get(peak_camera_handle hCam, peak_hotpixel_correction_sensitivity *hotpixelCorrectionSensitivity)
Get the host hotpixel correction sensitivity level.
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_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_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:5216
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_gfa_module
peak GFA modules
Definition: ids_peak_comfort_c.h:7355
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_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_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.