#include "../msg/msg.h"
#include <stdlib.h>
#include <vector>
#include <deque>
#include <string>
#include <map>
#include <set>
#include <utility>
#include <istream>
#include <iostream>
#include <cassert>
#include <dashel/dashel.h>
#include "../common/types.h"
#include <sstream>
#include <fstream>
#include <iterator>
#include <cstring>
Go to the source code of this file.
Classes | |
class | Aseba::BootloaderInterface |
Manage interactions with an aseba-compatible bootloader. More... | |
Namespaces | |
namespace | Aseba |
Functions | |
void | Aseba::dumpCommandList (ostream &stream) |
Show list of known commands. | |
void | Aseba::dumpHelp (ostream &stream, const char *programName) |
Show usage. | |
void | Aseba::errorHexFile (const string &message) |
Produce an error message and quit. | |
void | Aseba::errorMissingArgument (const char *programName) |
Produce an error message and dump help and quit. | |
void | Aseba::errorOpenFile (const char *fileName) |
Produce an error message and quit. | |
void | Aseba::errorReadPage (unsigned pageIndex, unsigned pagesStart, unsigned pagesCount) |
Produce an error message and quit. | |
void | Aseba::errorReadPage (unsigned pageIndex) |
Produce an error message and quit. | |
void | Aseba::errorReadPage (int pageNumber) |
Produce an error message and quit. | |
void | Aseba::errorServerDisconnected () |
Produce an error message and quit. | |
void | Aseba::errorUnknownCommand (const char *cmd) |
Produce an error message and dump help and quit. | |
void | Aseba::errorWriteFile (const char *fileName) |
Produce an error message and quit. | |
void | Aseba::errorWritePage (unsigned pageIndex) |
Produce an error message and quit. | |
int | main (int argc, char *argv[]) |
int | Aseba::processCommand (Stream *stream, int argc, char *argv[]) |
Process a command, return the number of arguments eaten (not counting the command itself). |