Fawkes API  Fawkes Development Version
fawkes::BlockedTimingLoopListener Class Reference

#include <blocked_timing.h>

Inheritance diagram for fawkes::BlockedTimingLoopListener:

Public Member Functions

void post_loop (Thread *thread)
 The post loop function of the BlockedTimingAspect This function is called right after the loop of the thread with the aspect. More...
 
- Public Member Functions inherited from fawkes::ThreadLoopListener
virtual ~ThreadLoopListener ()
 Virtual empty destructor. More...
 
virtual void pre_loop (Thread *thread)
 Empty stub for the pre loop function of the loop listener. More...
 

Detailed Description

Loop Listener of the BlockedTimingAspect. This loop listener immediately wakes up the thread after loop returned. The thread will then wait for the syncpoint of the next iteration. The BlockedTimingAspect cannot be derived from ThreadLoopListener because the SyncPointAspect is already derived from ThreadLoopListener and we need another listener. Therefore, use composition instead.

Definition at line 50 of file blocked_timing.h.

Member Function Documentation

◆ post_loop()

void fawkes::BlockedTimingLoopListener::post_loop ( Thread thread)
virtual

The post loop function of the BlockedTimingAspect This function is called right after the loop of the thread with the aspect.

Parameters
threadthread this loop listener belongs to

Reimplemented from fawkes::ThreadLoopListener.

Definition at line 175 of file blocked_timing.cpp.


The documentation for this class was generated from the following files: