2014-05-15 11:44:28 -06:00
|
|
|
/*
|
|
|
|
* GCodeProcessor.h
|
|
|
|
*
|
|
|
|
* Created on: 15 maj 2014
|
|
|
|
* Author: MattLech
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GCODEPROCESSOR_H_
|
|
|
|
#define GCODEPROCESSOR_H_
|
2014-07-23 01:46:21 -06:00
|
|
|
|
|
|
|
#include "Command.h"
|
|
|
|
#include "Config.h"
|
|
|
|
|
2017-07-27 14:00:11 -06:00
|
|
|
#include "Debug.h"
|
|
|
|
|
2014-05-15 11:44:28 -06:00
|
|
|
#include "GCodeHandler.h"
|
|
|
|
#include "G00Handler.h"
|
2014-07-01 05:00:03 -06:00
|
|
|
#include "G28Handler.h"
|
2014-07-23 01:46:21 -06:00
|
|
|
|
2017-04-26 14:45:05 -06:00
|
|
|
#include "F09Handler.h"
|
|
|
|
|
2014-07-23 01:46:21 -06:00
|
|
|
#include "F11Handler.h"
|
|
|
|
#include "F12Handler.h"
|
|
|
|
#include "F13Handler.h"
|
2014-08-06 16:04:40 -06:00
|
|
|
|
2014-10-09 15:35:26 -06:00
|
|
|
#include "F14Handler.h"
|
|
|
|
#include "F15Handler.h"
|
|
|
|
#include "F16Handler.h"
|
|
|
|
|
2016-01-11 15:07:41 -07:00
|
|
|
#include "F20Handler.h"
|
2014-08-06 16:04:40 -06:00
|
|
|
#include "F21Handler.h"
|
|
|
|
#include "F22Handler.h"
|
|
|
|
|
2016-12-03 13:58:27 -07:00
|
|
|
//#include "F31Handler.h"
|
|
|
|
//#include "F32Handler.h"
|
2014-09-04 15:10:47 -06:00
|
|
|
|
2014-09-09 14:28:54 -06:00
|
|
|
#include "F41Handler.h"
|
|
|
|
#include "F42Handler.h"
|
|
|
|
#include "F43Handler.h"
|
|
|
|
#include "F44Handler.h"
|
|
|
|
|
2017-04-15 15:32:01 -06:00
|
|
|
#include "F61Handler.h"
|
2014-11-04 15:14:35 -07:00
|
|
|
|
2014-07-23 01:46:21 -06:00
|
|
|
#include "F81Handler.h"
|
|
|
|
#include "F82Handler.h"
|
|
|
|
#include "F83Handler.h"
|
2017-04-15 15:32:01 -06:00
|
|
|
#include "F84Handler.h"
|
2014-05-15 11:44:28 -06:00
|
|
|
|
2017-04-19 08:12:12 -06:00
|
|
|
class GCodeProcessor
|
|
|
|
{
|
2014-05-15 11:44:28 -06:00
|
|
|
public:
|
2017-04-19 08:12:12 -06:00
|
|
|
GCodeProcessor();
|
|
|
|
virtual ~GCodeProcessor();
|
|
|
|
int execute(Command *command);
|
|
|
|
|
2014-05-15 11:44:28 -06:00
|
|
|
protected:
|
2017-04-19 08:12:12 -06:00
|
|
|
GCodeHandler *getGCodeHandler(CommandCodeEnum);
|
|
|
|
|
2014-05-16 14:27:16 -06:00
|
|
|
private:
|
2017-04-19 08:12:12 -06:00
|
|
|
void printCommandLog(Command *);
|
2014-05-15 11:44:28 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* GCODEPROCESSOR_H_ */
|