Go to the documentation of this file. 1 #ifndef UNTITLED_FREE_MEMORY_MEASUREMENT_H
2 #define UNTITLED_FREE_MEMORY_MEASUREMENT_H
5 extern "C" char* sbrk(
int incr);
60 #if defined(DEBUG) || defined(WEB_SERVER)
98 const String getLogDescription()
const;
104 const String getLogID()
const;
109 const String
getRow(
int row)
const override;
static FreeMemoryMeasurement * instance
the instance of the class
std::map< int, String(*)(const FreeMemoryMeasurement &freeMemoryMeasurement)> htmlData
A map of different values (keys) and their associated functions which returns the appropriate values.
const String getRow(int row) const override
Returns the content of the row given as a parameter.
FreeMemoryMeasurement()
Constructor of the class.
friend String HTML_freeRAM(const FreeMemoryMeasurement &freeMemoryMeasurement)
Associated function for returing amount of memory being used at the moment.
FreeMemoryMeasurement(FreeMemoryMeasurement const &)
Copy constructor of the class.
FreeMemoryMeasurement & operator=(FreeMemoryMeasurement const &)
Assignment operator of the class.
static FreeMemoryMeasurement * getInstance()
Returns the instance of the class.
const String getHTMLData(const int id) const override
Since this class is registered as a source of data for the HTML content, it needs return the appropri...
int getFreeRAM() const
Return the amount of RAM currently being used.