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