Base class for Persistent. More...
Base class for Persistent.
DataType | Type of the persistent value. |
IsSerializableType | Specify if the items are invocable or not. |
Protected Member Functions | |
void | ReadFrom (IDataStore &dataStore, IMessageCollector *messages=NULL) |
Reads from. More... | |
![]() | |
void | WriteTo (IDataStore &dataStore) const |
Writes to. More... | |
![]() | |
BasePersistent () | |
Default constructor. More... | |
bool | Define (PCChar8 persistentName, bool diagnoseMissingFile) |
Define the persistent. More... | |
void | CyclicExecute () |
Cyclic execution of the service. More... | |
void | FinalExecute () |
Final execution of the service. More... | |
![]() | |
virtual void | InitialExecute () |
Initial execution of the service. More... | |
void | UnregisterServiceController () |
Method used by inherited class to unregister the service controller. More... | |
void | RegisterServiceController () |
Method used by inherited class to register the service controller once completely created. More... | |
Additional Inherited Members | |
![]() | |
DataType | ReadLocked () |
Reads the persistent value. More... | |
void | WriteLocked (const DataType &value) |
Writes the persistent value. More... | |
![]() | |
void | Lock () |
Locks this object. More... | |
void | Unlock () |
Unlocks this object. More... | |
void | NotifyChange () |
Notify that the persistent value has changed. More... | |
const String & | GetPersistentName () const |
Gets the peristent file name . More... | |
String | GetPersistentFilePath () const |
Gets the peristent file path . More... | |
bool | GetDefined () const |
Query if the persistent has been defined . More... | |
Int32 | GetPersistentIdentifier () const |
Gets the persistent auto identifier. More... | |
void | Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result) |
Invokes the object fields and methods. More... | |
bool | HasChanged () const |
Query if the persistent has been changed. More... | |
![]() | |
Service () | |
Constuctor. More... | |
virtual | ~Service () |
Destructor. More... | |
![]() | |
BaseService (BaseServiceController &serviceController) | |
Constuctor. More... | |
void | SetPeriod (TimeSpan period) |
Set the period of the service. More... | |
TimeSpan | GetPeriod () const |
Gets the service period. More... | |
![]() | |
DataType | _Value_Unlocked |
The persistent unlocked value. More... | |
|
inlineprotectedvirtual |
Reads from.
dataStore | [in,out] The dataStore. |
messages | [in,out] (optional) The messageCollector to collect warning or error messages. Default = NULL. |
Implements BasePersistent.