SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
constant_sensor.h File Reference
#include "Arduino.h"
#include "sensesp/ui/config_item.h"
#include "sensesp/sensors/sensor.h"
#include "sensesp_base_app.h"
Include dependency graph for constant_sensor.h:

Go to the source code of this file.

Classes

class  sensesp::ConstantSensor< T >
 ConstantSensor is the base class for virtual sensors that periodically emit a constant value. More...
 

Namespaces

namespace  sensesp
 

Typedefs

typedef ConstantSensor< float > sensesp::FloatConstantSensor
 
typedef ConstantSensor< int > sensesp::IntConstantSensor
 
typedef ConstantSensor< bool > sensesp::BoolConstantSensor
 
typedef ConstantSensor< String > sensesp::StringConstantSensor
 

Functions

template<typename T >
const String sensesp::ConfigSchemaSensorType (const T &obj)
 
template<>
const String sensesp::ConfigSchemaSensorType< int > (const int &obj)
 
template<>
const String sensesp::ConfigSchemaSensorType< float > (const float &obj)
 
template<>
const String sensesp::ConfigSchemaSensorType< String > (const String &obj)
 
template<>
const String sensesp::ConfigSchemaSensorType< bool > (const bool &obj)
 
template<typename T >
const String sensesp::ConfigSchema (const ConstantSensor< T > &obj)