flux sdk  v01.02.02-3-g292b3a7
Embedded C++ SDK
Loading...
Searching...
No Matches
flxFSSDMMCard Class Reference

#include <flxFSSDMMCard.h>

Inheritance diagram for flxFSSDMMCard:
flxIFileSystem flxSystemType< flxFSSDMMCard > flxDescriptor flxActionType< T > flxAction flxOperation flxObject _flxParameterContainer flxPersist _flxPropertyContainer flxDescriptor

Public Member Functions

 flxFSSDMMCard ()
 
bool initialize ()
 
bool initialize (uint8_t pinCS)
 
bool initialize (uint8_t pinCS, uint8_t pinPower)
 
void setPower (bool powerOn)
 
bool power (void)
 
void setPowerPin (uint8_t pin)
 
void setCSPin (uint8_t pin)
 
flxFSFile open (const char *name, flxFileOpenMode_t mode, bool create=false)
 
bool exists (const char *name)
 
bool remove (const char *name)
 
bool rename (const char *nameFrom, const char *nameTo)
 
bool mkdir (const char *path)
 
bool rmdir (const char *path)
 
uint64_t size (void)
 
uint64_t total (void)
 
uint64_t used (void)
 
const char * type (void)
 
bool enabled (void)
 
FS fileSystem (void)
 
virtual flxFSFile open (const char *name, flxFileOpenMode_t mode, bool create=false)=0
 
virtual bool exists (const char *name)=0
 
virtual bool remove (const char *name)=0
 
virtual bool rename (const char *nameFrom, const char *nameTo)=0
 
virtual bool mkdir (const char *path)=0
 
virtual bool rmdir (const char *path)=0
 
virtual uint64_t size (void)=0
 
virtual const char * type (void)=0
 
virtual bool enabled (void)=0
 
virtual FS fileSystem (void)=0
 
- Public Member Functions inherited from flxDescriptor
 flxDescriptor ()
 
void setName (const char *new_name)
 Set the Name object - storing the pointer to the provided string No allocation is performed. If the previous name was allocated, it is freed. More...
 
void setName (const char *new_name, const char *new_desc)
 Set the Name object and the Description for the object. Both strings are constants. More...
 
void setName (char *new_name)
 Set the Name object, but makes a copy of the input string since the input is not const. If the previous name was allocated, it is freed. More...
 
const char * name ()
 Return a const char pointer to the name of the object. More...
 
std::string name_ (void)
 Returns a std::string of the name of the object. More...
 
void setDescription (const char *new_desc)
 Set the Description object - the input value is constant and not copied. If the previous description was allocated, it is freed. More...
 
void setDescription (char *new_desc)
 Set the Description object - the input value is not constant and is copied. If the previous description was allocated, it is freed. More...
 
const char * description ()
 Return the constant C string pointer to the description of the object. More...
 
std::string description_ (void)
 Return the description of the object as a std::string. More...
 
void setTitle (const char *title)
 Set the Title object - the title is optional and is used mostly for UX or organizational purposes. The input value is constant and not copied. If the previous title was allocated, it is freed. More...
 
void setTitleAlloc (char *new_title)
 Set the Title of the object , but make an explict copy of the provided string. More...
 
const char * title (void)
 Return the C constant string pointer to the title of the object. More...
 
- Public Member Functions inherited from flxSystemType< flxFSSDMMCard >
virtual bool initialize ()=0
 
virtual void setPower (bool powerOn)=0
 
void powerOn (void)
 
void powerOff ()
 
virtual bool power (void)=0
 
- Public Member Functions inherited from flxActionType< T >
flxTypeID getType (void)
 
virtual bool initialize (void)
 
- Public Member Functions inherited from flxOperation
virtual flxTypeID getType (void)
 
virtual bool execute (void)
 Virtual method called to run the operation - called before data is retrieved. More...
 
virtual bool onSave (flxStorageBlock *stBlk)
 
virtual bool onRestore (flxStorageBlock *stBlk)
 
- Public Member Functions inherited from flxObject
 flxObject ()
 
virtual ~flxObject ()
 
void setParent (flxObject *parent)
 
void setParent (flxObject &parent)
 
flxObjectparent ()
 
void setHidden (bool bHide=true)
 
bool hidden ()
 
void setIsDirty (bool bDirty=true)
 
bool isDirty (void)
 
virtual bool onSave (flxStorageBlock *stBlk)
 
virtual bool save (flxStorage *pStorage)
 
virtual bool onRestore (flxStorageBlock *stBlk)
 
virtual bool restore (flxStorage *pStorage)
 
virtual flxTypeID getType (void)
 
virtual bool save (flxStorage *)=0
 
virtual bool restore (flxStorage *)=0
 
- Public Member Functions inherited from _flxPropertyContainer
 _flxPropertyContainer ()
 
void addProperty (flxProperty *newProperty)
 
void addProperty (flxProperty &newProperty)
 
void removeProperty (flxProperty *rmProp)
 
void removeProperty (flxProperty &rmProp)
 
flxPropertyListgetProperties (void)
 
uint nProperties (void)
 
bool saveProperties (flxStorageBlock *stBlk)
 
bool restoreProperties (flxStorageBlock *stBlk)
 
size_t propertySaveSize ()
 
void hideProperty (flxProperty &theProp)
 
- Public Member Functions inherited from _flxParameterContainer
void addParameter (flxParameterIn *newParam, bool head=false)
 
void addParameter (flxParameterIn &newParam, bool head=false)
 
void removeParameter (flxParameterIn *rmParam)
 
void removeParameter (flxParameterIn &rmParam)
 
size_t nInputParameters ()
 
void addParameter (flxParameterOut *newParam, bool head=false)
 
void addParameter (flxParameterOut &newParam, bool head=false)
 
void removeParameter (flxParameterOut *rmParam)
 
void removeParameter (flxParameterOut &rmParam)
 
size_t nOutputParameters ()
 
flxParameterOutListgetOutputParameters (void)
 
flxParameterInListgetInputParameters (void)
 

Additional Inherited Members

- Public Types inherited from flxIFileSystem
enum  flxFileOpenMode_t { kFileWrite = 1 , kFileRead , kFileAppend }
 
- Static Public Member Functions inherited from flxActionType< T >
static flxTypeID type (void)
 
- Static Public Member Functions inherited from flxObject
static flxTypeID type (void)
 
- Protected Attributes inherited from flxDescriptor
const char * _name
 
bool _nameAlloc
 
const char * _desc
 
bool _descAlloc
 
const char * _title
 
bool _titleAlloc
 

Constructor & Destructor Documentation

◆ flxFSSDMMCard()

flxFSSDMMCard::flxFSSDMMCard ( )
inline

Member Function Documentation

◆ enabled()

bool flxFSSDMMCard::enabled ( void  )
inlinevirtual

Implements flxIFileSystem.

◆ exists()

bool flxFSSDMMCard::exists ( const char *  name)
inlinevirtual

Implements flxIFileSystem.

◆ fileSystem()

FS flxFSSDMMCard::fileSystem ( void  )
inlinevirtual

Implements flxIFileSystem.

◆ initialize() [1/3]

bool flxFSSDMMCard::initialize ( void  )
inlinevirtual

◆ initialize() [2/3]

bool flxFSSDMMCard::initialize ( uint8_t  pinCS)
inline

◆ initialize() [3/3]

bool flxFSSDMMCard::initialize ( uint8_t  pinCS,
uint8_t  pinPower 
)
inline

◆ mkdir()

bool flxFSSDMMCard::mkdir ( const char *  path)
inlinevirtual

Implements flxIFileSystem.

◆ open()

flxFSFile flxFSSDMMCard::open ( const char *  name,
flxFileOpenMode_t  mode,
bool  create = false 
)
inlinevirtual

Implements flxIFileSystem.

◆ power()

bool flxFSSDMMCard::power ( void  )
inlinevirtual

◆ remove()

bool flxFSSDMMCard::remove ( const char *  name)
inlinevirtual

Implements flxIFileSystem.

◆ rename()

bool flxFSSDMMCard::rename ( const char *  nameFrom,
const char *  nameTo 
)
inlinevirtual

Implements flxIFileSystem.

◆ rmdir()

bool flxFSSDMMCard::rmdir ( const char *  path)
inlinevirtual

Implements flxIFileSystem.

◆ setCSPin()

void flxFSSDMMCard::setCSPin ( uint8_t  pin)
inline

◆ setPower()

void flxFSSDMMCard::setPower ( bool  powerOn)
inlinevirtual

◆ setPowerPin()

void flxFSSDMMCard::setPowerPin ( uint8_t  pin)
inline

◆ size()

uint64_t flxFSSDMMCard::size ( void  )
inlinevirtual

Implements flxIFileSystem.

◆ total()

uint64_t flxFSSDMMCard::total ( void  )
inline

◆ type()

const char * flxFSSDMMCard::type ( void  )
inlinevirtual

Implements flxIFileSystem.

◆ used()

uint64_t flxFSSDMMCard::used ( void  )
inline

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