#include <ThymioBootloader.h>
Public Member Functions | |
virtual void | closeAsSoonAsPossible () |
virtual QWidget * | createMenuEntry () |
virtual bool | surviveTabDestruction () const |
wether this tool should survive tab destruction, useful for flashers for instance | |
ThymioBootloaderDialog (NodeTab *nodeTab) | |
~ThymioBootloaderDialog () | |
Private Types | |
typedef std::map< uint32, std::vector< uint8 > > | PageMap |
Private Slots | |
void | ackReceived (unsigned error_code, unsigned address) |
void | doClose (void) |
void | doFlash (void) |
void | openFile (void) |
void | showFlashDialog () |
void | vmDisconnected (unsigned) |
Private Member Functions | |
void | closeEvent (QCloseEvent *event) |
void | flashDone (void) |
void | handleDashelException (Dashel::DashelException e) |
void | timerEvent (QTimerEvent *event) |
void | writePage (unsigned page, unsigned char *data) |
Private Attributes | |
PageMap::iterator | currentPage |
bool | deleteMyself |
QPushButton * | fileButton |
QHBoxLayout * | fileLayout |
QPushButton * | flashButton |
QHBoxLayout * | flashLayout |
QLineEdit * | lineEdit |
unsigned | nodeId |
PageMap | pageMap |
QProgressBar * | progressBar |
QPushButton * | quitButton |
QSpacerItem * | spacer |
Dashel::Stream * | stream |
Target * | target |
QVBoxLayout * | verticalLayout |
Definition at line 26 of file ThymioBootloader.h.
typedef std::map<uint32, std::vector<uint8> > Aseba::ThymioBootloaderDialog::PageMap [private] |
Definition at line 41 of file ThymioBootloader.h.
Definition at line 17 of file ThymioBootloader.cpp.
Definition at line 64 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::ackReceived | ( | unsigned | error_code, |
unsigned | address | ||
) | [private, slot] |
Definition at line 184 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::closeAsSoonAsPossible | ( | ) | [virtual] |
Implements Aseba::NodeToolInterface.
Definition at line 75 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::closeEvent | ( | QCloseEvent * | event | ) | [private] |
Definition at line 297 of file ThymioBootloader.cpp.
QWidget * Aseba::ThymioBootloaderDialog::createMenuEntry | ( | ) | [virtual] |
Implements Aseba::NodeToolInterface.
Definition at line 68 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::doClose | ( | void | ) | [private, slot] |
Definition at line 179 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::doFlash | ( | void | ) | [private, slot] |
Definition at line 108 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::flashDone | ( | void | ) | [private] |
Definition at line 249 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::handleDashelException | ( | Dashel::DashelException | e | ) | [private] |
Definition at line 305 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::openFile | ( | void | ) | [private, slot] |
Reimplemented from Aseba::InvasivePlugin.
Definition at line 102 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::showFlashDialog | ( | ) | [private, slot] |
Definition at line 87 of file ThymioBootloader.cpp.
bool Aseba::ThymioBootloaderDialog::surviveTabDestruction | ( | ) | const [virtual] |
wether this tool should survive tab destruction, useful for flashers for instance
Reimplemented from Aseba::NodeToolInterface.
Definition at line 82 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::timerEvent | ( | QTimerEvent * | event | ) | [private] |
Definition at line 276 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::vmDisconnected | ( | unsigned | node | ) | [private, slot] |
Definition at line 210 of file ThymioBootloader.cpp.
void Aseba::ThymioBootloaderDialog::writePage | ( | unsigned | page, |
unsigned char * | data | ||
) | [private] |
Definition at line 230 of file ThymioBootloader.cpp.
PageMap::iterator Aseba::ThymioBootloaderDialog::currentPage [private] |
Definition at line 43 of file ThymioBootloader.h.
bool Aseba::ThymioBootloaderDialog::deleteMyself [private] |
Definition at line 50 of file ThymioBootloader.h.
QPushButton* Aseba::ThymioBootloaderDialog::fileButton [private] |
Definition at line 36 of file ThymioBootloader.h.
QHBoxLayout* Aseba::ThymioBootloaderDialog::fileLayout [private] |
Definition at line 32 of file ThymioBootloader.h.
QPushButton* Aseba::ThymioBootloaderDialog::flashButton [private] |
Definition at line 38 of file ThymioBootloader.h.
QHBoxLayout* Aseba::ThymioBootloaderDialog::flashLayout [private] |
Definition at line 33 of file ThymioBootloader.h.
QLineEdit* Aseba::ThymioBootloaderDialog::lineEdit [private] |
Definition at line 35 of file ThymioBootloader.h.
unsigned Aseba::ThymioBootloaderDialog::nodeId [private] |
Definition at line 46 of file ThymioBootloader.h.
Definition at line 42 of file ThymioBootloader.h.
QProgressBar* Aseba::ThymioBootloaderDialog::progressBar [private] |
Definition at line 39 of file ThymioBootloader.h.
QPushButton* Aseba::ThymioBootloaderDialog::quitButton [private] |
Definition at line 37 of file ThymioBootloader.h.
QSpacerItem* Aseba::ThymioBootloaderDialog::spacer [private] |
Definition at line 34 of file ThymioBootloader.h.
Definition at line 48 of file ThymioBootloader.h.
Target* Aseba::ThymioBootloaderDialog::target [private] |
Definition at line 47 of file ThymioBootloader.h.
QVBoxLayout* Aseba::ThymioBootloaderDialog::verticalLayout [private] |
Definition at line 31 of file ThymioBootloader.h.