- Fixed some bugs in command processing, added the configure-cpu-policy command

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@748 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-07-10 22:28:51 +00:00
parent 1a6805afc4
commit 6150af3d30
8 changed files with 196 additions and 77 deletions

View file

@ -35,6 +35,7 @@
#include <glibmm/thread.h>
#include <glibmm/ustring.h>
#include <utility>
#include <map>
namespace sgpem
@ -107,7 +108,7 @@ namespace sgpem
\li getpolicyattributes <br>
Prints the name and the value of the policy's attributes
*/
static void parse_command(std::pair< std::pair<TextSimulation*, IOManager*>, const Glib::ustring >);
static void parse_command(TextSimulation &sim, const Glib::ustring& str);
/**
Adds an available I/O device.
@ -122,6 +123,7 @@ namespace sgpem
private:
void arguments_ignored(const Tokens& arguments);
void on_run(const Tokens& arguments);
void on_pause(const Tokens& arguments);
void on_stop(const Tokens& arguments);