|
Nebula
|
#include <resourceloaderthread.h>
Inherits Thread.
Public Member Functions | |
| ResourceLoaderThread () | |
| constructor | |
| virtual | ~ResourceLoaderThread () |
| destructor | |
| void | Wait () |
| wait for the thread to be done (must be called from outside this thread!) | |
Private Member Functions | |
| __DeclareClass (ResourceLoaderThread) | |
| void | DoWork () override |
| perform work | |
| virtual void | EmitWakeupSignal () override |
| emit wakeup signal | |
Private Attributes | |
| Threading::SafeQueue< std::function< void()> > | jobs |
| Threading::Event | completeEvent |
| Ptr< IO::IoServer > | ioServer |
Friends | |
| class | ResourceLoader |
| Resources::ResourceLoaderThread::ResourceLoaderThread | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
overrideprivate |
perform work
|
overrideprivatevirtual |
emit wakeup signal
| void Resources::ResourceLoaderThread::Wait | ( | ) |
wait for the thread to be done (must be called from outside this thread!)
|
friend |
|
private |
|
private |
|
private |