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

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- File List
- File Members

# cmdline.cpp File Reference

`#include <signal.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.
void | changeParams (ConfigList &configs, void(*onQuit)())
| Asks the user for changing a parameter of the configurable objects.
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

## 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 | ( |  | ) |

Examples:
  integration/main.cpp.

void cmd_end_input | ( |  | ) |

Examples:
  integration/main.cpp.

void cmd_handler_cleanup | ( | void |  | ) |

void cmd_handler_exit | ( | void |  | ) |

void cmd_handler_init | ( |  | ) |

Examples:
  integration/main.cpp.

void control_c | ( | int | i | ) |

bool control_c_pressed | ( |  | ) |

Examples:
  integration/main.cpp.

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, and template_sphererobot/main.cpp.

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

## Variable Documentation

int Control_C = 0

internals