ARSTD::PopCommand Class Reference

Inheritance diagram for ARSTD::PopCommand:

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 ()

Detailed Description

This command makes the topmost stored command processor context from a stack beeing restored and used as current context. If the stack is empty nothing will be done.
Warning:
All commands that are in queue after this command are not executed.


Member Function Documentation

PopCommand::PtrType ARSTD::PopCommand::create (  )  [static]

Creates a new PopCommand command.

Returns:
Returns the new constructed command.

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

Returns a copy of the command.

Returns:
The copied command.

Implements ARSTD::Command.

std::string ARSTD::PopCommand::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