Robot Simulator of the Robotics Group for Self-Organization of Control: console.cpp File Reference

# console.cpp File Reference

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <sys/ioctl.h>`
`#include <readline/readline.h>`
`#include <readline/history.h>`
`#include <vector>`
`#include <sstream>`
`#include <string>`
`#include <selforg/stl_adds.h>`
`#include <selforg/abstractcontroller.h>`
`#include "globaldata.h"`
`#include <map>`
`#include <selforg/stl_map.h>`
`#include <ode-dbl/common.h>`
`#include "substance.h"`
`#include "odeconfig.h"`
`#include <iostream>`
`#include <osg/Vec3>`
`#include <osg/Vec4>`
`#include <ode-dbl/ode.h>`
`#include <selforg/position.h>`
`#include "osgforwarddecl.h"`
`#include "color.h"`
`#include "colorschema.h"`
`#include "odehandle.h"`
`#include <osg/Matrix>`
`#include <selforg/plotoption.h>`
`#include <selforg/globaldatabase.h>`
`#include <selforg/backcallervector.h>`
`#include "odeagent.h"`
`#include "abstractground.h"`
Include dependency graph for console.cpp:
This graph shows which files directly or indirectly include this file:

## Classes
struct | COMMAND
## Namespaces
namespace | lpzrobots

| forward declarations
## Typedefs
typedef bool(* | commandfunc_t )(GlobalData &globalData, char *, char *)
typedef std::list< std::string > | ParameterList
## Functions
bool | com_list (GlobalData &globalData, char *, char *)
bool | com_show (GlobalData &globalData, char *, char *)
bool | com_store (GlobalData &globalData, char *, char *)
bool | com_load (GlobalData &globalData, char *, char *)
bool | com_storecfg (GlobalData &globalData, char *, char *)
bool | com_loadcfg (GlobalData &globalData, char *, char *)
bool | com_contrs (GlobalData &globalData, char *, char *)
bool | com_set (GlobalData &globalData, char *, char *)
bool | com_help (GlobalData &globalData, char *, char *)
bool | com_quit (GlobalData &globalData, char *, char *)
char * | stripwhite (char *string)
COMMAND * | find_command (char *name)
bool | execute_line (GlobalData &globalData, char *line)
int | valid_argument (const char *caller, const char *arg)
void | printConfigs (const ConfigList &configs)
void | printConfig (const Configurable *config)
char * | dupstr (const char *s)
char * | dupstrpluseq (const char *s)
vector< string > | splitstring (string s)
bool | handleConsole (GlobalData &globalData)
| offers a console interface the possibility to change parameter of all configurable objects in globalData storeing and restoreing of controllers .
char * | command_generator (const char *, int)
char * | params_generator (const char *, int)
char ** | console_completion (const char *, int, int)
void | initializeConsole ()
| should be called at the start
void | closeConsole ()
| should be called at the end (to store history)
int | getListLen (char **strings)
## Variables
COMMAND | commands []
ParameterList | parameters