24 #ifndef MGRBLTRIGGER_HPP__
25 #define MGRBLTRIGGER_HPP__
28 #include "platform/specialized/GrblPlatform/GrblTrigger.hpp"
38 typedef std::shared_ptr<MGrblTrigger> Shared;
41 const std::shared_ptr<MGrblPlatform> &mgrbl,
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;
55 std::weak_ptr<MGrblPlatform> m_mgrbl;
DeviceId uid() const
Get the address of device.
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
std::future< bool > isArmed() const override
check if trigger is armed
main motion-lib namespace