|
| MGrblGpio (const std::string &uid, const std::shared_ptr< MGrblPlatform > &mgrbl, const std::shared_ptr< GrblPlatform > &grbl) |
|
virtual std::future< void > | setIoState (const units::io_port_t &state) const override |
| Set state of this IO. More...
|
|
virtual std::future< units::io_port_t > | getIoState () const override |
| Get current state of this GPIO. More...
|
|
| GrblGpio (const std::string &uid, const std::shared_ptr< GrblPlatform > &grbl) |
|
| Gpio (const std::string &address) |
| Construct a new GPIO Device at given location on given platform. More...
|
|
DeviceType | type () const override |
| Get device type. More...
|
|
DeviceId | uid () const |
| Get the address of device. More...
|
|
virtual std::future< std::set< std::string > > | listConfig () const |
| list device configuration options
|
|
virtual std::future< std::string > | getConfig (const std::string &name) const |
| get device configuration value More...
|
|
virtual std::future< void > | setConfig (const std::string &name, const std::string &value) const |
| set device configuration value More...
|
|
virtual bool | canConvert (const units::Value &value, units::unit_t unit) const |
| Check if unit conversion is possible in a manner specific to this device. More...
|
|
virtual bool | convert (units::Value &value, units::unit_t unit) const |
| Convert value in a manner specific to this device. More...
|
|
std::string | toString () const |
| debug and logging operation
|
|
Definition at line 36 of file MGrblGpio.hpp.
◆ getIoState()
std::future< io_port_t > MGrblGpio::getIoState |
( |
| ) |
const |
|
overridevirtual |
Get current state of this GPIO.
- Returns
- future<steps> Future completed with value when command executed.
Reimplemented from smc::internal::GrblGpio.
Definition at line 59 of file MGrblGpio.cpp.
◆ setIoState()
std::future< void > MGrblGpio::setIoState |
( |
const units::io_port_t & |
state | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /builds/mro/controls/sambuca/sambuca-motion-lib/src/platform/specialized/MGrblPlatform/MGrblGpio.hpp
- /builds/mro/controls/sambuca/sambuca-motion-lib/src/platform/specialized/MGrblPlatform/MGrblGpio.cpp