24 #ifndef GRBLTRIGGER_HPP__
25 #define GRBLTRIGGER_HPP__
29 #include "device/Trigger.hpp"
39 typedef std::shared_ptr<GrblTrigger> Shared;
42 const std::shared_ptr<GrblPlatform> &grbl);
44 std::future<void>
arm()
const override;
46 std::future<void>
disarm()
const override;
48 std::future<bool>
isArmed()
const override;
50 std::future<void>
trig()
const override;
53 std::weak_ptr<GrblPlatform> m_grbl;
DeviceId uid() const
Get the address of device.
std::future< bool > isArmed() const override
check if trigger is armed
std::future< void > trig() const override
soft-trigger the trigger
std::future< void > arm() const override
arm the trigger
std::future< void > disarm() const override
disarm the trigger
main motion-lib namespace