HyperspaceExplorer 0.7.1
|
"sleep <milliseconds>" More...
#include <Statement.h>
Public Member Functions | |
SleepStmt (const Parser *p, const std::string &_arg) | |
virtual bool | execute () |
Executes the statement in the current context. | |
Private Attributes | |
unsigned | _msec |
Number of milliseconds to sleep. |
"sleep <milliseconds>"
pause for the specified amount of time
Script::SleepStmt::SleepStmt | ( | const Parser * | p, |
const std::string & | _arg | ||
) |
p | The context in which the Statement is executed |
_arg | The argument supplied to the Statement |
References _msec, Script::Statement::arg(), Util::atou(), and Script::trailing().