HDK
|
#include <threads.h>
Public Member Functions | |
TRACE_API | TraceThreadId () |
TRACE_API | TraceThreadId (const std::string &id) |
Constructor which creates an identifier from id . More... | |
const std::string & | ToString () const |
Returns the string representation of the id. More... | |
TRACE_API bool | operator== (const TraceThreadId &) const |
Equality operator. More... | |
TRACE_API bool | operator< (const TraceThreadId &) const |
Less than operator. More... | |
TRACE_API TraceThreadId::TraceThreadId | ( | ) |
Constructor which creates an identifier based on std::thread_id. . It is either"Main Thread" if this id is marked as the main thread or "Thread XXX" where XXX is the string representation of the thread id.
|
explicit |
Constructor which creates an identifier from id
.
TRACE_API bool TraceThreadId::operator< | ( | const TraceThreadId & | ) | const |
Less than operator.
TRACE_API bool TraceThreadId::operator== | ( | const TraceThreadId & | ) | const |
Equality operator.
|
inline |