PauseCommand.cc Source File
Back to the index.
Go to the documentation of this file.
52 return "Pauses the current emulation.";
58 return "Pauses the emulation, by setting the "
59 "current RunState to Paused.";
68 static void Test_PauseCommand_Affect_RunState()
71 vector<string> dummyArguments;
83 cmd->Execute(gxemul, dummyArguments);
91 UNITTEST(Test_PauseCommand_Affect_RunState);
virtual string GetShortDescription() const
Returns a short (one-line) description of the command.
#define UNITTESTS(class)
Helper for unit test case execution.
A Command is a named function, executed by the CommandInterpreter.
#define UNITTEST(functionname)
Helper for unit test case execution.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)
Executes the command on a given GXemul instance.
static void Assert(const string &strFailMessage, bool condition)
Asserts that a boolean condition is correct.
void SetRunState(RunState newState)
Sets the RunState.
PauseCommand()
Constructs a PauseCommand.
virtual string GetLongDescription() const
Returns a long description/help message for the command.
RunState GetRunState() const
Gets the current RunState.
A Command which pauses execution, by changing the current RunState to Paused.
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18