The IFirmware class Base Class for Firmware Plugins.
More...
#include <ifirmware.h>
|
void | checkCommand (const QByteArray &lastMessage) |
| call Validate Command
|
|
|
| IFirmware () |
|
void | init (AtCore *parent) |
|
| ~IFirmware () override |
|
virtual bool | isSdSupported () const =0 |
| Check for plugin support of sd cards.
|
|
virtual QString | name () const =0 |
| Virtual name to be reimplemented by Firmware plugin.
|
|
virtual void | validateCommand (const QString &lastMessage) |
| Virtual validateCommand to filter commands from messages.
|
|
virtual QByteArray | translate (const QString &command) |
| Virtual translate to be reimplemented by Firmwareplugin.
|
|
AtCore * | core () const |
| AtCore Parent of the firmware plugin.
|
|
The IFirmware class Base Class for Firmware Plugins.
◆ IFirmware()
◆ ~IFirmware()
IFirmware::~IFirmware |
( |
| ) |
|
|
override |
◆ checkCommand
void IFirmware::checkCommand |
( |
const QByteArray & |
lastMessage | ) |
|
|
slot |
call Validate Command
- Parameters
-
lastMessage | last message from printer |
◆ core()
AtCore * IFirmware::core |
( |
| ) |
const |
AtCore Parent of the firmware plugin.
- Returns
◆ init()
void IFirmware::init |
( |
AtCore * |
parent | ) |
|
◆ isSdSupported()
virtual bool IFirmware::isSdSupported |
( |
| ) |
const |
|
pure virtual |
◆ name()
virtual QString IFirmware::name |
( |
| ) |
const |
|
pure virtual |
◆ readyForCommand
void IFirmware::readyForCommand |
( |
void |
| ) |
|
|
signal |
emit when firmware is ready for a command
◆ translate()
QByteArray IFirmware::translate |
( |
const QString & |
command | ) |
|
|
virtual |
Virtual translate to be reimplemented by Firmwareplugin.
Translate common commands to firmware specific command.
- Parameters
-
command | Command command to translate |
- Returns
- firmware specific translated command
Reimplemented in GrblPlugin, and TeacupPlugin.
◆ validateCommand()
void IFirmware::validateCommand |
( |
const QString & |
lastMessage | ) |
|
|
virtual |
◆ name
◆ sdSupport
bool IFirmware::sdSupport |
|
read |
The documentation for this class was generated from the following files: