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