SmoothProgress 1.0.0
Displays smooth progress bars on a character based LCD displays for Arduino
inPROGMEM Class Reference

Helper class to wrap the barstyle structure when passing the structure "object" to a function so that a distinction can be made where it is stored in RAM or in FLASH if the progress bar style holding the bitmasks is defined to be stored in FLASH using static const PROGMEM struct barstyle styleName = ... wrap it up with inPROGMEM when passing it as an argument (as const reference) to the functions / constructors More...

#include <SmoothProgress.h>

Public Member Functions

 inPROGMEM (const barstyle &bs)
 Wrapper to be used when passing the barstyle structure (as const reference) to the functions / constructors More...
 
const barstyleunwrap () const
 

Detailed Description

Helper class to wrap the barstyle structure when passing the structure "object" to a function so that a distinction can be made where it is stored in RAM or in FLASH if the progress bar style holding the bitmasks is defined to be stored in FLASH using static const PROGMEM struct barstyle styleName = ... wrap it up with inPROGMEM when passing it as an argument (as const reference) to the functions / constructors

Constructor & Destructor Documentation

◆ inPROGMEM()

inPROGMEM::inPROGMEM ( const barstyle bs)
inline

Wrapper to be used when passing the barstyle structure (as const reference) to the functions / constructors

Parameters
bsconst reference to the structure ("object") stored in FLASH (PROGMEM) holding the style definition
See also
struct barstyle

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