![]() |
VR-Link API Documentation for HLA 4
|
Represents Events in the RPR FOM. More...
Collaboration diagram for DtEventId:Public Member Functions | |
| DtEventId (const char *str) | |
| Construct a DtEventId from a character string consisting of the event number followed by a colon, and then an object name. More... | |
| DtEventId (const DtGlobalObjectDesignator &des, int eventNum) | |
| Construct a DtEventId from a name and an event number. More... | |
| DtEventId (const DtNetEventId &netId) | |
| Construct a DtEventId from network representation. More... | |
| DtEventId (const DtEventId &netId) | |
| Copy constructor. More... | |
| DtEventId & | operator= (const DtEventId &orig) |
| Assignment operator. More... | |
| DtEventId () | |
| Same as DtEventId("", 0);. More... | |
| ~DtEventId () | |
| Destructor. More... | |
| void | setFromNet (const DtNetEventId &netId) |
| Set from network representation. More... | |
| DtNetEventId * | netRep () const |
| Convert to network representation. Returns ptr to internal memory. More... | |
| int | netSize () const |
| Return the size of the network implementation. More... | |
| int | operator== (const DtEventId &otherGuy) const |
| Equivalence operators. More... | |
| int | operator!= (const DtEventId &otherGuy) const |
| void | setEventNum (int eventNum) |
| Set event number component. More... | |
| int | eventNum () const |
| Get event number component. More... | |
| const DtGlobalObjectDesignator & | objectId () const |
| Get object designator component. More... | |
| void | setObjectId (const DtGlobalObjectDesignator &name) |
| Set object designator component. More... | |
| const DtGlobalObjectDesignator & | globalId () const |
| Get object designator component. More... | |
| void | setGlobalId (const DtGlobalObjectDesignator &name) |
| Set object designator component. More... | |
| const char * | string () const |
| Convert to string. More... | |
Static Public Member Functions | |
| static const DtEventId & | nullId () |
| Return a null DtEventId. More... | |
Protected Member Functions | |
| void | init (const DtGlobalObjectDesignator &des, int eventNum) |
| initialize More... | |
Protected Attributes | |
| DtString | myObjName |
| int | myEventNum |
| DtNetEventId * | myNetRep |
| DtString | myStringRep |
Represents Events in the RPR FOM.
Events are represented in the form num:string, where num is the eventId and string an DtGlobalObjectIdentifier
| DtEventId::DtEventId | ( | const char * | str | ) |
| DtEventId::DtEventId | ( | const DtGlobalObjectDesignator & | des, |
| int | eventNum | ||
| ) |
Construct a DtEventId from a name and an event number.
| DtEventId::DtEventId | ( | const DtNetEventId & | netId | ) |
Construct a DtEventId from network representation.
| DtEventId::DtEventId | ( | const DtEventId & | netId | ) |
Copy constructor.
| DtEventId::DtEventId | ( | ) |
Same as DtEventId("", 0);.
| DtEventId::~DtEventId | ( | ) |
Destructor.
| int DtEventId::eventNum | ( | ) | const |
Get event number component.
| const DtGlobalObjectDesignator& DtEventId::globalId | ( | ) | const |
Get object designator component.
|
protected |
initialize
| DtNetEventId* DtEventId::netRep | ( | ) | const |
Convert to network representation. Returns ptr to internal memory.
| int DtEventId::netSize | ( | ) | const |
Return the size of the network implementation.
| const DtGlobalObjectDesignator& DtEventId::objectId | ( | ) | const |
Get object designator component.
| void DtEventId::setEventNum | ( | int | eventNum | ) |
Set event number component.
| void DtEventId::setFromNet | ( | const DtNetEventId & | netId | ) |
Set from network representation.
| void DtEventId::setGlobalId | ( | const DtGlobalObjectDesignator & | name | ) |
Set object designator component.
| void DtEventId::setObjectId | ( | const DtGlobalObjectDesignator & | name | ) |
Set object designator component.
| const char* DtEventId::string | ( | ) | const |
Convert to string.
|
protected |
|
protected |
|
protected |
|
protected |