|
std::shared_ptr< MFEPlatform > | shared_from_this () |
|
std::shared_ptr< const MFEPlatform > | shared_from_this () const |
|
DeviceTypeList | getSupportedDevices () const override |
|
DeviceList | generateDevices (const DeviceTypeList &deviceType) override |
|
grbl::Axis | getResolverAxis (const std::string &uid) const |
| Get the axis associated to resolver. More...
|
|
grbl::Axis | getResolverMonitorAxis (const std::string &uid) const |
| Get the axis associated with the given AxisPositionMonitor.
|
|
void | updateResolverSetting (const std::string &resolverId, grbl::SettingId settingId, const std::string &value) |
| hook invoked on getSetting/setSetting on resolvers
|
|
units::value_t | getResolverPosition (const std::string &uid, const units::unit_t unit) const |
|
units::value_t | getResolverMode (const std::string &uid) const |
|
AxisPositionMonitor::State | getResolverMonitorState (const std::string &uid, uint32_t &diff) |
|
void | processUpdate (MGrblPlatform::Context &ctx) override |
| device status update function More...
|
|
std::shared_ptr< MGrblPlatform > | shared_from_this () |
|
std::shared_ptr< const MGrblPlatform > | shared_from_this () const |
|
DeviceTypeList | getSupportedDevices () const override |
|
DeviceList | generateDevices (const DeviceTypeList &deviceType) override |
|
void | setNotificationWorker (const NotificationWorker::Shared &worker) override |
|
std::future< mgrbl::Layout > | getLayout () |
| retrieve current layout
|
|
void | stop () override |
|
void | wake () override |
|
void | updateInstance (MGrblGpio &gpio) const |
| update instance ptr related to the given gpio More...
|
|
void | updateInstance (MGrblAxis &axis) const |
| update instance ptr related to the given axis More...
|
|
void | updateInstance (MGrblTrigger &trigger) const |
| update instance ptr related to the given trigger More...
|
|
const std::string & | mainTriggerUrl () const |
|
std::shared_ptr< GrblPlatform > | getFirstInstance () const |
| return first instance More...
|
|
std::shared_ptr< GrblPlatform > | getInstance (mgrbl::Instance instance) const |
| get instance related to the given axis More...
|
|
void | runOnInstance (Context &ctx, std::function< void(GrblPlatform::Shared &platform, GrblPlatform::Context &ctx)> fun, bool onlyFirst=false) const |
| run the given lambda on all grbl sub-platforms More...
|
|
template<typename T > |
std::future< T > | run (std::function< void(ImmediateCmd &, Context &)> fun) |
|
void | loadLayout (Context &ctx) |
|
void | getBuildInfo (Context &ctx) |
|
void | notify (const DeviceId &id) |
|
void | notify (std::set< DeviceId > &&ids) |
|
|
| MFEPlatform (const ccut::yml::NodeRef &ref) |
|
MGrblAxis::Shared | createAxis (const std::string &uid, const std::shared_ptr< GrblPlatform > &grbl) override |
|
const ResolverInfo & | _getResolverInfo (const std::string &uid) const |
|
void | generateGpios (Context &ctx, std::list< DeviceBase::Shared > &out) |
|
| MGrblPlatform (const ccut::yml::NodeRef &node, Context *data=nullptr) |
| internal constructor to use this as a sub-platform (MGrblPlatform) More...
|
|
void | processMessage (const std::string &message) |
|
void | thread_func () override |
|
bool | processImmediate (Context &ctx) |
|
void | createPlatforms (Context &ctx) |
|
void | clearQueue (const std::string &msg) |
|
std::vector< std::shared_ptr< GrblPlatform > > | getPlatforms () const |
|
SAMBuCa MFC_MFE platform.
Definition at line 44 of file MFEPlatform.hpp.