Nebula
Loading...
Searching...
No Matches
Jobs2::JobThread Class Reference

#include <jobs2.h>

Inherits Thread.

Public Member Functions

 JobThread ()
 constructor
 
virtual ~JobThread ()
 destructor
 
void SignalWorkAvailable ()
 Signal new work available.
 

Public Attributes

bool enableIo
 
bool enableProfiling
 

Protected Member Functions

virtual void EmitWakeupSignal () override
 override this method if your thread loop needs a wakeup call before stopping
 
virtual void DoWork () override
 this method runs in the thread context
 

Private Member Functions

 __DeclareClass (JobThread)
 

Private Attributes

Threading::Event wakeupEvent
 

Constructor & Destructor Documentation

◆ JobThread()

Jobs2::JobThread::JobThread ( )

constructor

◆ ~JobThread()

Jobs2::JobThread::~JobThread ( )
virtual

destructor

Member Function Documentation

◆ __DeclareClass()

Jobs2::JobThread::__DeclareClass ( JobThread )
private

◆ DoWork()

void Jobs2::JobThread::DoWork ( )
overrideprotectedvirtual

this method runs in the thread context

◆ EmitWakeupSignal()

void Jobs2::JobThread::EmitWakeupSignal ( )
overrideprotectedvirtual

override this method if your thread loop needs a wakeup call before stopping

◆ SignalWorkAvailable()

void Jobs2::JobThread::SignalWorkAvailable ( )

Signal new work available.

Member Data Documentation

◆ enableIo

bool Jobs2::JobThread::enableIo

◆ enableProfiling

bool Jobs2::JobThread::enableProfiling

◆ wakeupEvent

Threading::Event Jobs2::JobThread::wakeupEvent
private

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