VR-Link API Documentation for DIS
Public Member Functions | Static Public Member Functions | Protected Attributes
DtSilentEntityList Class Reference

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:

List of all members.

Public Member Functions

 DtSilentEntityList ()
 Constructors.
 DtSilentEntityList (const DtSilentEntityList &orig)
virtual ~DtSilentEntityList ()
 Destructor.
DtSilentEntityListoperator= (const DtSilentEntityList &orig)
 Assignment operator.
DtSilentEntityListoperator= (const DtNetSilentEntityList &orig)
int operator== (const DtSilentEntityList &otherguy) const
 Comparison operators.
int operator!= (const DtSilentEntityList &otherguy) const
virtual void setNumberOfEntities (const DtU16 value)
 Set/Get the number of aggregates.
virtual DtU16 numberOfEntities () const
virtual void setEntityType (const DtEntityType &type)
 Set/Get the entity type.
virtual const DtEntityTypeentityType () const
virtual bool setNumberOfAppearanceRecords (const DtU16 value)
 Set/Get the number of appearance records.
virtual DtU16 numberOfAppearanceRecords () const
virtual bool setAppearance (int index, DtU32 app)
 Set/Get the appearance of an entity (as a 32 bit integer).
virtual bool getAppearance (int index, DtU32 &app) const
virtual bool setAppearanceAttribute (int index, const DtAppearAttribute attr, const DtAppearAttrVal val)
 Set/Get appearance by attribute.
virtual bool getAppearanceAttribute (int index, const DtAppearAttribute attr, DtAppearAttrVal &val) const
virtual void printData () const
 Print the record.
virtual void printDataToStream (std::ostream &stream) const
virtual void unloadNetRecord (const DtNetSilentEntityList &record)
 Load/unload data from a packet record.
virtual void unloadNetRecord (const DtNetSilentEntityList_RPR_20 &record)
virtual void loadNetRecord (DtNetSilentEntityList &record) const
virtual void loadNetRecord (DtNetSilentEntityList_RPR_20 &record) const
virtual int networkByteLength (double rpr_version=1.0) const
 Get the network byte length of this record.

Static Public Member Functions

static int byteLengthOfNetworkRecord (DtNetSilentEntityList *recPtr, double rprVersion=1.0)
 Get the length of the network representation of a record.

Protected Attributes

DtU16 myNumberOfEntities
 Data members:
DtEntityType myEntityType
DtU16 myNumberOfAppearanceRecords
DtU32myEntityAppearanceList

Detailed Description

DtSilentEntityList is a class which contains the information needed to describe a list of silent entities for the aggregate state PDU.


Constructor & Destructor Documentation

Constructors.

Destructor.


Member Function Documentation

static int DtSilentEntityList::byteLengthOfNetworkRecord ( DtNetSilentEntityList recPtr,
double  rprVersion = 1.0 
) [static]

Get the length of the network representation of a record.

If this is for the RPR FOM, specify the version

virtual const DtEntityType& DtSilentEntityList::entityType ( ) const [virtual]
virtual bool DtSilentEntityList::getAppearance ( int  index,
DtU32 app 
) const [virtual]
virtual bool DtSilentEntityList::getAppearanceAttribute ( int  index,
const DtAppearAttribute  attr,
DtAppearAttrVal val 
) const [virtual]
virtual void DtSilentEntityList::loadNetRecord ( DtNetSilentEntityList record) const [virtual]
virtual void DtSilentEntityList::loadNetRecord ( DtNetSilentEntityList_RPR_20 record) const [virtual]
virtual int DtSilentEntityList::networkByteLength ( double  rpr_version = 1.0) const [virtual]

Get the network byte length of this record.

If this is for the RPR FOM, specify the version.

virtual DtU16 DtSilentEntityList::numberOfEntities ( ) const [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 void DtSilentEntityList::printData ( ) const [virtual]

Print the record.

virtual void DtSilentEntityList::printDataToStream ( std::ostream &  stream) const [virtual]
virtual bool DtSilentEntityList::setAppearance ( int  index,
DtU32  app 
) [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.

virtual bool DtSilentEntityList::setAppearanceAttribute ( int  index,
const DtAppearAttribute  attr,
const DtAppearAttrVal  val 
) [virtual]

Set/Get appearance by attribute.

Returns false if the index is out of range.

virtual void DtSilentEntityList::setEntityType ( const DtEntityType type) [virtual]

Set/Get the entity type.

virtual bool DtSilentEntityList::setNumberOfAppearanceRecords ( const DtU16  value) [virtual]

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.

virtual void DtSilentEntityList::setNumberOfEntities ( const DtU16  value) [virtual]

Set/Get the number of aggregates.

virtual void DtSilentEntityList::unloadNetRecord ( const DtNetSilentEntityList record) [virtual]

Load/unload data from a packet record.

virtual void DtSilentEntityList::unloadNetRecord ( const DtNetSilentEntityList_RPR_20 record) [virtual]

Member Data Documentation

Data members:


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)