SDK  23.9.2
For IoT System Software Development
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ConfigNumber< T > Class Template Reference
Inheritance diagram for ConfigNumber< T >:
ConfigItem

Public Member Functions

 ConfigNumber (const char *name, Storage &s, uint64_t addr, T min, T max, void(*onSet)(T)=nullptr)
 
const char * getName () override
 
virtual bool handleCommand (const char *input, Print &p) override
 
virtual void print (Print &p) override
 
virtual T getValue ()
 
virtual error_t setValue (T newValue)
 
virtual bool isValid () override
 
virtual void printHelp (Print &p) override
 

Protected Member Functions

virtual void onValueSet () override
 

Protected Attributes

char * name
 
Storageflash
 
const uint64_t addr
 
min
 
max
 
void(* onSet )(T)
 

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