16template <
typename Function,
typename Object,
typename Argument>
27 : mObject(pObject), mMember(pfnMember), mArgument(argument) {
81 (mObject->*mMember)(mArgument);
118template <
typename Function,
typename Object,
typename Argument>
Unit of work a Scheduler runs at a set time.
Definition command.h:13
Command that calls a member function of an object with one argument.
Definition memfun1command.h:17
~MemFun1Command() override=default
Release the command.
void Execute() override
Call the member function with the argument.
Definition memfun1command.h:80
MemFun1Command(Object *pObject, Function pfnMember, Argument argument)
Bind a member function and its argument to an object.
Definition memfun1command.h:26
Command * NewMemFun1Command(Object *pObject, Function pfnMember, Argument argument)
Allocate a command that calls a member function of an object with one argument.
Definition memfun1command.h:119