LightHub 4.6.0
Open-source smart home controller firmware
Loading...
Searching...
No Matches
pidJson Class Reference

Lightweight holder for PID-related JSON objects. More...

#include <out_pid.h>

Public Member Functions

 pidJson (aJsonObject *_obj)
 Constructor, stores the JSON object pointer.
aJsonObject * getValObj ()
 Get the JSON object holding the PID input value (not used yet).
aJsonObject * getSetObj ()
 Get the JSON object holding the PID setpoint (not used yet).
aJsonObject * getPoObj ()
 Get the JSON object holding the PID output (not used yet).
PID * getPID ()
 Get the PID controller pointer stored inside the JSON object value.

Public Attributes

aJsonObject * obj

Detailed Description

Lightweight holder for PID-related JSON objects.

Stores a pointer to aJSON objects that carry the PID item values (input, setpoint, output). Currently the accessors return NULL and only the embedded PID controller pointer is retrieved from the object.

Constructor & Destructor Documentation

◆ pidJson()

pidJson::pidJson ( aJsonObject * _obj)
inline

Constructor, stores the JSON object pointer.

Member Function Documentation

◆ getPID()

PID * pidJson::getPID ( )
inline

Get the PID controller pointer stored inside the JSON object value.

◆ getPoObj()

aJsonObject * pidJson::getPoObj ( )
inline

Get the JSON object holding the PID output (not used yet).

◆ getSetObj()

aJsonObject * pidJson::getSetObj ( )
inline

Get the JSON object holding the PID setpoint (not used yet).

◆ getValObj()

aJsonObject * pidJson::getValObj ( )
inline

Get the JSON object holding the PID input value (not used yet).

Member Data Documentation

◆ obj

aJsonObject* pidJson::obj

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