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.cpp File Reference
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include "cmdline.h"
Include dependency graph for cmdline.cpp:

Functions

void showParams (const ConfigList &configs, FILE *f, const char *lineprefix)
 Shows the values of all parameters of the given configurable objects. More...
 
void changeParams (ConfigList &configs, void(*onQuit)())
 Asks the user for changing a parameter of the configurable objects. More...
 
vector< string > splitString (const string &str, char seperator)
 
void cmd_handler_exit (void)
 
void cmd_handler_cleanup (void)
 
void control_c (int i)
 
void cmd_handler_init ()
 
bool control_c_pressed ()
 
void cmd_begin_input ()
 
void cmd_end_input ()
 

Variables

int Control_C =0
 internals More...
 

Function Documentation

void changeParams ( ConfigList configs,
void(*)()  onQuit 
)

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

Examples:
integration/main.cpp.
void cmd_begin_input ( )
void cmd_end_input ( )
void cmd_handler_cleanup ( void  )
void cmd_handler_exit ( void  )
void cmd_handler_init ( )
void control_c ( int  i)
bool control_c_pressed ( )
void showParams ( const ConfigList configs,
FILE *  f,
const char *  lineprefix 
)

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

Examples:
integration/main.cpp.
vector<string> splitString ( const string &  str,
char  seperator 
)

Variable Documentation

int Control_C =0

internals