1 #if !defined(__COMMAND_HPP) 24 #if !defined(__COMMON_HPP) 28 #if !defined(__ABSTRACTCOMMAND_HPP) 29 #include <AbstractCommand.hpp> 34 DECLARE_CLASS( Command );
122 #endif // if !defined(__COMMAND_HPP) virtual void executeReverse(void)
If theReverseCommand is not null, call its execute method.
Definition: Command.cpp:99
CommandRef operator=(CommandCref)
Assignment operator.
Definition: Command.cpp:70
Command captures the semantics of allowing commands to be added as a reverse command type...
Definition: Command.hpp:44
virtual void setReverseCommand(AbstractCommandPtr)
Sets the reverse command pointer to be used by the executeReverse call.
Definition: Command.cpp:91
virtual ~Command(void)
Virtual Destructor.
Definition: Command.cpp:63
virtual AbstractCommandPtr getReverseCommand(void) const
Retrieves the reverse command.
Definition: Command.cpp:84
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
AbstractCommand captures the semantics of the capabilities of commands, which is basically to provide...
Definition: AbstractCommand.hpp:38
AbstractCommandPtr theReverseCommand
The infamous reverse command.
Definition: Command.hpp:115
bool operator==(CommandCref) const
Equality operator.
Definition: Command.cpp:77
Command(void)
Default Constructor.
Definition: Command.cpp:33