17 lines
326 B
C
17 lines
326 B
C
|
#ifndef __TsensorImpl_H
|
||
|
#define __TsensorImpl_H
|
||
|
|
||
|
#include "Tsensor.h"
|
||
|
#include "Observer.h"
|
||
|
|
||
|
class TsensorImpl : public Tsensor, public Subject{
|
||
|
private:
|
||
|
int temperatuur;
|
||
|
public:
|
||
|
TsensorImpl();
|
||
|
virtual ~TsensorImpl(){};
|
||
|
virtual void read();
|
||
|
virtual int temperature();
|
||
|
};
|
||
|
|
||
|
#endif
|