SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::FreeMem Class Reference

Reports the current amount of unused memory of the ESP. More...

#include <sensesp/sensors/system_info.h>

Inheritance diagram for sensesp::FreeMem:
[legend]

Public Member Functions

 FreeMem ()
 
String get_value_name ()
 
- Public Member Functions inherited from sensesp::ValueProducer< uint32_t >
 ValueProducer ()
 
 ValueProducer (const uint32_t &initial_value)
 
virtual const uint32_t & get () const
 
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< uint32_t, typenameVConsumer::input_type >::value, std::shared_ptr< VConsumer > >::type connect_to (std::shared_ptr< VConsumer > consumer)
 Connect a producer to a transform with a different input type.
 
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< uint32_t, typenameVConsumer::input_type >::value, VConsumer * >::type connect_to (VConsumer *consumer)
 
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< uint32_t, typenameVConsumer::input_type >::value, VConsumer * >::type connect_to (VConsumer &consumer)
 
void emit (const uint32_t &new_value)
 
- Public Member Functions inherited from sensesp::Observable
 Observable ()
 
 Observable (Observable &&other)
 Move constructor.
 
void notify ()
 
void attach (std::function< void()> observer)
 

Protected Member Functions

void update ()
 

Additional Inherited Members

- Protected Attributes inherited from sensesp::ValueProducer< uint32_t >
uint32_t output_
 

Detailed Description

Reports the current amount of unused memory of the ESP.

Nothing about it is configurable, except whether or not it appears in your project's output. That is configured with SensESPAppBuilder.

Definition at line 68 of file system_info.h.

Constructor & Destructor Documentation

◆ FreeMem()

sensesp::FreeMem::FreeMem ( )
inline

Definition at line 70 of file system_info.h.

Here is the call graph for this function:

Member Function Documentation

◆ get_value_name()

String sensesp::FreeMem::get_value_name ( )
inline

Definition at line 73 of file system_info.h.

◆ update()

void sensesp::FreeMem::update ( )
protected

Definition at line 27 of file system_info.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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