Commit | Line | Data |
---|---|---|
ce9d2bda JM |
1 | /* |
2 | * A strategy called from ZProbe to handle a strategy for leveling | |
3 | * examples are delta calibration, three point bed leveling, z height map | |
4 | */ | |
5 | ||
f6efadb0 JM |
6 | #ifndef _LEVELINGSTRATEGY |
7 | #define _LEVELINGSTRATEGY | |
8 | ||
ce9d2bda JM |
9 | class ZProbe; |
10 | class Gcode; | |
11 | ||
12 | class LevelingStrategy | |
13 | { | |
14 | public: | |
15 | LevelingStrategy(ZProbe* zprobe) : zprobe(zprobe){}; | |
16 | virtual ~LevelingStrategy(){}; | |
17 | virtual bool handleGcode(Gcode* gcode)= 0; | |
18 | virtual bool handleConfig()= 0; | |
19 | ||
20 | protected: | |
21 | ZProbe *zprobe; | |
22 | ||
23 | }; | |
f6efadb0 | 24 | #endif |