Inheritance diagram for DAQNodeId::
Public Methods | |
DAQNodeId () | |
Constructor. More... | |
DAQNodeId (const DAQNodeId &) | |
Copy constructor. More... | |
~DAQNodeId () | |
Destructor. More... | |
bool | operator== (const DAQNodeId &) |
Check if a node id is equal to this. More... | |
DAQNodeId & | operator= (const DAQNodeId &) |
Assignment. More... | |
DAQNodeId & | operator= (const DAQNodeLocation &) |
Assignment. More... | |
DAQNodeId & | operator= (const DAQNodeLocation_t &) |
Assignment. More... | |
virtual DAQString | EncodeAsString (void) |
Encode Id as a string. More... | |
virtual bool | DecodeFromString (DAQString &) |
Decode node id from a DAQString. More... | |
virtual bool | DecodeFromString (char *) |
Decode node id from a string (char*). More... | |
ostream & | Print (ostream &) |
Print this Id. More... | |
bool | Peers (DAQNodeId &) |
Check if two node ids are peers. More... | |
DAQNodeLocation & | Get () |
Return the raw node location. More... | |
Protected Methods | |
int | Reset () |
Reset the node id. More... | |
bool | Copy (const DAQNodeLocation &) |
Copy a location into this. More... | |
bool | Copy (const DAQNodeLocation_t &) |
Copy a location struct into this. More... | |
void | CopyToThis (const DAQNodeId &) |
Copy a node id into this. More... | |
Protected Attributes | |
DAQNodeLocation | location |
Node id data. More... | |
Friends | |
class | DAQNode |
class | DAQThread |
class | DAQThreadId |
class | DAQThreadMutex |
class | DAQNodeFactory |
class | DAQThreadFactory |
class | DAQPeriodicEventMgr |
class | DAQInterfaceMgr |
The DAQNodeId class provides methods that allow the identifier of a DAQNode to be manipulated or displayed. Typically, the string representation (as returned by EncodeAsString()) of a DAQNodeId is of the form <Node IPaddr>:<PID>.
|
Basic constructor method for this class.
|
|
Copy constructor method for this class.
|
|
Class Destructor.
|
|
Copy the data structure (struct DAQNodeLocation_t) of another node id in this this. After the copy this and the one supplied are considered equal under operator==.
|
|
Copy the data structure (DAQNodeLocation) of another node id in this this. After the copy this and the one supplied are considered equal under operator==.
|
|
Copy another node id into this. This results in the two node ids being equal under operator==
Reimplemented in DAQThreadId. |
|
Initialize this from a string representation of a node id. The string representation must be of the form <IPaddr>:<PID>.
Reimplemented in DAQThreadId. |
|
Initialize this from a string representation of a node id. The string representation must be of the form <IPaddr>:<PID>.
Reimplemented in DAQThreadId. |
|
Return a DAQString representation of this. Typically, this is a string of the form <IPaddr>:<PID>.
Reimplemented in DAQThreadId. |
|
Return the underlying data structure (DAQNodeLocation) of this node id.
|
|
Check if this node Id is on the same machine as the provided Id.
|
|
Print the string representation of this on an output stream.
Reimplemented from DAQObject. Reimplemented in DAQThreadId. |
|
Reset this node id such that it represents a node on this host.
Reimplemented in DAQThreadId. |
|
Assign a struct DAQNodeLocation_t to this.
|
|
DAQNodeId::operator=(const DAQNodeLocation &aNodeLoc) Assign a DAQNodeLocation to this.
|
|
Assign another node id to this. This results in the two node ids being equal under operator==
Reimplemented in DAQThreadId. |
|
Check if the specified node id is equal to this. That is, return true if the specified node id represents the name host and process as the one represented by this.
Reimplemented in DAQThreadId. |
|
A struct representing the basic data used to represent a node id. |