command_pattern::Command

class Command

The Command interface declares methods for executing and undoing commands.

Subclassed by command_pattern::ConcreteCommand

Public Functions

virtual void execute() const = 0

Execute the command.

virtual void undo() const = 0

Undo the command.