118 virtual int initialise() = 0;
124 virtual int mounted(
const FWObjDesc& od) = 0;
129 virtual bool isMounted() = 0;
151 virtual int readHeader(
FWObjDesc& od) = 0;
171 virtual int readContent(
const FWObjDesc& od, uint32_t
offset, uint32_t size,
void* buffer) = 0;
ObjRef(uint32_t fileid)
Definition: ObjectStore.h:50
Definition: ObjectStore.h:108
uint32_t contentOffset() const
Definition: ObjectStore.h:97
uint8_t storenum
Object store number.
Definition: ObjectStore.h:36
uint8_t readCount
For profiling.
Definition: ObjectStore.h:37
Object structure.
Definition: Object.h:137
size_t contentOffset() const
return offset to start of object content
Definition: Object.h:339
FWObjDesc(const ObjRef &objRef)
Definition: ObjectStore.h:77
Object obj
The object structure.
Definition: ObjectStore.h:70
uint8_t handle
SPIFFS object store requires handles.
Definition: ObjectStore.h:35
FWObjDesc(uint32_t fileid)
Definition: ObjectStore.h:81
ObjRef()
Definition: ObjectStore.h:40
ObjRef(const ObjRef &parent, Object::ID objID)
Definition: ObjectStore.h:44
Definition: DirectoryTemplate.h:36
uint32_t nextOffset() const
Definition: ObjectStore.h:85
uint32_t childTableOffset() const
Definition: Object.h:365
FWFS Object Descriptor.
Definition: ObjectStore.h:69
uint32_t childTableOffset() const
Definition: ObjectStore.h:102
gives the identity and location of an FWFS object
Definition: ObjectStore.h:32
Represents a flash partition.
Definition: Partition.h:77
~ObjRef()
Definition: ObjectStore.h:56
Object::ID id
Definition: ObjectStore.h:34
FWObjDesc()
Definition: ObjectStore.h:73
uint32_t offset
Offset from start of image.
Definition: ObjectStore.h:33
ObjRef ref
location
Definition: ObjectStore.h:71
virtual ~IObjectStore()
Definition: ObjectStore.h:111
uint32_t fileID() const
Definition: ObjectStore.h:61
uint8_t refCount
For testing open/close correctness.
Definition: ObjectStore.h:38
void next()
Definition: ObjectStore.h:91
uint32_t sizeAligned() const
Definition: Object.h:386