#include <Command.hpp>
Inheritance diagram for corelinux::Command


Public Methods | |
| Command ( void ) | |
| Default Constructor. | |
| Command ( CommandCref ) | |
| Copy constructor. | |
| Command ( AbstractCommandPtr ) | |
| Constructor with reverse command. | |
| virtual | ~Command ( void ) |
| Virtual Destructor. | |
| CommandRef | operator= ( CommandCref ) |
| Assignment operator. | |
| bool | operator== ( CommandCref ) const |
| Equality operator. | |
| virtual AbstractCommandPtr | getReverseCommand ( void ) const |
| Retrieves the reverse command. More... | |
| virtual void | setReverseCommand ( AbstractCommandPtr ) |
| Sets the reverse command pointer to be used by the executeReverse call. More... | |
| virtual void | executeReverse ( void ) |
| If theReverseCommand is not null, call its execute method. | |
Protected Attributes | |
| AbstractCommandPtr | theReverseCommand |
| The infamous reverse command. | |
It adds the reverse execution interface along with the storage for the AbstractCommand that is considered the reverse.
|
|
Retrieves the reverse command.
|
|
|
Sets the reverse command pointer to be used by the executeReverse call.
|