persistent_store Class Reference
#include <persist.h>
Inheritance diagram for persistent_store:
List of all members.
Public Methods
void revoke ()Protected Methods
void save (const unsigned char *object)Save the object.int create (persist_id_t id, void *object, size_t len)persistent_store (persist_id_t id, void *object, size_t len)Static Protected Methods
persistent_area_t start_area asm ("0xb000")persistent_area_t end_area asm ("0xb200")Protected Attributes
persistent_area_t * areaPrivate Methods
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:
Copyright (C) 1999, 2000, 2001, 2002, 2003 Stéphane Carrez, France
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.