14 lines
204 B
C
14 lines
204 B
C
|
#ifndef __Motor_H
|
||
|
#define __Motor_H
|
||
|
|
||
|
class Tsensor;
|
||
|
|
||
|
class Motor{
|
||
|
public:
|
||
|
virtual ~Motor() {};
|
||
|
virtual Tsensor* tsensor() = 0;
|
||
|
virtual void start() = 0;
|
||
|
virtual void stop() = 0;
|
||
|
};
|
||
|
|
||
|
#endif
|