16 lines
292 B
C
16 lines
292 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 void read();
|
||
|
virtual int temperature();
|
||
|
};
|
||
|
|
||
|
#endif
|