Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

persistent_store Class Reference

#include <persist.h>

Inheritance diagram for persistent_store:

persistent< type > persistent_object List of all members.

Public Methods

void revoke ()
 Revoke the persistent store.


Protected Methods

void save (const unsigned char *object)
 Save the object.

int create (persist_id_t id, void *object, size_t len)
 Create or retrieve a persistent store.

 persistent_store (persist_id_t id, void *object, size_t len)
 Declare a persistent object with external runtime storage.


Static Protected Methods

persistent_area_tfind_store (persist_id_t id)
 Find a persistent store given its id.

persistent_area_tallocate_store (persist_id_t id, size_t len)
 Allocate a persistent area for an store.


Detailed Description

Persistent store class.

The persistent_store class is the root of persistent objects. The persistent objects are saved in a transparent manner in eeprom. When the program starts, objects are initialized with the persistent store.

The persistent_store class is not intended to be used as is. Use persistent_object or persistent classes instead.

See also:
persistent_object, persistent

Definition at line 46 of file persist.h.


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