24 #ifndef MGRBLGPIO_HPP__
25 #define MGRBLGPIO_HPP__
29 #include "platform/specialized/GrblPlatform/GrblGpio.hpp"
39 typedef std::shared_ptr<MGrblGpio> Shared;
42 const std::shared_ptr<MGrblPlatform> &mgrbl,
43 const std::shared_ptr<GrblPlatform> &grbl);
48 virtual std::future<units::io_port_t>
getIoState()
const override;
53 std::weak_ptr<MGrblPlatform> m_mgrbl;
DeviceId uid() const
Get the address of device.
virtual std::future< void > setIoState(const units::io_port_t &state) const override
Set state of this IO.
virtual std::future< units::io_port_t > getIoState() const override
Get current state of this GPIO.
main motion-lib namespace