ctp3-mon
0.3.0
|
Ctp3 LTU sensor class. More...
#include <Ctp3SensorLTU.h>
Public Member Functions | |
Ctp3SensorLTU (std::string _name={"tmpl"}) | |
virtual | ~Ctp3SensorLTU () |
void | init () override |
void | process () override |
void | speed (ObSensor *s1, ObSensor *s2, int timeout=1000) override |
std::string | json (const std::string name={}) const override |
Ctp3 LTU sensor class.
Definition at line 13 of file Ctp3SensorLTU.h.
Ctp3SensorLTU::Ctp3SensorLTU | ( | std::string | _name = {"tmpl"} | ) |
|
virtual |
Destructor
Definition at line 8 of file Ctp3SensorLTU.cpp.
|
override |
|
override |
Return json string from current sensor
Definition at line 41 of file Ctp3SensorLTU.cpp.
|
override |
Process function
Definition at line 24 of file Ctp3SensorLTU.cpp.
|
override |
Calculate time change (speed)
Definition at line 32 of file Ctp3SensorLTU.cpp.