#pragma once #include #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