![]() |
VR-Link API Documentation for DIS
|
DtSilentEntityList is a class which contains the information needed to describe a list of silent entities for the aggregate state PDU. More...
Collaboration diagram for DtSilentEntityList:Public Member Functions | |
| DtSilentEntityList () | |
| Constructors. More... | |
| DtSilentEntityList (const DtSilentEntityList &orig) | |
| virtual | ~DtSilentEntityList () |
| Destructor. More... | |
| DtSilentEntityList & | operator= (const DtSilentEntityList &orig) |
| Assignment operator. More... | |
| DtSilentEntityList & | operator= (const DtNetSilentEntityList &orig) |
| int | operator== (const DtSilentEntityList &otherguy) const |
| Comparison operators. More... | |
| int | operator!= (const DtSilentEntityList &otherguy) const |
| virtual void | setNumberOfEntities (const DtU16 value) |
| Set/Get the number of entities. More... | |
| virtual DtU16 | numberOfEntities () const |
| virtual void | setEntityType (const DtEntityType &type) |
| Set/Get the entity type. More... | |
| virtual const DtEntityType & | entityType () const |
| virtual bool | setNumberOfAppearanceRecords (const DtU16 value) |
| Set/Get the number of appearance records. More... | |
| virtual DtU16 | numberOfAppearanceRecords () const |
| virtual bool | setAppearance (int index, DtU32 app) |
| Set/Get the appearance of an entity (as a 32 bit integer). More... | |
| virtual bool | getAppearance (int index, DtU32 &app) const |
| virtual bool | setAppearanceAttribute (int index, const DtAppearAttribute attr, const DtAppearAttrVal val) |
| Set/Get appearance by attribute. More... | |
| virtual bool | getAppearanceAttribute (int index, const DtAppearAttribute attr, DtAppearAttrVal &val) const |
| virtual void | printData () const |
| Print the record. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| virtual void | unloadNetRecord (const DtNetSilentEntityList &record) |
| Load/unload data from a packet record. More... | |
| virtual void | unloadNetRecord (const DtNetSilentEntityList_RPR_20 &record, bool useAppearanceList=false) |
| virtual void | loadNetRecord (DtNetSilentEntityList &record) const |
| virtual void | loadNetRecord (DtNetSilentEntityList_RPR_20 &record, bool useAppearanceList=false) const |
| virtual int | networkByteLength (double rpr_version=1.0) const |
| Get the network byte length of this record. More... | |
Static Public Member Functions | |
| static int | byteLengthOfNetworkRecord (DtNetSilentEntityList *recPtr, double rprVersion=1.0) |
| Get the length of the network representation of a record. More... | |
Protected Attributes | |
| DtU16 | myNumberOfEntities |
| Data members: More... | |
| DtEntityType | myEntityType |
| DtU16 | myNumberOfAppearanceRecords |
| DtU32 * | myEntityAppearanceList |
DtSilentEntityList is a class which contains the information needed to describe a list of silent entities for the aggregate state PDU.
| DtSilentEntityList::DtSilentEntityList | ( | ) |
Constructors.
| DtSilentEntityList::DtSilentEntityList | ( | const DtSilentEntityList & | orig | ) |
|
virtual |
Destructor.
|
static |
Get the length of the network representation of a record.
If this is for the RPR FOM, specify the version
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the network byte length of this record.
If this is for the RPR FOM, specify the version.
|
virtual |
|
virtual |
| int DtSilentEntityList::operator!= | ( | const DtSilentEntityList & | otherguy | ) | const |
| DtSilentEntityList& DtSilentEntityList::operator= | ( | const DtSilentEntityList & | orig | ) |
Assignment operator.
| DtSilentEntityList& DtSilentEntityList::operator= | ( | const DtNetSilentEntityList & | orig | ) |
| int DtSilentEntityList::operator== | ( | const DtSilentEntityList & | otherguy | ) | const |
Comparison operators.
|
virtual |
Print the record.
|
virtual |
Set/Get the appearance of an entity (as a 32 bit integer).
Returns false if the index is out of range. Set will erase all previous values. In RPR 2.0006 - 2.0017, there is only one appearance value (0) Appereances are not available at all in RPR 1.0
|
virtual |
Set/Get appearance by attribute.
Returns false if the index is out of range.
|
virtual |
Set/Get the entity type.
Set/Get the number of appearance records.
Set returns false if the value is too large, old values are not retained when the number changes.
| enableAttributeList | RPR Versions 1.0-2.0017 needs to be false due to an error those RPR versions. |
|
virtual |
Set/Get the number of entities.
|
virtual |
Load/unload data from a packet record.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
Data members: