Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cmdline.h File Reference
#include <selforg/configurable.h>
#include <vector>
Include dependency graph for cmdline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef vector< Configurable * > ConfigList
 

Functions

std::vector< string > splitString (const std::string &str, char seperator)
 
void showParams (const ConfigList &configs, FILE *file=0, const char *lineprefix=0)
 Shows the values of all parameters of the given configurable objects. More...
 
void changeParams (ConfigList &configs, void(*onTerminate)()=0)
 Asks the user for changing a parameter of the configurable objects. More...
 
bool control_c_pressed ()
 
void cmd_begin_input ()
 
void cmd_handler_init ()
 
void cmd_end_input ()
 

Typedef Documentation

typedef vector<Configurable*> ConfigList

Function Documentation

void changeParams ( ConfigList configs,
void(*)()  onTerminate = 0 
)

Asks the user for changing a parameter of the configurable objects.

void cmd_begin_input ( )
void cmd_end_input ( )
void cmd_handler_init ( )
bool control_c_pressed ( )
void showParams ( const ConfigList configs,
FILE *  file = 0,
const char *  lineprefix = 0 
)

Shows the values of all parameters of the given configurable objects.

std::vector<string> splitString ( const std::string &  str,
char  seperator 
)