CSWWaitCommand Class Reference

Inheritance diagram for CSWWaitCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ARSTD::Command::PtrType copy () const
virtual std::string getName () const

Static Public Member Functions

static PtrType create (double fWaitTime)

Detailed Description

This is a specialization of a command. It provides the functionality to let the execution waits a given period.


Member Function Documentation

CSWWaitCommand::PtrType CSWWaitCommand::create ( double  fWaitTime  )  [static]

Creates a new wait command.

Parameters:
fWaitTime The time in seconds that should be waited.
Returns:
Returns the new constructed command.

ARSTD::Command::PtrType CSWWaitCommand::copy (  )  const [virtual]

Returns a copy of the command.

Returns:
The copied command.

Implements ARSTD::Command.

std::string CSWWaitCommand::getName (  )  const [virtual]

Returns the name of the command.

Returns:
The name of the command.

Implements ARSTD::Command.


Generated at 2 Jan 2007 for project CodeSubWars. www.codesubwars.org