Content-type: text/html Manpage of RTPersistentRegister

RTPersistentRegister

Section: Chronolytix (3)
Updated: 2005-07-07
Index Return to Main Contents
 

NAME

RTPersistentRegister - Chronolytix Persistent Object Container Class  

SYNOPSYS

#include <RTPersistentRegister.h>

RTPersistentRegister_Register(RTClockMicroSecs usec_response, const char *name, size_t size, RTRegister_Data *value);

 

DESCRIPTION

RTPersistentRegister is the Chronolytix container class for the persistent storage of arbitrary sized objects. This persistent storage is sometimes called NVM (non-volatile memory) by applications. Storage the persistent objects is in an expanding file called "nvm.rt" stored in the work directory of the Chronolytix invocation. At the initialization of the RTPersistentRegister class, the on-disk file is read in, validated and the run-time RTRegister objects are created. There is no means by which these objects can refer to other run-time objects, so there is no destructor provided for the underlying RTRegister object.

RTPersistentRegister_Register constructs a persistent register if an existing on named name does not exist. If the RTRegister named name exists, then this register is hereafter "persistent". (That is to say, the RTRegister and RTPersistentRegister name-spaces are identical. The usec_response determines the reactive response of the internals of the class, in particular, the updates to the backing store. Since this involves disk I/O some care should be given to what these updates may "block".

RTRegister is a Chronolytix Layer 1 function.  

MAGIC

RTRegister "NVM~"  

BUGS

 

SEE ALSO

RTRegister(Chronolytix),

RTRefCnt_Object(Chronolytix),


 

Index

NAME
SYNOPSYS
DESCRIPTION
MAGIC
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:30:25 GMT, August 26, 2005