Inheritance diagram for DAQThreadId::
Public Methods | |
DAQThreadId () | |
Constructor. More... | |
DAQThreadId (const DAQThreadId &) | |
Copy constructor. More... | |
~DAQThreadId () | |
Destructor. More... | |
bool | operator== (const DAQThreadId &) |
Check if a thread id is equal to this. More... | |
bool | operator== (const DAQNodeId &) |
Check if a node id is equal to this. More... | |
DAQThreadId & | operator= (const DAQThreadId &) |
Assignment. More... | |
DAQThreadId & | operator= (const DAQNodeId &) |
Assignment. More... | |
DAQString | EncodeAsString (void) |
Encode this thread id a string. More... | |
bool | DecodeFromString (DAQString &) |
Encode this thread id a string. More... | |
bool | DecodeFromString (char *) |
Encode this thread id a string (char*). More... | |
ostream & | Print (ostream &) |
Print this Id. More... | |
bool | Peers (DAQThreadId &) |
Determine if two threads are on the same machine. More... | |
bool | PeerThreads (DAQThreadId &) |
Determine if two threads are in the same process. More... | |
Protected Methods | |
int | Reset () |
Reset the thread id. More... | |
void | CopyToThis (const DAQThreadId &) |
Copy a thread id to this id. | |
void | CopyToThis (const DAQNodeId &) |
Copy a node id to this thread id. More... | |
Friends | |
class | DAQThread |
class | DAQThreadFactory |
int | __spectrodaq_daqthread_join (DAQThreadId &, DAQStatus *) |
void * | DAQThread_Initialize (void *) |
The DAQThreadId class provides methods that allow the identifier of a DAQThread to be manipulated or displayed. Typically, the string representation (as returned by EncodeAsString()) of a DAQThreadId is of the form <Node IPaddr>:<PID>.<TID>.
|
Basic constructor method for this class.
|
|
Copy constructor method for this class.
|
|
Class Destructor.
|
|
Copy a node id into this. This results in this and the node id being equal under operator==
Reimplemented from DAQNodeId. |
|
Initialize this from a string representation of a thread id. The string representation must be of the form <IPaddr>:<PID>.<TID>.
Reimplemented from DAQNodeId. |
|
Initialize this from a string representation of a thread id. The string representation must be of the form <IPaddr>:<PID>.<TID>.
Reimplemented from DAQNodeId. |
|
Return a DAQString representation of this. Typically, this is a string of the form <IPaddr>:<PID>.<TID>.
Reimplemented from DAQNodeId. |
|
Check if this thread Id is in the same process as the provided Id.
|
|
DAQThreadId::Peers(DAQThreadId& aThreadId) Check if this thread Id is on the same machine as the provided Id.
|
|
Print the string representation of this on an output stream.
Reimplemented from DAQNodeId. |
|
Reset this thread id such that it represents the thread that currently owns this thread id object on this host.
Reimplemented from DAQNodeId. |
|
Assign a node id to this. This results in the two ids being equal under operator==
Reimplemented from DAQNodeId. |
|
Assign another thread id to this. This results in the two thread ids being equal under operator==
|
|
Check if the specified node id is equal to this. That is, return true if the specified node id represents the name host, process and thread as the one represented by this.
Reimplemented from DAQNodeId. |
|
Check if the specified thread id is equal to this. That is, return true if the specified thread id represents the name host, process and thread as the one represented by this.
|