23 lines
548 B
C
23 lines
548 B
C
|
|
#ifndef TRACK_MODE_H_
|
||
|
|
#define TRACK_MODE_H_
|
||
|
|
|
||
|
|
#include "track/trackInfo/TrackInfo.h"
|
||
|
|
|
||
|
|
class TrackMode
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static constexpr auto MODE_TEACH = "teach";
|
||
|
|
static constexpr auto MODE_LIB = "lib";
|
||
|
|
static constexpr auto MODE_PATH = "path";
|
||
|
|
|
||
|
|
virtual void doInit(TrackInfo trackInfo) = 0;
|
||
|
|
virtual std::string doRun(TrackInfo trackInfo) = 0;
|
||
|
|
virtual void doEnd() = 0;
|
||
|
|
|
||
|
|
virtual bool isTrigger(TrackInfo trackInfo) = 0;
|
||
|
|
virtual void pause() = 0;
|
||
|
|
virtual std::string getTrackModeName() = 0;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // ! TRACK_MODE_H_
|