Fawkes API Fawkes Development Version
|
Thread loop listener interface. More...
#include <>>
Public Member Functions | |
virtual | ~ThreadLoopListener () |
Virtual empty destructor. More... | |
virtual void | pre_loop (Thread *thread) |
Empty stub for the pre loop function of the loop listener. More... | |
virtual void | post_loop (Thread *thread) |
Empty stub for the post loop function of the loop listener. More... | |
Thread loop listener interface.
A thread loop listener can be added to a thread to define pre and post loop tasks, which are executed before and after every loop.
Definition at line 31 of file thread_loop_listener.h.
|
virtual |
Virtual empty destructor.
Definition at line 37 of file thread_loop_listener.cpp.
|
virtual |
Empty stub for the post loop function of the loop listener.
This function is called by the thread every time after loop() returned. Provide a stub such that not every derived class must implement the function.
thread | thread this loop listener belongs to |
Reimplemented in fawkes::BlockedTimingLoopListener, and fawkes::SyncPointAspect.
Definition at line 57 of file thread_loop_listener.cpp.
|
virtual |
Empty stub for the pre loop function of the loop listener.
This function is called by the thread every time before loop() is called. Provide a stub such that not every derived class must implement the function.
thread | thread this loop listener belongs to |
Reimplemented in fawkes::SyncPointAspect.
Definition at line 47 of file thread_loop_listener.cpp.