Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



IPvRegisterStore Class Referenceabstract

Class used with register persistence in the context of user-sets. More...

Public Member Functions

virtual PvResult Persist (IPvRegister *aRegister, const PvString &aNameSuffix)=0
 Persists a register to the register store using a name suffix. More...
 

Detailed Description

Class used with register persistence in the context of user-sets.

The register store is where user-set data is stored. On Windows it is the Registry, on Linux user-profile files in the home directory. On embedded applications it could also be any static storage like flash memory.

See also
IPvRegisterEventSink::Persist
IPvSoftDeviceGEV::SetUserSetCount

Member Function Documentation

PvResult IPvRegisterStore::Persist ( IPvRegister aRegister,
const PvString aNameSuffix 
)
pure virtual

Persists a register to the register store using a name suffix.

Use this method from the IPvRegisterEventSink::Persist callback when walking registers through all possible selector(s) values. This method saves data to the store when saving a user-set and loads data from the store when loading a user-set.

See also
IPvRegisterEventSink::Persist
IPvSoftDeviceGEV::SetUserSetCount
Parameters
[in]aRegisterRegister to save to or load from the store.
[in]aNameSuffixName suffix to use when saving to or loading from the store.
Returns
Includes:

The documentation for this class was generated from the following files:

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com