#include <Functor_T.h>
Inheritance diagram for ACE_Command_Callback:


Public Methods | |
| ACE_Command_Callback (RECEIVER &recvr, ACTION action) | |
| Constructor: sets the <receiver_> of the Command to recvr, and the <action_> of the Command to <action>. More... | |
| virtual | ~ACE_Command_Callback (void) |
| Virtual destructor. More... | |
| virtual int | execute (void *arg=0) |
| Invokes the method <action_> from the object <receiver_>. More... | |
Private Attributes | |
| RECEIVER & | receiver_ |
| Object where the method resides. More... | |
| ACTION | action_ |
| Method that is going to be invoked. More... | |
This class declares an interface to execute operations, binding a RECEIVER object with an ACTION. The RECEIVER knows how to implement the operation. A class can invoke operations without knowing anything about it, or how it was implemented.
Definition at line 56 of file Functor_T.h.
|
||||||||||||||||
|
Constructor: sets the <receiver_> of the Command to recvr, and the <action_> of the Command to <action>.
Definition at line 28 of file Functor_T.cpp.
|
|
||||||||||
|
Virtual destructor.
Definition at line 36 of file Functor_T.cpp.
00037 {
00038 }
|
|
||||||||||
|
Invokes the method <action_> from the object <receiver_>.
Implements ACE_Command_Base. Definition at line 43 of file Functor_T.cpp. References action_, and receiver_.
|
|
|||||
|
Method that is going to be invoked.
Definition at line 74 of file Functor_T.h. Referenced by execute. |
|
|||||
|
Object where the method resides.
Definition at line 71 of file Functor_T.h. Referenced by execute. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002