farmbot-arduino-firmware/src/GCodeProcessor.h

64 lines
1.0 KiB
C
Raw Normal View History

/*
* 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"
#include "Debug.h"
#include "GCodeHandler.h"
#include "G00Handler.h"
#include "G28Handler.h"
2014-07-23 01:46:21 -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"
//#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"
#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"
#include "F84Handler.h"
2017-04-19 08:12:12 -06:00
class GCodeProcessor
{
public:
2017-04-19 08:12:12 -06:00
GCodeProcessor();
virtual ~GCodeProcessor();
int execute(Command *command);
protected:
2017-04-19 08:12:12 -06:00
GCodeHandler *getGCodeHandler(CommandCodeEnum);
private:
2017-04-19 08:12:12 -06:00
void printCommandLog(Command *);
};
#endif /* GCODEPROCESSOR_H_ */