MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / SetCallbackFunction

Function SetCallbackFunction

Code/Common/include/sitkFunctionCommand.h:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 */
49 template <class T>
50 void
51 SetCallbackFunction(T * object, void (T::*pMemberFunction)())
52 {
53 m_Function = [object, pMemberFunction] { std::invoke(pMemberFunction, object); };
54 }
55
56 /** Set a C-Style function to be called in the Execute method */
57 void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected