ESP_IOT v2.5
IOT ESP Coding
KeyUnitSensorClass Class Reference

#include <KeyUnitSensorClass.h>

Inheritance diagram for KeyUnitSensorClass:
Inheritance graph
Collaboration diagram for KeyUnitSensorClass:
Collaboration graph

Public Member Functions

 KeyUnitSensorClass (char *config)
 constructor More...
 
 ~KeyUnitSensorClass ()
 destructor More...
 
void loop ()
 Pure Virtual Function. More...
 
void setup ()
 Pure Virtual Function. More...
 
void changeLedColor ()
 
- Public Member Functions inherited from SensorClassType
 SensorClassType (char *config)
 The config will be used by. More...
 
 ~SensorClassType ()
 destructor More...
 
virtual void loop ()=0
 Pure Virtual Function. More...
 
virtual void setup ()=0
 Pure Virtual Function. More...
 
void setPinValues (int pin1, int pin2)
 
void registerCallback (sensorCallbackSignature *callback)
 
void registerCallbackValue (sensorCallbackValueSignature *callback)
 
void registerCallbackJSON (sensorCallbackJSONSignature *callback)
 
void callCallback (char *info, boolean flag)
 call the callback More...
 
void callCallbackValue (char *info, int value)
 call the callback More...
 
void callCallbackJSON (char *JSONString)
 call the callback for JSON More...
 
virtual void messageSetVal_SensorClassType (char *setName, char *valValue, boolean deviceNameSpecified)
 
virtual void messageSend_SensorClassType (char *sendValue)
 
virtual void messageCmd_SensorClassType (char *cmdValue)
 
virtual void messageLocal_SensorClassType (char *message)
 5.15.25 try a special command local to this class More...
 

Additional Inherited Members

- Public Attributes inherited from SensorClassType
char * _config
 Generic config info .. specific the the sensor type. More...
 
int _pin1 = 0
 
int _pin2 = 0
 pin2 More...
 

Detailed Description

Constructor & Destructor Documentation

◆ KeyUnitSensorClass()

KeyUnitSensorClass::KeyUnitSensorClass ( char *  config)

constructor

Definition at line 22 of file KeyUnitSensorClass.cpp.

◆ ~KeyUnitSensorClass()

KeyUnitSensorClass::~KeyUnitSensorClass ( )

destructor

Definition at line 31 of file KeyUnitSensorClass.cpp.

Member Function Documentation

◆ changeLedColor()

void KeyUnitSensorClass::changeLedColor ( )

2.21.24 change color made public hope to call on FEED message received..

Definition at line 197 of file KeyUnitSensorClass.cpp.

◆ loop()

void KeyUnitSensorClass::loop ( )
virtual

Pure Virtual Function.

error: https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable

See also
https://www.w3schools.com/cpp/cpp_class_methods.asp

setup the KeyUnit

Implements SensorClassType.

Definition at line 222 of file KeyUnitSensorClass.cpp.

Here is the caller graph for this function:

◆ setup()

void KeyUnitSensorClass::setup ( )
virtual

Pure Virtual Function.

Implements SensorClassType.

Definition at line 228 of file KeyUnitSensorClass.cpp.

Here is the caller graph for this function:

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