Prusa-Firmware-MMU/src/logic/tool_change.h

27 lines
529 B
C++

#pragma once
#include <stdint.h>
#include "command_base.h"
#include "unload_to_finda.h"
namespace logic {
/// A high-level command state machine
/// Handles the complex logic of tool change
class ToolChange : public CommandBase {
public:
inline ToolChange()
: CommandBase() { Reset(); }
/// Restart the automaton
void Reset() override;
/// @returns true if the state machine finished its job, false otherwise
bool Step() override;
private:
};
extern ToolChange toolChange;
} // namespace logic