/opt/ros/diamondback/stacks/ethzasl_aseba/asebaros/aseba/svn/cmd/cmd.cpp File Reference

#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>
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::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).

Function Documentation

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

Definition at line 571 of file cmd.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:41:55 2011