$treeview $search $mathjax
Stratagus  2.2.6
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
           Stratagus - A free fantasy real time strategy game engine

CThread Class Reference

#include <util.h>

Inheritance diagram for CThread:

GameLogic

List of all members.


util.cpp - General utilites.

virtual ~CThread ()
int Start ()
int Wait ()
void Exit ()
void Terminate ()

Public Member Functions

 CThread ()
virtual void Run ()=0
bool IsRunning () const
void SetExitFlag (int dExitCode=1)
int GetExitFlag () const

Static Public Member Functions

static unsigned long GetThreadID ()

Constructor & Destructor Documentation

CThread::CThread (  )  [inline]

CThread::~CThread (  )  [virtual]


Member Function Documentation

virtual void CThread::Run (  )  [pure virtual]

Implemented in GameLogic.

int CThread::Start (  ) 

int CThread::Wait (  ) 

void CThread::Exit (  ) 

void CThread::Terminate (  ) 

bool CThread::IsRunning (  )  const [inline]

void CThread::SetExitFlag ( int  dExitCode = 1  )  [inline]

int CThread::GetExitFlag (  )  const [inline]

static unsigned long CThread::GetThreadID (  )  [inline, static]


The documentation for this class was generated from the following files:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.