VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtAttributeRecordSet Class Reference
+ 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. More...
 
 DtAttributeRecordSet (const DtEntityIdentifier &entityId)
 Constructor. More...
 
 DtAttributeRecordSet (const DtAttributeRecordSet &orig)
 Copy Constructor. More...
 
virtual ~DtAttributeRecordSet ()
 Destructor. More...
 
virtual void setEntityObjectId (const DtEntityIdentifier &id)
 Set the Entity/Object ID. More...
 
virtual const DtEntityIdentifier & entityObjectId () const
 Returns the Entity/Object ID. More...
 
bool operator< (const DtAttributeRecordSet &rightOperand) const
 Less than operator used for ordering in STL containers. More...
 
virtual unsigned int netSize () const
 Used to obtain the netsize for DIS PDUs. More...
 
- Public Member Functions inherited from DtStandardVariableRecordSet
 DtStandardVariableRecordSet ()
 Constructor. More...
 
 DtStandardVariableRecordSet (const DtStandardVariableRecordSet &orig)
 Copy Constructor. More...
 
virtual ~DtStandardVariableRecordSet ()
 Destructor. More...
 
virtual
DtStandardVariableRecordSet & 
operator= (const DtStandardVariableRecordSet &rhs)
 Assignment operator. More...
 
virtual unsigned int numberOfRecords () const
 Returns number of records. More...
 
virtual void printRecords () const
 Prints the data to DtInfo. More...
 
virtual void printRecordsToStream (std::ostream &stream) const
 Prints the data to the specified stream. More...
 
virtual void addRecord (std::unique_ptr< DtStandardVariableRecord > record)
 Adds a record. More...
 
virtual void addRecords (const DtStandardVariableRecordPtrVector &records)
 Adds the given records. More...
 
virtual void removeRecordByIndex (unsigned int index)
 Remove the record at the given index. More...
 
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. More...
 
virtual DtStandardVariableRecord * recordByIndex (unsigned int index) const
 Returns the record with the given index. More...
 
virtual DtStandardVariableRecord * recordByType (unsigned int recordType) const
 Returns the record with the given type (first one if more than one). More...
 
virtual const
DtStandardVariableRecordPtrVector & 
records () const
 Returns the vector of records. More...
 
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. More...
 
virtual
DtStandardVariableRecordPtrVector & 
getRecords (DtStandardVariableRecordPtrVector &records) const
 Get the vector of records Any changes to this record will modify the record in the recordSet. More...
 
virtual void clearRecords ()
 Clear all records. More...
 
virtual std::vector< unsigned int > recordTypes () const
 Returns a vector of all the recordTypes. More...
 

Protected Attributes

DtEntityIdentifier myEntityIdentifier
 The Entity/Object ID. More...
 
- 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. More...
 
static void setMapByType (bool doMap)
 Set if records should be mapped by type or just kept in a simple vector. More...
 
static bool mapByType ()
 Get whether records are mapped by type or just kept in a simple vector. More...
 
- 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. More...
 
- Static Protected Attributes inherited from DtStandardVariableRecordSet
static const
DtStandardVariableRecordPtrVector 
theEmptyRecordsVector
 
static bool theMapByType
 

Constructor & Destructor Documentation

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 DtAttributeRecordSet::~DtAttributeRecordSet ( )
virtual

Destructor.

Member Function Documentation

virtual const DtEntityIdentifier& DtAttributeRecordSet::entityObjectId ( ) const
virtual

Returns the Entity/Object ID.

virtual unsigned int DtAttributeRecordSet::netSize ( ) const
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 void DtAttributeRecordSet::setEntityObjectId ( const DtEntityIdentifier &  id)
virtual

Set the Entity/Object ID.

Member Data Documentation

DtEntityIdentifier DtAttributeRecordSet::myEntityIdentifier
protected

The Entity/Object ID.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)