HyperspaceExplorer 0.7.1
Public Member Functions | Private Attributes
Script::SleepStmt Class Reference

"sleep <milliseconds>" More...

#include <Statement.h>

Inheritance diagram for Script::SleepStmt:
Inheritance graph
[legend]
Collaboration diagram for Script::SleepStmt:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

"sleep <milliseconds>"

pause for the specified amount of time


Constructor & Destructor Documentation

Script::SleepStmt::SleepStmt ( const Parser p,
const std::string _arg 
)
Parameters:
pThe context in which the Statement is executed
_argThe argument supplied to the Statement

References _msec, Script::Statement::arg(), Util::atou(), and Script::trailing().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:19 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo