|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
48 ITK_DISALLOW_COPY_AND_MOVE(
Command);
57 itkOverrideGetNameOfClassMacro(
Command);
112 m_MemberFunction = memberFunction;
119 m_ConstMemberFunction = memberFunction;
126 if (m_MemberFunction)
128 (m_This->*(m_MemberFunction))(caller, event);
137 if (m_ConstMemberFunction)
139 (m_This->*(m_ConstMemberFunction))(caller, event);
145 T * m_This{
nullptr };
163 template <
typename T>
188 m_MemberFunction = memberFunction;
195 if (m_MemberFunction)
197 (m_This->*(m_MemberFunction))(event);
206 if (m_MemberFunction)
208 (m_This->*(m_MemberFunction))(event);
214 T * m_This{
nullptr };
231 template <
typename T>
255 m_MemberFunction = memberFunction;
262 if (m_MemberFunction)
264 (m_This->*(m_MemberFunction))();
272 if (m_MemberFunction)
274 (m_This->*(m_MemberFunction))();
279 T * m_This{
nullptr };
296 template <
typename T>
320 m_MemberFunction = memberFunction;
327 if (m_MemberFunction)
329 (m_This->*(m_MemberFunction))();
337 if (m_MemberFunction)
339 (m_This->*(m_MemberFunction))();
344 const T * m_This{
nullptr };
386 SetClientData(
void * cd);
411 void * m_ClientData{
nullptr };
void(T::*)() TMemberFunctionPointer
A Command subclass that calls a std::function object.
void SetCallbackFunction(T *object, TConstMemberFunctionPointer memberFunction)
A Command subclass that calls a pointer to a member function.
void SetCallbackFunction(const T *object, TMemberFunctionPointer memberFunction)
void(T::*)(const Object *, const EventObject &) TConstMemberFunctionPointer
void Execute(Object *, const EventObject &) override
A Command subclass that calls a pointer to a member function.
void(*)(const Object *, const EventObject &, void *) ConstFunctionPointer
void Execute(const Object *caller, const EventObject &event) override
A Command subclass that calls a pointer to a member function.
void Execute(const Object *, const EventObject &) override
void(*)(void *) DeleteDataFunctionPointer
void Execute(Object *, const EventObject &event) override
std::function< void(const EventObject &)> FunctionObjectType
Superclass for callback/observer methods.
void Execute(const Object *, const EventObject &event) override
void Execute(Object *caller, const EventObject &event) override
class ITK_FORWARD_EXPORT Command
void Execute(const Object *, const EventObject &) override
void Execute(Object *, const EventObject &) override
void SetCallbackFunction(T *object, TMemberFunctionPointer memberFunction)
A Command subclass that calls a pointer to a member function.
void SetCallbackFunction(T *object, TMemberFunctionPointer memberFunction)
void(T::*)() const TMemberFunctionPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void SetCallbackFunction(T *object, TMemberFunctionPointer memberFunction)
void(*)(Object *, const EventObject &, void *) FunctionPointer
Base class for most ITK classes.
Abstraction of the Events used to communicating among filters and with GUIs.
A Command subclass that calls a pointer to a C function.
void(T::*)(const EventObject &) TMemberFunctionPointer
void(T::*)(Object *, const EventObject &) TMemberFunctionPointer