![]() |
IDS peak comfortC
v1.6.1
|
Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Generic integer feature access related functions and types.
| 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.
Reads the current value of the integer feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | integerFeatureName | The name of the integer feature as a zero-terminated string. |
| [out] | integerValue | The value of the integer feature. |
module is an invalid GFA module or integerFeatureName and/or integerValue are invalid pointers or integerFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| 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.
Queries the list of currently selectable values for the integer feature with the given name.
The list of selectable integer values may depend on the camera configuration and the camera status.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | integerFeatureName | The name of the integer feature as a zero-terminated string. |
| [out] | integerList | Pointer to a user allocated array buffer to receive the integer value list. If this parameter is NULL, integerCount will contain the current number of integer values. The required size of integerList in bytes is integerCount x sizeof(int64_t). |
| [in,out] | integerCount |
|
integerList is not NULL and the value of *integerCount is too small to receive the expected amount of data. module is an invalid GFA module. or integerFeatureName and/or integerCount are invalid pointers or integerFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. | 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.
Queries the current range of valid values for the integer feature with the given name.
The range of valid values for the integer feature with the given name may depend on the camera configuration and the camera status.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | integerFeatureName | The name of the integer feature as a zero-terminated string. |
| [out] | minIntegerValue | The minimum value for the integer feature. |
| [out] | maxIntegerValue | The maximum value for the integer feature. |
| [out] | incIntegerValue | The increment for the integer feature. |
module is an invalid GFA module or at least one of integerFeatureName, minIntegerValue, maxIntegerValue, and incIntegerValue is an invalid pointer or integerFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| 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.
Checks whether the valid values for the integer feature with the given name are organized as a range or as a list.
This function implements the Valid Values Organization Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | integerFeatureName | The name of the integer feature as a zero-terminated string. |
| 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.
Writes the desired value to the integer feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | integerFeatureName | The name of the integer feature as a zero-terminated string. |
| [in] | integerValue | The integer value to set. |
integerValue is out of range. Check the range of valid values via peak_GFA_Integer_GetRange or peak_GFA_Integer_GetList. module is an invalid GFA module or integerFeatureName is an invalid pointer or it is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).