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