CodeSubWars 0.4.7b
ARSTD::PopCommand Class Reference

#include <BasicCommands.h>

Inheritance diagram for ARSTD::PopCommand:

Public Member Functions

virtual ARSTD::Command::PtrType copy () const
virtual std::string getName () const
- Public Member Functions inherited from ARSTD::Command
virtual PtrType copy () const =0
virtual std::string getName () const =0
virtual bool wasExecuted () const
virtual double getProgress () 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.

All commands that are in queue after this command are not executed.

Member Function Documentation

◆ copy()

ARSTD::Command::PtrType ARSTD::PopCommand::copy ( ) const

Returns a copy of the command.

The copied command.

Implements ARSTD::Command.

◆ create()

PopCommand::PtrType ARSTD::PopCommand::create ( )

Creates a new PopCommand command.

Returns the new constructed command.

◆ getName()

std::string ARSTD::PopCommand::getName ( ) const

Returns the name of the command.

The name of the command.

Implements ARSTD::Command.

Generated at Sun Aug 7 2022 for project CodeSubWars.