gives the identity and location of an FWFS object More...

#include <ObjectStore.h>

Collaboration diagram for IFS::ObjRef:
[legend]

Public Member Functions

 ObjRef ()
 
 ObjRef (const ObjRef &parent, Object::ID objID)
 
 ObjRef (uint32_t fileid)
 
 ~ObjRef ()
 
uint32_t fileID () const
 

Public Attributes

uint32_t offset {0}
 Offset from start of image. More...
 
Object::ID id {0}
 
uint8_t handle {0}
 SPIFFS object store requires handles. More...
 
uint8_t storenum {0}
 Object store number. More...
 
uint8_t readCount {0}
 For profiling. More...
 
uint8_t refCount {0}
 For testing open/close correctness. More...
 

Detailed Description

gives the identity and location of an FWFS object

Constructor & Destructor Documentation

◆ ObjRef() [1/3]

IFS::ObjRef::ObjRef ( )
inline

◆ ObjRef() [2/3]

IFS::ObjRef::ObjRef ( const ObjRef parent,
Object::ID  objID 
)
inline

◆ ObjRef() [3/3]

IFS::ObjRef::ObjRef ( uint32_t  fileid)
inline

◆ ~ObjRef()

IFS::ObjRef::~ObjRef ( )
inline

Member Function Documentation

◆ fileID()

uint32_t IFS::ObjRef::fileID ( ) const
inline

Member Data Documentation

◆ handle

uint8_t IFS::ObjRef::handle {0}

SPIFFS object store requires handles.

◆ id

Object::ID IFS::ObjRef::id {0}

◆ offset

uint32_t IFS::ObjRef::offset {0}

Offset from start of image.

◆ readCount

uint8_t IFS::ObjRef::readCount {0}

For profiling.

◆ refCount

uint8_t IFS::ObjRef::refCount {0}

For testing open/close correctness.

◆ storenum

uint8_t IFS::ObjRef::storenum {0}

Object store number.


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