Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
Aseba::ThymioBootloaderDialog Class Reference

#include <ThymioBootloader.h>

Inheritance diagram for Aseba::ThymioBootloaderDialog:
Inheritance graph
[legend]

List of all members.

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::Streamstream
Targettarget
QVBoxLayout * verticalLayout

Detailed Description

Definition at line 26 of file ThymioBootloader.h.


Member Typedef Documentation

typedef std::map<uint32, std::vector<uint8> > Aseba::ThymioBootloaderDialog::PageMap [private]

Definition at line 41 of file ThymioBootloader.h.


Constructor & Destructor Documentation

Definition at line 17 of file ThymioBootloader.cpp.

Definition at line 64 of file ThymioBootloader.cpp.


Member Function Documentation

void Aseba::ThymioBootloaderDialog::ackReceived ( unsigned  error_code,
unsigned  address 
) [private, slot]

Definition at line 184 of file ThymioBootloader.cpp.

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.

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.

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.

Definition at line 87 of file ThymioBootloader.cpp.

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.


Member Data Documentation

PageMap::iterator Aseba::ThymioBootloaderDialog::currentPage [private]

Definition at line 43 of file ThymioBootloader.h.

Definition at line 50 of file ThymioBootloader.h.

Definition at line 36 of file ThymioBootloader.h.

Definition at line 32 of file ThymioBootloader.h.

Definition at line 38 of file ThymioBootloader.h.

Definition at line 33 of file ThymioBootloader.h.

Definition at line 35 of file ThymioBootloader.h.

Definition at line 46 of file ThymioBootloader.h.

Definition at line 42 of file ThymioBootloader.h.

Definition at line 39 of file ThymioBootloader.h.

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.

Definition at line 47 of file ThymioBootloader.h.

Definition at line 31 of file ThymioBootloader.h.


The documentation for this class was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17