Equalizer 1.0
|
An utility class to wrap OS-specific thread identifiers. More...
#include <threadID.h>
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 ThreadID & | operator= (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. |
An utility class to wrap OS-specific thread identifiers.
Definition at line 32 of file threadID.h.
COBASE_API co::base::ThreadID::ThreadID | ( | ) |
Construct a new, zero thread identifier.
COBASE_API co::base::ThreadID::ThreadID | ( | const ThreadID & | from | ) |
Construct a copy of a thread identifier.
COBASE_API co::base::ThreadID::~ThreadID | ( | ) |
Destruct this thread identifier.
COBASE_API bool co::base::ThreadID::operator!= | ( | const ThreadID & | rhs | ) | const |
Assign another thread identifier.
COBASE_API bool co::base::ThreadID::operator== | ( | const ThreadID & | rhs | ) | const |
COBASE_API std::ostream& operator<< | ( | std::ostream & | os, |
const ThreadID & | |||
) | [friend] |
Print the thread to the given output stream.