ctp3-mon  0.3.0
 All Classes Functions Variables Pages
Ctp3SensorLTU Class Reference

Ctp3 LTU sensor class. More...

#include <Ctp3SensorLTU.h>

Inheritance diagram for Ctp3SensorLTU:

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
 

Detailed Description

Ctp3 LTU sensor class.

Author
Martin Vala mvala.nosp@m.@cer.nosp@m.n.ch

Definition at line 13 of file Ctp3SensorLTU.h.

Constructor & Destructor Documentation

Ctp3SensorLTU::Ctp3SensorLTU ( std::string  _name = {"tmpl"})

Constructor

Definition at line 3 of file Ctp3SensorLTU.cpp.

Referenced by init().

Ctp3SensorLTU::~Ctp3SensorLTU ( )
virtual

Destructor

Definition at line 8 of file Ctp3SensorLTU.cpp.

Member Function Documentation

void Ctp3SensorLTU::init ( )
override

Init

Definition at line 14 of file Ctp3SensorLTU.cpp.

References Ctp3SensorLTU().

std::string Ctp3SensorLTU::json ( const std::string  name = {}) const
override

Return json string from current sensor

Definition at line 41 of file Ctp3SensorLTU.cpp.

void Ctp3SensorLTU::process ( )
override

Process function

Definition at line 24 of file Ctp3SensorLTU.cpp.

void Ctp3SensorLTU::speed ( ObSensor *  s1,
ObSensor *  s2,
int  timeout = 1000 
)
override

Calculate time change (speed)

Definition at line 32 of file Ctp3SensorLTU.cpp.


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