Skip to content

Commit

Permalink
doc: document arv_device_set_register_cache_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelP committed Oct 15, 2019
1 parent 647f41c commit ac4db93
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/arvdevice.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,20 @@ arv_device_get_available_enumeration_feature_values_as_display_names (ArvDevice

return NULL;
}

/**
* arv_device_set_register_cache_policy:
* @device: a #ArvDevice
* @policy: cache policy
*
* Sets the register cache policy.
*
* <warning><para>Be aware that some camera may have wrong Cachable properties defined in their Genicam metadata, which may
* lead to incorrect readouts. Using the debug cache policy, and activating genicam debug output (export ARV_DEBUG=genicam), can help you to
* check the cache validity. In this mode, every time the cache content is not in sync with the actual register value, a debug message is
* printed on the console.</para></warning>
*/

void
arv_device_set_register_cache_policy (ArvDevice *device, ArvRegisterCachePolicy policy)
{
Expand Down

0 comments on commit ac4db93

Please sign in to comment.