#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>
#include <readline/history.h>
#include <vector>
#include <selforg/stl_adds.h>
#include <selforg/abstractcontroller.h>
#include "globaldata.h"
#include "odeagent.h"
Include dependency graph for console.cpp:
Namespaces | |
namespace | lpzrobots |
Classes | |
struct | COMMAND |
Typedefs | |
typedef bool(*) | lpzrobots::commandfunc_t (GlobalData &globalData, char *, char *) |
Functions | |
bool | lpzrobots::com_list (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_show (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_store (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_load (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_set (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_help (GlobalData &globalData, char *, char *) |
bool | lpzrobots::com_quit (GlobalData &globalData, char *, char *) |
char * | lpzrobots::stripwhite (char *string) |
COMMAND * | lpzrobots::find_command (char *name) |
bool | lpzrobots::execute_line (GlobalData &globalData, char *line) |
int | lpzrobots::valid_argument (const char *caller, const char *arg) |
void | lpzrobots::showParams (const ConfigList &configs) |
shows all parameters of all given configurable objects | |
void | lpzrobots::showParam (const Configurable *config) |
char * | lpzrobots::dupstr (const char *s) |
bool | lpzrobots::handleConsole (GlobalData &globalData) |
offers a console interface the possibility to change parameter of all configurable objects in globalData storeing and restoreing of controllers . | |
char * | lpzrobots::command_generator (const char *, int) |
char ** | lpzrobots::console_completion (const char *, int, int) |
void | lpzrobots::initializeConsole () |
should be called at the start | |
void | lpzrobots::closeConsole () |
should be called at the end (to store history) | |
Variables | |
COMMAND | lpzrobots::commands [] |