18 #ifndef sitkFunctionCommand_h
19 #define sitkFunctionCommand_h
42 virtual void Execute(
void);
50 m_Function = nsstd::bind(pMemberFunction,
object);
54 void SetCallbackFunction (
void(* pFunction )() );
61 void SetCallbackFunction(
void(* pFunction )(
void *),
void *clientData );
nsstd::function< void()> FunctionObjectType
A Command class which allows setting an external function, or member function.
FunctionObjectType m_Function
An implementation of the Command design pattern for callback.
void SetCallbackFunction(T *object, void(T::*pMemberFunction)())
#define SITKCommon_EXPORT