Thread aspect that allows to replace the main loop of the main application of Fawkes.
virtual void finalize(Thread *thread)
Finalize thread.
virtual void set_mainloop_thread(Thread *mainloop_thread)=0
Set a new main loop.
virtual bool thread_started(Thread *thread)
Thread started successfully.
void init_MainLoopAspect(BlockedTimingExecutor *btexec)
Initialize main loop aspect.
MainLoopAspectIniFin(MainLoopEmployer *employer, BlockedTimingExecutor *btexec)
Constructor.
virtual bool thread_init_failed(Thread *thread)
Thread initialization failed.
virtual void init(Thread *thread)
Initialize thread.
Main loop employer The MainLoopEmployer calls the main loop for execution.