#include <id.h>
Inheritance diagram for ABA_ID:
Public Member Functions | |
ABA_ID () | |
ABA_ID (ABA_MESSAGE &msg) | |
void | pack (ABA_MESSAGE &msg) const |
void | initialize (unsigned long sequence, int proc, int index) |
void | uninitialize () |
bool | isInitialized () const |
unsigned long | sequence () const |
int | proc () const |
int | index () const |
Private Attributes | |
unsigned long | sequence_ |
short | proc_ |
short | index_ |
Friends | |
ostream & | operator<< (ostream &out, const ABA_ID &id) |
int | operator== (const ABA_ID &lhs, const ABA_ID &rhs) |
Definition at line 44 of file id.h.
ABA_ID::ABA_ID | ( | ) |
The constructor.
sequence_ will be set to 0 indicating that the ABA_ID is not initialized.
ABA_ID::ABA_ID | ( | ABA_MESSAGE & | msg | ) |
The message constructor.
msg | The message from which the object is initialized. |
void ABA_ID::pack | ( | ABA_MESSAGE & | msg | ) | const |
Packs the ABA_ID in an ABA_MESSAGE object.
msg | The ABA_MESSAGE object in which the ABA_ID is packed. |
void ABA_ID::initialize | ( | unsigned long | sequence, | |
int | proc, | |||
int | index | |||
) |
void ABA_ID::uninitialize | ( | ) |
Sets the ABA_ID to the uninitialized state.
bool ABA_ID::isInitialized | ( | ) | const |
ostream& operator<< | ( | ostream & | out, | |
const ABA_ID & | id | |||
) | [friend] |
The output operator.
out | The output stream. | |
id | The ABA_ID being output. |
The comparison operator.
1 otherwise.
lhs | The left hand side of the comparison. | |
rhs | The right hand side of the comparison. |
unsigned long ABA_ID::sequence_ [private] |
short ABA_ID::proc_ [private] |
short ABA_ID::index_ [private] |