24 lines
401 B
C++
24 lines
401 B
C++
#ifndef __MachioneImpl_H
|
|
#define __MachineImpl_H
|
|
|
|
#include "Machine.h"
|
|
|
|
class Tsensor;
|
|
|
|
class MachineImpl : public Machine
|
|
{
|
|
private:
|
|
Tsensor* t1;
|
|
Tsensor* t2;
|
|
Motor* m1;
|
|
Motor* m2;
|
|
public:
|
|
MachineImpl(Motor*,Motor*);
|
|
virtual Motor* motor1();
|
|
virtual Motor* motor2();
|
|
virtual void run();
|
|
virtual void halt();
|
|
};
|
|
|
|
#endif
|