#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 vector<Configurable*> ConfigList |
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 | |||
) |