Torc  0.1
Public Member Functions | List of all members
TorcAdminThread Class Reference

A simple thread to launch helper objects outside of the main loop. More...

#include <torcadminthread.h>

Inheritance diagram for TorcAdminThread:
[legend]

Public Member Functions

 TorcAdminThread ()
 
virtual ~TorcAdminThread ()=default
 
void Start (void)
 
void Finish (void)
 
- Public Member Functions inherited from TorcQThread
 TorcQThread (const QString &Name)
 
virtual ~TorcQThread ()=default
 

Additional Inherited Members

- Signals inherited from TorcQThread
void Started (void)
 
void Finished (void)
 
- Static Public Member Functions inherited from TorcQThread
static void SetMainThread (void)
 
static bool IsMainThread (void)
 
static void InitRand (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...
 

Detailed Description

A simple thread to launch helper objects outside of the main loop.

When run, TorcAdminThread will iterate over each statically registered TorcAdminObject subclass and call create on each. When the thread is closing, objects are then destroyed in reverse order.

See also
TorcAdminObject
Todo:
Add a mechanism to add and remove TorcAdminObject's dynamically

Definition at line 12 of file torcadminthread.h.

Constructor & Destructor Documentation

TorcAdminThread::TorcAdminThread ( )

Definition at line 43 of file torcadminthread.cpp.

virtual TorcAdminThread::~TorcAdminThread ( )
virtualdefault

Member Function Documentation

void TorcAdminThread::Finish ( void  )
virtual

Implements TorcQThread.

Definition at line 56 of file torcadminthread.cpp.

void TorcAdminThread::Start ( void  )
virtual

Implements TorcQThread.

Definition at line 48 of file torcadminthread.cpp.


The documentation for this class was generated from the following files: