![]() |
VR-Link API Documentation for HLA 1516
|
Inheritance diagram for DtAttributeRecordSet:
Collaboration diagram for DtAttributeRecordSet:Public Member Functions | |
| DtAttributeRecordSet () | |
| Constructor Entity Identifier will have the invalid value of NO_SITE, NO_APPLIC and NO_REF_NUMBER. | |
| DtAttributeRecordSet (const DtEntityIdentifier &entityId) | |
| Constructor. | |
| DtAttributeRecordSet (const DtAttributeRecordSet &orig) | |
| Copy Constructor. | |
| virtual | ~DtAttributeRecordSet () |
| Destructor. | |
| virtual void | setEntityObjectId (const DtEntityIdentifier &id) |
| Set the Entity/Object ID. | |
| virtual const DtEntityIdentifier & | entityObjectId () const |
| Returns the Entity/Object ID. | |
| bool | operator< (const DtAttributeRecordSet &rightOperand) const |
| Less than operator used for ordering in STL containers. | |
| virtual unsigned int | netSize () const |
| Used to obtain the netsize for DIS PDUs. | |
Public Member Functions inherited from DtStandardVariableRecordSet | |
| DtStandardVariableRecordSet () | |
| Constructor. | |
| DtStandardVariableRecordSet (const DtStandardVariableRecordSet &orig) | |
| Copy Constructor. | |
| virtual | ~DtStandardVariableRecordSet () |
| Destructor. | |
| virtual DtStandardVariableRecordSet & | operator= (const DtStandardVariableRecordSet &rhs) |
| Assignment operator. | |
| virtual unsigned int | numberOfRecords () const |
| Returns number of records. | |
| virtual void | printRecords () const |
| Prints the data to DtInfo. | |
| virtual void | printRecordsToStream (std::ostream &stream) const |
| Prints the data to the specified stream. | |
| virtual void | addRecord (std::auto_ptr< DtStandardVariableRecord > record) |
| Adds a record. | |
| virtual void | addRecords (const DtStandardVariableRecordPtrVector &records) |
| Adds the given records. | |
| virtual void | removeRecordByIndex (unsigned int index) |
| Remove the record at the given index. | |
| virtual int | removeRecordByType (unsigned int recordType, bool removeAll=true) |
| Remove and discard the first record of the given record type (if there is one) or all them. | |
| virtual DtStandardVariableRecord * | recordByIndex (unsigned int index) const |
| Returns the record with the given index. | |
| virtual DtStandardVariableRecord * | recordByType (unsigned int recordType) const |
| Returns the record with the given type (first one if more than one). | |
| virtual const DtStandardVariableRecordPtrVector & | records () const |
| Returns the vector of records. | |
| virtual DtStandardVariableRecordPtrVector & | getRecords (unsigned int recordType, DtStandardVariableRecordPtrVector &recordsOfType) const |
| Get the vector of records of the given type Any changes to these records will modify the records in the recordSet. | |
| virtual DtStandardVariableRecordPtrVector & | getRecords (DtStandardVariableRecordPtrVector &records) const |
| Get the vector of records Any changes to this record will modify the record in the recordSet. | |
| virtual void | clearRecords () |
| Clear all records. | |
| virtual std::vector< unsigned int > | recordTypes () const |
| Returns a vector of all the recordTypes. | |
Protected Attributes | |
| DtEntityIdentifier | myEntityIdentifier |
| The Entity/Object ID. | |
Protected Attributes inherited from DtStandardVariableRecordSet | |
| DtStandardVariableRecordPtrVector | myRecordsVector |
| DtStandardVariableRecordPtrVectorByType | myRecordsByType |
Additional Inherited Members | |
Static Public Member Functions inherited from DtStandardVariableRecordSet | |
| static const DtStandardVariableRecordPtrVector & | emptyRecordVector () |
| Return an empty records vector. | |
| static void | setMapByType (bool doMap) |
| Set if records should be mapped by type or just kept in a simple vector. | |
| static bool | mapByType () |
| Get whether records are mapped by type or just kept in a simple vector. | |
Protected Member Functions inherited from DtStandardVariableRecordSet | |
| virtual void | removeRecordFromMap (DtStandardVariableRecord *record) |
| Remove the given record from the mapped type vector. Removes the type vector if it becomes empty. | |
Static Protected Attributes inherited from DtStandardVariableRecordSet | |
| static const DtStandardVariableRecordPtrVector | theEmptyRecordsVector |
| static bool | theMapByType |
| DtAttributeRecordSet::DtAttributeRecordSet | ( | ) |
Constructor Entity Identifier will have the invalid value of NO_SITE, NO_APPLIC and NO_REF_NUMBER.
This is only legal for special cases where the PDU already has a Standard Record Set inside it (new DIS7 PDUs)
| DtAttributeRecordSet::DtAttributeRecordSet | ( | const DtEntityIdentifier & | entityId | ) |
Constructor.
| DtAttributeRecordSet::DtAttributeRecordSet | ( | const DtAttributeRecordSet & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
|
virtual |
Returns the Entity/Object ID.
|
virtual |
Used to obtain the netsize for DIS PDUs.
Reimplemented from DtStandardVariableRecordSet.
| bool DtAttributeRecordSet::operator< | ( | const DtAttributeRecordSet & | rightOperand | ) | const |
Less than operator used for ordering in STL containers.
|
virtual |
Set the Entity/Object ID.
|
protected |
The Entity/Object ID.