![]() |
IDS peak comfortC
v1.6.1
|
Modules | |
| GFA Float | |
| GFA Integer | |
| GFA Boolean | |
| GFA String | |
| GFA Command | |
| GFA Enumeration | |
| GFA Register | |
| GFA Data | |
Enumerations | |
| enum | peak_gfa_module { PEAK_GFA_MODULE_INVALID, PEAK_GFA_MODULE_SYSTEM, PEAK_GFA_MODULE_INTERFACE, PEAK_GFA_MODULE_LOCAL_DEVICE, PEAK_GFA_MODULE_REMOTE_DEVICE, PEAK_GFA_MODULE_DATA_STREAM } |
| peak GFA modules More... | |
Functions | |
| peak_status | peak_GFA_EnableWriteAccess (peak_camera_handle hCam, peak_bool enabled) |
| Enable/Disable the GFA write access. More... | |
| peak_bool | peak_GFA_IsWriteAccessEnabled (peak_camera_handle hCam) |
| Get the enabled status of the GFA write access. More... | |
| 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. More... | |
Generic feature access related functions and types.
For a description of the generic feature access concept see Generic Feature Access (GFA).
| enum peak_gfa_module |
peak GFA modules
The generic feature access module specifies the GenICam module which is addressed in a generic feature access function call.
For a description of the generic feature access concept see Generic Feature Access (GFA).
| peak_status peak_GFA_EnableWriteAccess | ( | peak_camera_handle | hCam, |
| peak_bool | enabled | ||
| ) |
Enable/Disable the GFA write access.
Sets the GFA write access to enabled or disabled.
The GFA write access is a specific mode of operation of the library.
While the library is in GFA write access mode all calls to the convenience interface, i.e. to the non-GFA functions of the library, are rejected.
The GFA write access mode can be set to enabled only
| [in] | hCam | The camera handle. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
enabled == PEAK_TRUE enabled == PEAK_FALSE 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_Feature_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_gfa_module | module, | ||
| const char * | featureName | ||
| ) |
Query the access status of the feature with the given name.
Provides the current access status of the specified feature for the specified module.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | module | The addressed module. |
| [in] | featureName | The name of the feature as a zero-terminated string. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
hCam is an invalid camera handle. module is an invalid GFA module. Check peak_gfa_module. For a description of the generic feature access concept see Generic Feature Access (GFA).
| peak_bool peak_GFA_IsWriteAccessEnabled | ( | peak_camera_handle | hCam | ) |
Get the enabled status of the GFA write access.
Queries whether the GFA write access is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
For a description of the generic feature access concept see Generic Feature Access (GFA).