thread Class Reference

#include <thread.hpp>

Inheritance diagram for thread:

Inheritance graph
[legend]
Collaboration diagram for thread:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 90 of file thread.hpp.


Public Member Functions

bool is_running ()
void kill ()
void start ()
 thread ()
void wait ()
virtual ~thread ()

Protected Member Functions

virtual int run ()=0

Private Attributes

SDL_Thread * t

Friends

int run_thread (void *)

Constructor & Destructor Documentation

thread (  ) 

Definition at line 85 of file thread.cpp.

~thread (  )  [virtual]

Definition at line 91 of file thread.cpp.

References thread::t.


Member Function Documentation

bool is_running (  ) 

Definition at line 98 of file thread.cpp.

References thread::t.

Referenced by main_window::draw().

void kill (  ) 

Definition at line 113 of file thread.cpp.

References thread::t.

virtual int run (  )  [protected, pure virtual]

Implemented in load_scenery_thread.

void start (  ) 

Definition at line 104 of file thread.cpp.

References thread::run_thread, and thread::t.

Referenced by main_window::draw().

void wait (  ) 

Definition at line 120 of file thread.cpp.

References thread::t.


Friends And Related Function Documentation

int run_thread ( void *  data  )  [friend]

Definition at line 74 of file thread.cpp.

Referenced by thread::start().


Member Data Documentation

SDL_Thread* t [private]


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

Generated on Sat Mar 1 13:50:07 2008 for Periapsis Project by  doxygen 1.5.5