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