ACE 8.0.1
|
Defines a class template that allows us to invoke a member function using the GoF command style callback. More...
#include <Functor_T.h>
Public Types | |
typedef void(RECEIVER::* | PTMF) () |
Public Member Functions | |
ACE_Member_Function_Command (RECEIVER &recvr, PTMF ptmf) | |
virtual | ~ACE_Member_Function_Command ()=default |
Virtual destructor. | |
virtual int | execute (void *) |
![]() | |
ACE_Command_Base () | |
Default constructor. | |
virtual | ~ACE_Command_Base ()=default |
Virtual destructor. | |
Private Attributes | |
RECEIVER & | receiver_ |
Object where the method resides. | |
PTMF | ptmf_ |
Method that is going to be invoked. | |
Defines a class template that allows us to invoke a member function using the GoF command style callback.
typedef void(RECEIVER::* ACE_Member_Function_Command< RECEIVER >::PTMF) () |
|
inline |
Con Constructor: sets the <receiver_> of the Command to recvr, and the <action_> of the Command to <action>.
|
virtualdefault |
Virtual destructor.
|
inlinevirtual |
Invokes the method <action_> from the object <receiver_>. The parameter is ignored
Implements ACE_Command_Base.
|
private |
Method that is going to be invoked.
|
private |
Object where the method resides.