1 #if !defined(__ABSTRACTCOMMAND_HPP)
2 #define __ABSTRACTCOMMAND_HPP
24 #if !defined(__COMMON_HPP)
30 DECLARE_CLASS( AbstractCommand );
76 virtual void execute(
void ) = 0;
89 #endif // if !defined(__ABSTRACTCOMMAND_HPP)
virtual void executeReverse(void)=0
Execute the reverse command.
virtual ~AbstractCommand(void)
Virtual Destructor.
Definition: AbstractCommand.cpp:51
AbstractCommand captures the semantics of the capabilities of commands, which is basically to provide...
Definition: AbstractCommand.hpp:38
AbstractCommand(void)
Default Constructor.
Definition: AbstractCommand.cpp:33
AbstractCommandRef operator=(AbstractCommandCref)
Assignment operator.
Definition: AbstractCommand.cpp:58
virtual void execute(void)=0
Execute the command.
Synchronized is a mixin which allows class objects to enable monitor functionality.
Definition: Synchronized.hpp:41
bool operator==(AbstractCommandCref) const
Equality operator.
Definition: AbstractCommand.cpp:65