$search

cmd.cpp File Reference

#include "../common/consts.h"
#include <stdlib.h>
#include "../common/consts.h"
#include <vector>
#include <deque>
#include <string>
#include <map>
#include <set>
#include <utility>
#include <istream>
#include "errors_code.h"
#include "../common/types.h"
#include <sstream>
#include <iostream>
#include <cassert>
#include <cstdlib>
#include "../utils/FormatableString.h"
#include <stdexcept>
#include <dashel/dashel.h>
#include <fstream>
#include <iterator>
#include <cstring>
#include <memory>
Include dependency graph for cmd.cpp:
This graph shows which files directly or indirectly include this file:

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aseba
Author(s): Stéphane Magnenat
autogenerated on Sat Mar 2 12:31:39 2013