Lumiera  0.pre.03
»edit your freedom«
ActivityDetector::FakeExecutionCtx Struct Reference

#include "/Werk/devel/lumi/tests/vault/gear/activity-detector.hpp"

Description

Mock setup of the execution context for Activity activation.

The instance #executionCtx is wired back with the #eventLog_ and allows thus to detect and verify all callbacks from the Activities.

Note
the return value of the #post and #tick functions can be changed to another fixed response by calling DiagnosticFun::returning

Definition at line 599 of file activity-detector.hpp.

Public Member Functions

 FakeExecutionCtx (ActivityDetector &detector)
 
 operator string () const
 

Public Attributes

_DiagnosticFun< SIG_done >::Type done
 
function< Time()> getSchedTime = [this]{ return SCHED_TIME_MARKER;}
 
_DiagnosticFun< SIG_post >::Type post
 
_DiagnosticFun< SIG_tick >::Type tick
 
_DiagnosticFun< SIG_work >::Type work
 
+ Collaboration diagram for ActivityDetector::FakeExecutionCtx:

The documentation for this struct was generated from the following file: