#include <Functor.h>
Public Member Functions | |
ACE_Command_Base (void) | |
Default constructor. | |
virtual | ~ACE_Command_Base (void) |
Virtual destructor. | |
virtual int | execute (void *arg=0)=0 |
This class declares an interface to execute a command independent of the effect of the command, or the objects used to implement it.
ACE_Command_Base::ACE_Command_Base | ( | void | ) | [inline] |
Default constructor.
ACE_Command_Base::~ACE_Command_Base | ( | void | ) | [virtual] |
Virtual destructor.
virtual int ACE_Command_Base::execute | ( | void * | arg = 0 |
) | [pure virtual] |
Invokes the method encapsulated by the command, passing along the passed argument (if any). Users of classes derived from this class must ensure that the resulting invocation can tolerate a null void pointer being passed, or otherwise ensure that this will never occur.
Implemented in ACE_Command_Callback< RECEIVER, ACTION >.