25 lines
427 B
C++
25 lines
427 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*);
|
|
~MachineImpl(){};
|
|
virtual Motor* motor1();
|
|
virtual Motor* motor2();
|
|
virtual void run();
|
|
virtual void halt();
|
|
};
|
|
|
|
#endif
|