The IFirmware class Base Class for Firmware Plugins.
More...
#include <ifirmware.h>
The IFirmware class Base Class for Firmware Plugins.
◆ IFirmware()
◆ ~IFirmware()
IFirmware::~IFirmware |
( |
| ) |
|
|
overridedefault |
◆ 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: