Public Member Functions

zeus::IThread Class Reference

#include <IThread.hpp>

Inheritance diagram for zeus::IThread:
zeus::IZUnknown zeus::TAbstractMainThread zeus::TThread TQTMainThread zeus::TConsoleMainThread zeus::TAbstractSkel zeus::TAbstractSkel::TClientHandlerThread zeus::TPeerFinder zeus::TPeerProvider zeus::TCommPipe_Skel zeus::TMessagePool_Skel zeus::TMessageServerConnection_Skel zeus::TNamedContext_Skel

List of all members.

Public Member Functions

virtual Uint MQUALIFIER getThreadID () const =0
virtual bool MQUALIFIER isInterrupted () const =0

Detailed Description

This interface is used internally for thread manager and event classes.


Member Function Documentation

virtual Uint MQUALIFIER zeus::IThread::getThreadID (  ) const [pure virtual]

Returns the platorm specific thread ID (handle)

Implemented in zeus::TAbstractMainThread, and zeus::TThread.

virtual bool MQUALIFIER zeus::IThread::isInterrupted (  ) const [pure virtual]

Checks if the thread is interrupted. This flag must be asked inside the execute method, to abort the process.

Return values:
true: Interrupt flag is set
false: Interrupt flag is not set

Implemented in zeus::TAbstractMainThread, and zeus::TThread.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:36