-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathGCodeProcessor.h
65 lines (48 loc) · 1.04 KB
/
GCodeProcessor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* GCodeProcessor.h
*
* Created on: 15 maj 2014
* Author: MattLech
*/
#ifndef GCODEPROCESSOR_H_
#define GCODEPROCESSOR_H_
#include "Command.h"
#include "Config.h"
#include "Debug.h"
#include "GCodeHandler.h"
#include "G00Handler.h"
#include "G28Handler.h"
#include "F09Handler.h"
#include "F11Handler.h"
#include "F12Handler.h"
#include "F13Handler.h"
#include "F14Handler.h"
#include "F15Handler.h"
#include "F16Handler.h"
#include "F20Handler.h"
#include "F21Handler.h"
#include "F22Handler.h"
//#include "F31Handler.h"
//#include "F32Handler.h"
#include "F41Handler.h"
#include "F42Handler.h"
#include "F43Handler.h"
#include "F44Handler.h"
#include "F52Handler.h"
#include "F61Handler.h"
#include "F81Handler.h"
#include "F82Handler.h"
#include "F83Handler.h"
#include "F84Handler.h"
class GCodeProcessor
{
public:
GCodeProcessor();
virtual ~GCodeProcessor();
int execute(Command *command);
protected:
GCodeHandler *getGCodeHandler(CommandCodeEnum);
private:
void printCommandLog(Command *);
};
#endif /* GCODEPROCESSOR_H_ */