Merge remote-tracking branch 'upstream/edge' into merge-abc-with-homing
[clinton/Smoothieware.git] / src / modules / tools / zprobe / LevelingStrategy.h
CommitLineData
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
9class ZProbe;
10class Gcode;
11
12class LevelingStrategy
13{
14public:
15 LevelingStrategy(ZProbe* zprobe) : zprobe(zprobe){};
16 virtual ~LevelingStrategy(){};
17 virtual bool handleGcode(Gcode* gcode)= 0;
18 virtual bool handleConfig()= 0;
19
20protected:
21 ZProbe *zprobe;
22
23};
f6efadb0 24#endif