![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "vault/gear/activity.hpp"
Extension point to invoke a callback from Activity activation.
Definition at line 153 of file activity.hpp.
Public Member Functions | |
| virtual | ~Hook () |
| this is an interface | |
| virtual Proc | activation (Activity &thisHook, Time now, void *executionCtx)=0 |
| Callback on activation of the corresponding HOOK-Activity. | |
| virtual Proc | notify (Activity &thisHook, Time now, void *executionCtx)=0 |
| Callback when dispatching a NOTIFY-Activity to thisHook. | |
| virtual Time | getDeadline () const =0 |
| virtual std::string | diagnostic () const |
| operator std::string () const | |
|
virtual |
this is an interface
Definition at line 41 of file activity-lang.cpp.
Callback on activation of the corresponding HOOK-Activity.
| thisHook | the Activity record wired to this hook |
| now | current »wall-clock-time« as used by the Scheduler |
| executionCtx | opaque pointer to the actual execution context |
size_t). Since the execution context is a concept, it is necessary to know the actual type of the concrete execution context and cast down in the implementation. This mechanism is used especially for detecting expected test invocations. Implemented in ActivityDetector::ActivityProbe.
Referenced by Activity::callHook().
Here is the caller graph for this function:Callback when dispatching a NOTIFY-Activity to thisHook.
Implemented in ActivityDetector::ActivityProbe.
Referenced by Activity::notifyHook().
Here is the caller graph for this function:
|
pure virtual |
Implemented in ActivityDetector::ActivityProbe.
Referenced by Activity::postNotify().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in ActivityDetector::ActivityProbe.
Definition at line 183 of file activity.hpp.
Referenced by Hook::operator std::string().
Here is the caller graph for this function:
|
inline |
Definition at line 188 of file activity.hpp.
References Hook::diagnostic().
Here is the call graph for this function:
Inheritance diagram for Hook:
Collaboration diagram for Hook: