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


Public Member Functions | |
| ACE_Command_Callback (RECEIVER &recvr, ACTION action) | |
| virtual | ~ACE_Command_Callback (void) |
| Virtual destructor. | |
| virtual int | execute (void *arg=0) |
| Invokes the method from the object . | |
Private Attributes | |
| RECEIVER & | receiver_ |
| Object where the method resides. | |
| ACTION | action_ |
| Method that is going to be invoked. | |
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 60 of file Functor_T.h.
|
||||||||||||||||
|
Constructor: sets the of the Command to recvr, and the of the Command to . Definition at line 27 of file Functor_T.cpp.
|
|
||||||||||
|
Virtual destructor.
Definition at line 35 of file Functor_T.cpp.
00036 {
00037 }
|
|
||||||||||
|
Invokes the method from the object .
Implements ACE_Command_Base. Definition at line 42 of file Functor_T.cpp. References ACE_Command_Callback< RECEIVER, ACTION >::receiver_.
|
|
|||||
|
Method that is going to be invoked.
Definition at line 78 of file Functor_T.h. |
|
|||||
|
Object where the method resides.
Definition at line 75 of file Functor_T.h. Referenced by ACE_Command_Callback< RECEIVER, ACTION >::execute(). |
1.3.6