![]() |
VR-Link API Documentation for DIS
|
Instances of DtTrackJamDesignator are used to represent track/jam targets in the EmitterSystem PDU (DIS). More...
Inheritance diagram for DtTrackJamDesignator:
Collaboration diagram for DtTrackJamDesignator:Public Member Functions | |
| DtTrackJamDesignator () | |
| Default constructor. | |
| DtTrackJamDesignator (const DtEntityIdentifier &entId, int emitterId, int beamId) | |
| Constructor. | |
| virtual | ~DtTrackJamDesignator () |
| Destructor. | |
| DtTrackJamDesignator (const DtTrackJamDesignator &orig) | |
| Copy constructor. | |
| DtTrackJamDesignator & | operator= (const DtTrackJamDesignator &orig) |
| Assignment operator. | |
| virtual void | setEmitterId (int id) |
| Sets the emitter ID. | |
| virtual int | emitterId () const |
| Gets the emitter ID. | |
| virtual void | setBeamId (int id) |
| Sets the beam ID. | |
| virtual int | beamId () const |
| Gets the beam ID. | |
| virtual bool | operator== (const DtTrackJamDesignator &des) const |
| Equality operator. | |
| virtual bool | operator!= (const DtTrackJamDesignator &des) const |
| Non-equality operator. | |
| virtual const char * | string () const |
| Returns a string representation. | |
Public Member Functions inherited from DtEntityIdentifier | |
| DtEntityIdentifier (const char *str) | |
| constructs an instance from a string in the form "2:3:4" | |
| DtEntityIdentifier (int site, int host, DtU16 entityNum) | |
| constructs an instance with the specified site:host:entityNum | |
| DtEntityIdentifier (const DtSimulationAddress &simulationAddress, DtU16 entityNum) | |
| constructs an instance with a simulation address (site:host) and the entNum | |
| DtEntityIdentifier (const DtEntityIdentifier &orig) | |
| copy constructor | |
| const DtEntityIdentifier & | operator= (const DtEntityIdentifier &orig) |
| assignment operator | |
| DtEntityIdentifier (const DtNetEntityIdentifier &netId) | |
| constructs from a network structure. | |
| DtEntityIdentifier () | |
| creates an instance of 0:0:0 | |
| void | init (int site, int host, DtU16 entityNum) |
| Initialization function. | |
| int | operator== (const DtEntityIdentifier &other) const |
| The equality operators were shown to be a real bottleneck in VRF testing. | |
| int | operator!= (const DtEntityIdentifier &other) const |
| operator DtNetEntityIdentifier () const | |
| bool | operator< (const DtEntityIdentifier &rightOperand) const |
| Sorting criterion. | |
| void | setFromNet (const DtNetEntityIdentifier &netId) |
| sets the Site/Host/EntityNum from a network structure. | |
| void | setSite (int site) |
| Sets the site Id for this instance. | |
| int | site () const |
| Gets the site Id for this instance. | |
| void | setHost (int host) |
| Sets the hostId (or applicationID) for this instance. | |
| int | host () const |
| Gets the hostId (or applicationID) for this instance. | |
| void | setEntityNum (DtU16 entityNum) |
| Sets the EntityNumber for this ID. | |
| DtU16 | entityNum () const |
| Gets the EntityNumber for this ID. | |
| void | setSimulationAddress (const DtSimulationAddress &simulationAddress) |
| Sets the SimulationAddress Component of the entityIdentifier. | |
| const DtSimulationAddress & | simulationAddress () const |
| Gets the SimulationAddress Component of the entityIdentifier. | |
| bool | sameHost (const DtEntityIdentifier &other) const |
| Returns true if other has the same hostId as this instance. | |
| bool | sameEntity (const DtEntityIdentifier &other) const |
| Returns true if other has the same EntityNum as this EntityNum. | |
| bool | matchPattern (const DtEntityIdentifier &pat) const |
| Matches any part of the entityID passed in pat, using the DtDeferredEntityId. | |
Protected Attributes | |
| int | myEmitterId |
| int | myBeamId |
| DtString | myStringRep |
Protected Attributes inherited from DtEntityIdentifier | |
| std::string | myMutableStringRep |
| This member is: 1) mutable because it is changed in const methods and used as a char buffer 2) protected because legacy subclasses use it 3) it SHOULD be private because it is not considered part of the API and should not be used by any subclass. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtEntityIdentifier | |
| static const DtEntityIdentifier & | nullId () |
| Returns a reference to an instance of 0:0:0. | |
| static const DtEntityIdentifier & | defaultId () |
| Returns a reference to an instance of -1:-1:-1. | |
Public Attributes inherited from DtEntityIdentifier | |
| DtSimulationAddress | DtSimulator |
| DtSimulator is public for historical reasons. | |
| DtU16 | DtEntity |
| DtEntity is public for historical reasons. | |
Instances of DtTrackJamDesignator are used to represent track/jam targets in the EmitterSystem PDU (DIS).
| DtTrackJamDesignator::DtTrackJamDesignator | ( | ) |
Default constructor.
| DtTrackJamDesignator::DtTrackJamDesignator | ( | const DtEntityIdentifier & | entId, |
| int | emitterId, | ||
| int | beamId | ||
| ) |
Constructor.
|
virtual |
Destructor.
| DtTrackJamDesignator::DtTrackJamDesignator | ( | const DtTrackJamDesignator & | orig | ) |
Copy constructor.
|
virtual |
Gets the beam ID.
|
virtual |
Gets the emitter ID.
|
virtual |
Non-equality operator.
| DtTrackJamDesignator& DtTrackJamDesignator::operator= | ( | const DtTrackJamDesignator & | orig | ) |
Assignment operator.
|
virtual |
Equality operator.
|
virtual |
Sets the beam ID.
|
virtual |
Sets the emitter ID.
|
virtual |
Returns a string representation.
Reimplemented from DtEntityIdentifier.
|
protected |
|
protected |
|
protected |