Public Member Functions | |
FASP_MANAGER_API | CallbackFunctor (T *obj, void(T::*fnct)(callback_event_e cb_event, const JobStats *, const FileStats *)) |
FASP_MANAGER_API | CallbackFunctor (CallbackFunctor &functor) |
FASP_MANAGER_API | ~CallbackFunctor () |
Destructs this FASP callback functor. | |
FASP_MANAGER_API Functor * | Clone () |
FASP_MANAGER_API void | operator() (callback_event_e cb_event, const JobStats *j_stats, const FileStats *f_stats) |
FASP_MANAGER_API bool | CompareWith (const Functor *other) |
![]() | |
virtual | ~Functor () |
Destructs this FASP functor. | |
A class providing a functor for use in FASP management callbacks. It is required that the implementation of the callback function return quickly. Any time consuming tasks must be performed on a different thread.
|
inline |
Constructs this FASP callback functor.
obj | the object used in the callback |
fnct | the function pointer used in the callback |
|
inline |
Copy constructs this FASP callback functor.
functor | the Fasp callback functor to be copy constructed |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Overloads the "()" operator (the function call operator) for this FASP callback functor.
cb_event | the event on which the callback is performed |
j_stats | the FASP Job stats |
f_stats | the current FASP Job file stats |
Implements Functor.