ESP_IOT v2.5
IOT ESP Coding
GPSSensorClass.h
Go to the documentation of this file.
1
2
3
4#ifndef GPSSensorClass_h
5#define GPSSensorClass_h
6
7#include "../../Defines.h"
8#ifdef USE_GPS_SENSOR_CLASS
9
10#include "SensorClassType.h"
11
12class GPSSensorClass : public SensorClassType
13{
14public:
15 //! constructor
16 GPSSensorClass(char *config);
17
18 //! Pure Virtual Function
19 void loop();
20
21 //! Pure Virtual Function
22 void setup();
23
24 //! these are not initialized...
25
26 // Define the array of leds. 定义LED阵列.
27#ifdef NOT_USED
28 //! adding the messages as well
29 //! 5.14.25 (Laura/Paul flying). 5.14.74 great Dead
30 //! 8.28.23 Adding a way for others to get informed on messages that arrive
31 //! for the set,val
32 //! 12.27.23 support setName == "socket"
33 //! 1.10.24 if deviceNameSpecified then this matches this device, otherwise for all.
34 //! It's up to the receiver to decide if it has to be specified
35 void messageSetVal_SensorClassType(char *setName, char* valValue, boolean deviceNameSpecified);
36
37 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
38 //! for the send -
39 void messageSend_SensorClassType(char *sendValue);
40
41 //! 12.28.23, 8.28.23 Adding a way for others to get informed on messages that arrive
42 //! for the cmd
43 void messageCmd_SensorClassType(char *cmdValue);
44#endif
45
46};
47#endif // USE_GPS_SENSOR_CLASS
48
49#endif
virtual void messageCmd_SensorClassType(char *cmdValue)
virtual void loop()=0
Pure Virtual Function.
virtual void messageSend_SensorClassType(char *sendValue)
virtual void messageSetVal_SensorClassType(char *setName, char *valValue, boolean deviceNameSpecified)
virtual void setup()=0
Pure Virtual Function.