#ifndef SlaveModeCommand_h
#define SlaveModeCommand_h
#include "Energia.h"
#include "Command.h"
#include "Machine.h"
// This class performs interpolations linear and cubic Bezier
class SlaveModeCommand : public Command {
static const char myName[10];
Axis* firstMachineAxis;
bool aborting;
bool starting;
public:
virtual const char*
name();
SlaveModeCommand(
char*,
Axis* firstMachineAxis,
String* msgPtr );
~SlaveModeCommand();
bool execute(
Machine* machine );
void abort(
Machine* machine );
void report(
Machine* machine,
String* msgPtr );
void reportInterpolationStatus(
Machine* machine,
String* msgPtr );
};
#endif