ACE_Command_Callback< RECEIVER, ACTION > Class Template ReferenceDefines a class template that allows us to invoke a GOF command style callback to an object without knowing anything about the object except its type. More...
Inheritance diagram for ACE_Command_Callback< RECEIVER, ACTION >:
Collaboration diagram for ACE_Command_Callback< RECEIVER, ACTION >:
Detailed Descriptiontemplate<class RECEIVER, class ACTION>
Defines a class template that allows us to invoke a GOF command style callback to an object without knowing anything about the object except its type.
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Command_Callback< RECEIVER, ACTION >::ACE_Command_Callback | ( | RECEIVER & | recvr, | |
ACTION | action | |||
) | [inline] |
Constructor: sets the <receiver_> of the Command to recvr, and the <action_> of the Command to <action>.
ACE_Command_Callback< RECEIVER, ACTION >::~ACE_Command_Callback | ( | void | ) | [inline, virtual] |
Virtual destructor.
int ACE_Command_Callback< RECEIVER, ACTION >::execute | ( | void * | arg = 0 |
) | [inline, virtual] |
RECEIVER& ACE_Command_Callback< RECEIVER, ACTION >::receiver_ [private] |
Object where the method resides.
ACTION ACE_Command_Callback< RECEIVER, ACTION >::action_ [private] |
Method that is going to be invoked.