Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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 Attributes

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

Public Member Functions

 FakeExecutionCtx (ActivityDetector &detector)
 
 operator string () const
 

Constructor & Destructor Documentation

◆ FakeExecutionCtx()

FakeExecutionCtx ( ActivityDetector detector)
inline

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

Member Function Documentation

◆ operator string()

operator string ( ) const
inline

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

Member Data Documentation

◆ post

◆ work

◆ done

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

◆ tick

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

◆ getSchedTime

+ Collaboration diagram for ActivityDetector::FakeExecutionCtx:

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