| LightHub v4.0.0 Smarthome controller firmware

abstractin.h
Go to the documentation of this file.
1 #pragma once
2 #include "Arduino.h"
3 #include "abstractch.h"
4
5 class Input;
6 class abstractIn : public abstractCh{
7 public:
8 abstractIn(Input * _in):abstractCh(){in=_in;};
9
10 protected:
11 Input * in;
12 int publish(long value, const char* subtopic = NULL);
13 int publish(float value, const char* subtopic = NULL );
14 int publish(char * value, const char* subtopic = NULL);
15 friend Input;
16 };
abstractch.h
abstractIn::abstractIn
abstractIn(Input *_in)
Definition: abstractin.h:8
abstractCh
Definition: abstractch.h:8
abstractIn::in
Input * in
Definition: abstractin.h:8
abstractIn::Input
friend Input
Definition: abstractin.h:15
Input
Definition: inputs.h:132
abstractIn::publish
int publish(long value, const char *subtopic=NULL)
Definition: abstractin.cpp:13
abstractIn
Definition: abstractin.h:6