SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
config_item.h File Reference
#include <map>
#include <memory>
#include <vector>
#include <cstddef>
#include "Arduino.h"
#include "ArduinoJson.h"
#include "sensesp/system/saveable.h"
Include dependency graph for config_item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sensesp::ConfigItemBase
 
class  sensesp::ConfigItemT< T >
 Class providing sufficient data for rendering a config card in the frontend. More...
 

Namespaces

namespace  sensesp
 

Functions

template<class T >
const char * sensesp::get_schema_type_string (const T dummy)
 
template<>
const char * sensesp::get_schema_type_string (const int dummy)
 
template<>
const char * sensesp::get_schema_type_string (const float dummy)
 
template<>
const char * sensesp::get_schema_type_string (const String &dummy)
 
template<>
const char * sensesp::get_schema_type_string (const bool dummy)
 
const String sensesp::ConfigSchema (const std::nullptr_t &obj)
 Provide a configuration schema for a ConfigItemT<nullptr>.
 
template<typename T >
bool sensesp::ConfigRequiresRestart (const T &obj)
 
template<typename T >
bool sensesp::ConfigRequiresRestart (const std::shared_ptr< T > &obj)
 
template<typename T >
std::shared_ptr< ConfigItemT< T > > sensesp::ConfigItem (std::shared_ptr< T > config_object)
 Register a ConfigItemT with the ConfigItemBase.
 
template<typename T >
std::shared_ptr< ConfigItemT< T > > sensesp::ConfigItem (T *config_object)