Torc
0.1
|
TorcQThread subclass to run a CFRunLoop. More...
#include <torcrunlooposx.h>
Protected Member Functions | |
TorcOSXCallbackThread () | |
~TorcOSXCallbackThread () | |
void | Start (void) |
void | Finish (void) |
Protected Member Functions inherited from TorcQThread | |
virtual void | run (void) |
void | Initialise (void) |
Performs Torc specific thread initialisation. More... | |
void | Deinitialise (void) |
Performs Torc specific thread cleanup. More... | |
Friends | |
class | TorcRunLoopOSX |
Additional Inherited Members | |
Signals inherited from TorcQThread | |
void | Started (void) |
void | Finished (void) |
Public Member Functions inherited from TorcQThread | |
TorcQThread (const QString &Name) | |
virtual | ~TorcQThread ()=default |
Static Public Member Functions inherited from TorcQThread | |
static void | SetMainThread (void) |
static bool | IsMainThread (void) |
static void | InitRand (void) |
TorcQThread subclass to run a CFRunLoop.
A CFRunLoop is only run by default in the main thread and a QThread generally cannot be created to run both a QEventLoop and CFRunLoop. TorcOSXCallbackThread is a singleton thread that is created by TorcRunLoopOSX for the purpose of receiving callbacks from OS X frameworks such as IOKit and DiskArbitration.
Definition at line 21 of file torcrunlooposx.h.
|
protected |
Definition at line 55 of file torcrunlooposx.cpp.
|
protected |
Definition at line 61 of file torcrunlooposx.cpp.
|
protectedvirtual |
Implements TorcQThread.
Definition at line 73 of file torcrunlooposx.cpp.
|
protectedvirtual |
Implements TorcQThread.
Definition at line 66 of file torcrunlooposx.cpp.
|
friend |
Definition at line 23 of file torcrunlooposx.h.