Equalizer 1.0

co::base::ThreadID Class Reference

An utility class to wrap OS-specific thread identifiers. More...

#include <threadID.h>

Collaboration diagram for co::base::ThreadID:

List of all members.

Public Member Functions

COBASE_API ThreadID ()
 Construct a new, zero thread identifier.
COBASE_API ThreadID (const ThreadID &from)
 Construct a copy of a thread identifier.
COBASE_API ~ThreadID ()
 Destruct this thread identifier.
COBASE_API ThreadIDoperator= (const ThreadID &from)
 Assign another thread identifier.
COBASE_API bool operator== (const ThreadID &rhs) const
COBASE_API bool operator!= (const ThreadID &rhs) const

Static Public Attributes

static COBASE_API const ThreadID ZERO
 a 'NULL' thread identifier

Friends

class Thread
COBASE_API std::ostream & operator<< (std::ostream &os, const ThreadID &)
 Print the thread to the given output stream.

Detailed Description

An utility class to wrap OS-specific thread identifiers.

Definition at line 32 of file threadID.h.


Constructor & Destructor Documentation

COBASE_API co::base::ThreadID::ThreadID ( )

Construct a new, zero thread identifier.

Version:
1.0
COBASE_API co::base::ThreadID::ThreadID ( const ThreadID from)

Construct a copy of a thread identifier.

Version:
1.0
COBASE_API co::base::ThreadID::~ThreadID ( )

Destruct this thread identifier.

Version:
1.0

Member Function Documentation

COBASE_API bool co::base::ThreadID::operator!= ( const ThreadID rhs) const
Returns:
true if the threads are different, false otherwise.
Version:
1.0
COBASE_API ThreadID& co::base::ThreadID::operator= ( const ThreadID from)

Assign another thread identifier.

Version:
1.0
COBASE_API bool co::base::ThreadID::operator== ( const ThreadID rhs) const
Returns:
true if the threads are equal, false if not.
Version:
1.0

Friends And Related Function Documentation

COBASE_API std::ostream& operator<< ( std::ostream &  os,
const ThreadID  
) [friend]

Print the thread to the given output stream.


The documentation for this class was generated from the following file:
Generated on Sun May 8 2011 19:11:09 for Equalizer 1.0 by  doxygen 1.7.3