In file /home/eternity/Source/Common/Runable/H/runable.h:

class Runable : public Debugable

Runable class

Inheritance:

Runable < Debugable


Public Methods

void Runable::MaskAllSignals ()
Mask all signals
Runable::Runable (LogFile * logFile)
Runable constructor

Public

methods
Runable (LogFile * logFile = NULL)
Constructor
void MaskAllSignals ()
Do not send me signals (Signal manager will take care of them)
virtual void* Run (void * param)
Main thread function

Inherited from Debugable:

Public Methods

string* Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
Debugable::Debugable(LogFile * debugLogFile)
int Debugable::SetDebugOptions(int newLogOptions)
void Debugable::SetLogFile(LogFile *aLogFile)
void Debugable::WriteString(LogLevel debugLevel, char * format, ...)
Debugable::~Debugable()

Public

attributes

int debugOptions
What messages should be logged
LogFile* logFile
Log file for debug messages

Documentation

Runable class. This class forces its offsprings to implement method Run used for execution in a separate thread. All objects that have to run as a thread should inherit from this class.
methods

Runable(LogFile * logFile = NULL)
Constructor

void MaskAllSignals()
Do not send me signals (Signal manager will take care of them)

virtual void* Run(void * param)
Main thread function

void Runable::MaskAllSignals()
Mask all signals. All threads except SignalManager *have* to mask all signals for library to direct all signals to SignalManager.
Returns:
void
Author:
Pechy
See Also:
SignalManager, thread discussion, Shutdownable

Runable::Runable(LogFile * logFile)
Runable constructor. Initializes its parent class.
Parameters:
logFile - Log file for writing debug messages.
Author:
Venca
See Also:
Debugable, LogFile


Direct child classes:
Translator
SixMajordomo
SignalManager
Sender
Scheduler
Receiver
PaddingGenerator
Padder
Majordomo
Majordomo
Linker
Chopper
Author:
Pechy Venca
See Also:
Debugable LogFile SignalManager

alphabetic index hierarchy of classes


generated by doc++