beecrypt::lang::Thread Class Reference
[C++ classes mimicking java.lang]

#include <Thread.h>

Inheritance diagram for beecrypt::lang::Thread:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::lang::Thread:

Collaboration graph
[legend]

List of all members.

Public Types

enum  State {
  NEW, RUNNABLE, BLOCKED, WAITING,
  TIMED_WAITING, TERMINATED
}

Public Member Functions

 Thread ()
 Thread (const String &name)
 Thread (Runnable &target)
 Thread (Runnable &target, const String &name)
 Thread (Runnable &target, const String &name, size_t stacksize)
virtual ~Thread ()
virtual void run ()
virtual String toString () const throw ()
const StringgetName () const throw ()
Thread::State getState () const throw ()
void interrupt ()
bool interrupted ()
bool isAlive () const throw ()
bool isDaemon () const throw ()
bool isInterrupted () const throw ()
void join () throw (InterruptedException)
void setDaemon (bool on) throw (IllegalThreadStateException)
void start () throw (IllegalThreadStateException)

Static Public Member Functions

static void sleep (jlong millis) throw (InterruptedException)
static void yield ()
static ThreadcurrentThread ()

Friends

class Object
class beecrypt::util::concurrent::locks::ReentrantLock
void MonitorEnter (const Object *)
void MonitorExit (const Object *) throw (IllegalMonitorStateException)


Constructor & Destructor Documentation

beecrypt::lang::Thread::Thread (  ) 

beecrypt::lang::Thread::Thread ( const String name  ) 

beecrypt::lang::Thread::Thread ( Runnable target  ) 

beecrypt::lang::Thread::Thread ( Runnable target,
const String name 
)

beecrypt::lang::Thread::Thread ( Runnable target,
const String name,
size_t  stacksize 
)

virtual beecrypt::lang::Thread::~Thread (  )  [virtual]


Member Function Documentation

static Thread* beecrypt::lang::Thread::currentThread (  )  [static]

const String& beecrypt::lang::Thread::getName (  )  const throw ()

Thread::State beecrypt::lang::Thread::getState (  )  const throw ()

void beecrypt::lang::Thread::interrupt (  ) 

bool beecrypt::lang::Thread::interrupted (  ) 

bool beecrypt::lang::Thread::isAlive (  )  const throw ()

bool beecrypt::lang::Thread::isDaemon (  )  const throw ()

bool beecrypt::lang::Thread::isInterrupted (  )  const throw ()

void beecrypt::lang::Thread::join (  )  throw (InterruptedException)

virtual void beecrypt::lang::Thread::run (  )  [virtual]

void beecrypt::lang::Thread::setDaemon ( bool  on  )  throw (IllegalThreadStateException)

static void beecrypt::lang::Thread::sleep ( jlong  millis  )  throw (InterruptedException) [static]

void beecrypt::lang::Thread::start (  )  throw (IllegalThreadStateException)

virtual String beecrypt::lang::Thread::toString (  )  const throw () [virtual]

Reimplemented from beecrypt::lang::Object.

static void beecrypt::lang::Thread::yield (  )  [static]


Friends And Related Function Documentation

Reimplemented from beecrypt::lang::Object.

void MonitorEnter ( const Object  )  [friend]

void MonitorExit ( const Object  )  throw (IllegalMonitorStateException) [friend]

friend class Object [friend]


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

Generated on Fri Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8