abstractin.h
Go to the documentation of this file.
#pragma once
#include "Arduino.h"
#include "abstractch.h"
class Input;
class abstractIn : public abstractCh{
public:
abstractIn(Input * _in):abstractCh(){in=_in;};
protected:
Input * in;
int publish(long value, const char* subtopic = NULL);
int publish(float value, const char* subtopic = NULL );
int publish(char * value, const char* subtopic = NULL);
friend Input;
};
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