Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Runnable Class Referenceabstract

#include <threadfac.h>

Public Member Functions

 Runnable ()
 
virtual ~Runnable ()
 
virtual void run (void *data)=0
 
void startThread (void *data, bit8 destroy=FALSE)
 
 Runnable ()
 
virtual ~Runnable ()
 
virtual void run (void *data)=0
 
void startThread (void *data, bit8 destroy=FALSE)
 

Static Public Member Functions

static bit8 isRunning (void)
 
static int getThreadCount ()
 
static bit8 isRunning (void)
 
static int getThreadCount ()
 

Friends

class ThreadFactory
 
void * threadClassLauncher (void *temp)
 
void * threadClassLauncher (void *temp)
 

Detailed Description

Definition at line 87 of file threadfac.h.

Constructor & Destructor Documentation

◆ Runnable() [1/2]

Runnable::Runnable ( )

Definition at line 199 of file threadfac.cpp.

◆ ~Runnable() [1/2]

Runnable::~Runnable ( )
virtual

Definition at line 202 of file threadfac.cpp.

◆ Runnable() [2/2]

Runnable::Runnable ( )

◆ ~Runnable() [2/2]

virtual Runnable::~Runnable ( )
virtual

Member Function Documentation

◆ getThreadCount() [1/2]

int Runnable::getThreadCount ( void )
static

Definition at line 214 of file threadfac.cpp.

◆ getThreadCount() [2/2]

static int Runnable::getThreadCount ( )
static

◆ isRunning() [1/2]

bit8 Runnable::isRunning ( void )
static

Definition at line 206 of file threadfac.cpp.

◆ isRunning() [2/2]

static bit8 Runnable::isRunning ( void )
static

◆ run() [1/2]

virtual void Runnable::run ( void * data)
pure virtual

◆ run() [2/2]

virtual void Runnable::run ( void * data)
pure virtual

◆ startThread() [1/2]

void Runnable::startThread ( void * data,
bit8 destroy = FALSE )
inline

Definition at line 107 of file threadfac.h.

◆ startThread() [2/2]

void Runnable::startThread ( void * data,
bit8 destroy = FALSE )
inline

Definition at line 107 of file threadfac.h.

Friends And Related Symbol Documentation

◆ threadClassLauncher [1/2]

void * threadClassLauncher ( void * temp)
friend

Definition at line 172 of file threadfac.cpp.

◆ threadClassLauncher [2/2]

void * threadClassLauncher ( void * temp)
friend

Definition at line 172 of file threadfac.cpp.

◆ ThreadFactory

ThreadFactory
friend

Definition at line 96 of file threadfac.h.


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