Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
virtual | ~MainLoopEmployer () |
Virtual empty destructor. More... | |
virtual void | set_mainloop_thread (Thread *mainloop_thread)=0 |
Main loop employer The MainLoopEmployer calls the main loop for execution. It is usually implemented in the main program.
Definition at line 35 of file employer.h.
|
virtual |
Virtual empty destructor.
Definition at line 49 of file employer.cpp.
|
pure virtual |
Set a new main loop. Set the main loop. An exception should be thrown if anything prevents this from happening successful.
mainloop_thread | new main loop thread. The caller of this method must ensure that the thread operates in wait-for-wakeup mode and executes the main loop as its loop() method (i.e. the thread must have a properly initialized MainLoopAspect). |
Implemented in fawkes::FawkesMainThread.