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.
void changeParams (ConfigList &configs, void(*onTerminate)()=0)
 Asks the user for changing a parameter of the configurable objects.
bool control_c_pressed ()
void cmd_begin_input ()
void cmd_handler_init ()
void cmd_end_input ()


Typedef Documentation

typedef vector<Configurable*> ConfigList

Examples:
integration/main.cpp.


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 
)


Generated on Fri Oct 30 16:29:01 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7