LOM2M  0.8.0
Public Member Functions | Protected Attributes | List of all members
Sensor Struct Reference

#include <IPE.h>

Inheritance diagram for Sensor:
Actuator BinaryDigitalSensor BinaryActuator

Public Member Functions

 Sensor (const String &name)
 
 Sensor (Entity *parent, const String &name)
 
virtual ~Sensor ()
 
String valueToContent (const String &value)
 
void updateValue (const String &newValue)
 

Protected Attributes

String id
 
ContainersensorCnt
 
ContainerdataUpCnt
 
ContainermessagesCnt
 

Constructor & Destructor Documentation

◆ Sensor() [1/2]

Sensor::Sensor ( const String &  name)

◆ Sensor() [2/2]

Sensor::Sensor ( Entity parent,
const String &  name 
)

◆ ~Sensor()

Sensor::~Sensor ( )
virtual

Member Function Documentation

◆ updateValue()

void Sensor::updateValue ( const String &  newValue)

◆ valueToContent()

String Sensor::valueToContent ( const String &  value)

Member Data Documentation

◆ dataUpCnt

Container* Sensor::dataUpCnt
protected

◆ id

String Sensor::id
protected

◆ messagesCnt

Container* Sensor::messagesCnt
protected

◆ sensorCnt

Container* Sensor::sensorCnt
protected

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