Fawkes API
Fawkes Development Version
|
Thread notification listener interface. More...
#include <>>
Public Member Functions | |
virtual | ~ThreadNotificationListener () |
Virtual empty destructor. More... | |
virtual bool | thread_started (Thread *thread)=0 throw () |
Thread started successfully. More... | |
virtual bool | thread_init_failed (Thread *thread)=0 throw () |
Thread initialization failed. More... | |
Thread notification listener interface.
A thread notification listener can be added to a thread to be notified of a successful startup of if the initialization fails (and hence the thread is never started).
Definition at line 32 of file thread_notification_listener.h.
|
virtual |
Virtual empty destructor.
Definition at line 55 of file thread_notification_listener.cpp.
|
pure virtual |
Thread initialization failed.
This method is called by ThreadList if one of the threads in the list failed to initialize. This is not necessarily the thread that you registered the notification for. However, the argument is always the thread that you registered for, no matter which thread in the list failed.
thread | thread that you registered for |
Implemented in FvBaseThread, and fawkes::MainLoopAspectIniFin.
|
pure virtual |
Thread started successfully.
This is called by the thread itself when the thread started successfully.
thread | thread that started successfully |
Implemented in FvBaseThread, and fawkes::MainLoopAspectIniFin.