![]() |
IDS peak comfortC
v1.6.0
|
Data Structures | |
| struct | peak_gfa_enumeration_entry |
| peak GFA enumeration entry More... | |
Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
Generic enumeration feature access related functions and types.
| 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.
Reads the current enumeration entry value of the enumeration feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [out] | enumerationEntry | The current enumeration entry value. |
module is an invalid GFA module or enumerationFeatureName and/or enumerationEntry are invalid pointers or enumerationFeatureName 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_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.
Queries the list of currently selectable enumeration entries.
The list of selectable enumeration entries 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] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [out] | enumerationEntryList | Pointer to a user allocated array buffer to receive the enumeration entry list. If this parameter is NULL, enumerationEntryCount will contain the current number of enumeration entries. The required size of enumerationEntryList in bytes is enumerationEntryCount x sizeof(peak_gfa_enumeration_entry). |
| [in,out] | enumerationEntryCount |
|
enumerationEntryList is not NULL and the value of *enumerationEntryCount is too small to receive the expected amount of data. module is an invalid GFA module or enumerationFeatureName and/or enumerationEntryCount are invalid pointers or enumerationFeatureName is not zero-terminated. Check peak_gfa_module. hCam is an invalid camera handle. | 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.
Writes the desired enumeration entry value to the enumeration feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntry | The enumeration entry value to set. |
enumerationEntry is out of range. Check the range of valid values via peak_GFA_Enumeration_GetList. module is an invalid GFA module or enumerationFeatureName and/or enumerationEntry are invalid pointers or enumerationFeatureName is not zero-terminated or enumerationEntry is an invalid enumeration entry. Check peak_gfa_module. Check for the symbolicValue of enumerationEntry to match the integerValue. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| 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.
Writes the desired enumeration entry value by its symbolic value to the enumeration feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntryIntegerValue | The integer value of the enumeration entry to set. |
enumerationEntryIntegerValue is out of range. Check the range of valid values via peak_GFA_Enumeration_GetList. module is an invalid GFA module or enumerationFeatureName 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).
| 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.
Writes the desired enumeration entry value by its symbolic value to the enumeration feature with the given name.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntrySymbolicValue | The symbolic value of the enumeration entry to set as a zero-terminated string. |
enumerationEntrySymbolicValue is out of range. Check the range of valid values via peak_GFA_Enumeration_GetList. module is an invalid GFA module or enumerationFeatureName and/or enumerationEntrySymbolicValue are invalid pointers or 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_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.
Provides the current access status of the specified enumeration entry.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntry | The enumeration entry. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
module is an invalid GFA module or enumerationFeatureName and/or enumerationEntry are invalid pointers or enumerationFeatureName is not zero-terminated or enumerationEntry is an invalid enumeration entry. Check peak_gfa_module. Check for the symbolicValue of enumerationEntry to match the integerValue. hCam is an invalid camera handle. For a description of the generic feature access concept see Generic Feature Access (GFA).
| 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.
Provides the current access status of the enumeration entry that is specified by it's integer value.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntryIntegerValue | The integer value of the enumeration entry. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
module is an invalid GFA module or enumerationFeatureName 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).
| 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.
Provides the current access status of the enumeration entry that is specified by its symbolic value.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | enumerationFeatureName | The name of the enumeration feature as a zero-terminated string. |
| [in] | enumerationEntrySymbolicValue | The symbolic value of the enumeration entry as a zero-terminated string. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
module is an invalid GFA module or enumerationFeatureName and/or enumerationEntrySymbolicValue are invalid pointers or 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).