Click or drag to resize

CacheEntry Struct

Nimbus provides automatic state caching support for attributes via the Attribute State Caching Editor. In some cases, the driver developer may wish to have more direct control of how the caching is performed. The CacheEntry class is used internally to manage cached attribute values and is available for driver developers to that wish to perform caching operations explicitly.

Each attribute for which state caching is enabled is stored on the DriverSession class. One CacheEntry instance is stored per attribute value. For attributes associated with a repeated capability, one CacheEntry instance is stored for the attribute per repeated capability physical name. The GetCacheEntry function is used to retrieve cache entries by attribute ID and physical name (if applicable).

In This Section

Download a complete CHM version of this documentation here.