Voxel
0.5.6
|
#include <Downloader.h>
Public Types | |
typedef Function< void(float)> | ProgressFunctionType |
Public Member Functions | |
Downloader (DevicePtr device) | |
virtual bool | download (const String &file)=0 |
void | setLogCallback (LoggerOutStream::LoggerOutStreamFunctionType f) |
void | removeLogCallback () |
void | setProgressFunction (ProgressFunctionType f) |
void | removeProgressFunction () |
float | getProgress () |
virtual | ~Downloader () |
Protected Member Functions | |
virtual bool | _locateFile (String &file) |
void | _setProgress (float progress) |
void | _setProgressIncrement (float progress) |
Protected Attributes | |
DevicePtr | _device |
LoggerOutStream | _outStream |
ProgressFunctionType | _progressFunction |
float | _progress = 0 |
Definition at line 23 of file Downloader.h.
typedef Function<void(float)> Voxel::Downloader::ProgressFunctionType |
Definition at line 26 of file Downloader.h.
|
inline |
Definition at line 54 of file Downloader.h.
|
inlinevirtual |
Definition at line 65 of file Downloader.h.
Definition at line 17 of file Downloader.cpp.
References Voxel::Configuration::getFirmwareFile().
Referenced by Voxel::USBDownloader::download().
|
inlineprotected |
Definition at line 37 of file Downloader.h.
Referenced by Voxel::TI::TintinEEPROMDownloader::_configureForDownload(), Voxel::USBDownloader::_configureForDownload(), Voxel::TI::TintinEEPROMDownloader::_download(), Voxel::USBDownloader::_download(), and Voxel::USBDownloader::download().
|
inlineprotected |
Definition at line 48 of file Downloader.h.
Implemented in Voxel::USBDownloader.
|
inline |
Definition at line 63 of file Downloader.h.
Referenced by Voxel::TI::TintinEEPROMDownloader::_download(), and Voxel::USBDownloader::_download().
|
inline |
Definition at line 59 of file Downloader.h.
|
inline |
Definition at line 62 of file Downloader.h.
|
inline |
Definition at line 58 of file Downloader.h.
|
inline |
Definition at line 61 of file Downloader.h.
|
protected |
Definition at line 29 of file Downloader.h.
Referenced by Voxel::TI::TintinEEPROMDownloader::_configureForDownload().
|
protected |
Definition at line 30 of file Downloader.h.
Referenced by Voxel::TI::TintinEEPROMDownloader::_configureForDownload(), Voxel::USBDownloader::_configureForDownload(), Voxel::TI::TintinEEPROMDownloader::_download(), Voxel::TI::TintinEEPROMDownloader::_getEEPROMStatus(), Voxel::TI::TintinEEPROMDownloader::_printEEPROMFirst64Bytes(), and Voxel::USBDownloader::download().
|
protected |
Definition at line 36 of file Downloader.h.
|
protected |
Definition at line 32 of file Downloader.h.