Classes | Namespaces | Functions
cmd.cpp File Reference
#include "../common/consts.h"
#include "../msg/msg.h"
#include "../utils/utils.h"
#include "../utils/HexFile.h"
#include "../utils/FormatableString.h"
#include "../utils/BootloaderInterface.h"
#include <dashel/dashel.h>
#include "../transport/dashel_plugins/dashel-plugins.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <iterator>
#include <cassert>
#include <cstring>
#include <memory>
Include dependency graph for cmd.cpp:

Go to the source code of this file.

Classes

class  Aseba::CmdBootloaderInterface

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::dumpVersion (std::ostream &stream)
 Show version.
void Aseba::errorBootloader (const string &message)
 Produce an error message and quit.
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 (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.
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)

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 396 of file cmd.cpp.



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