VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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:

Public Member Functions

 DtSilentEntityList ()
 Constructors. More...
 
 DtSilentEntityList (const DtSilentEntityList &orig)
 
virtual ~DtSilentEntityList ()
 Destructor. More...
 
DtSilentEntityListoperator= (const DtSilentEntityList &orig)
 Assignment operator. More...
 
DtSilentEntityListoperator= (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 DtEntityTypeentityType () const
 
virtual bool setNumberOfAppearanceRecords (const DtU16 value)
 Set/Get the number of appearance records. More...
 
virtual DtU16 numberOfAppearanceRecords () const
 
virtual void setAppearance (DtU32 app)
 Set/Get the first appearance of an entity (as a 32 bit integer). More...
 
virtual DtU32 appearance () 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 myAppearance
 
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

DtSilentEntityList::DtSilentEntityList ( )

Constructors.

DtSilentEntityList::DtSilentEntityList ( const DtSilentEntityList orig)
virtual DtSilentEntityList::~DtSilentEntityList ( )
virtual

Destructor.

Member Function Documentation

virtual DtU32 DtSilentEntityList::appearance ( ) const
virtual
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,
bool  useAppearanceList = false 
) 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::numberOfAppearanceRecords ( ) const
virtual
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 void DtSilentEntityList::setAppearance ( DtU32  app)
virtual

Set/Get the first appearance of an entity (as a 32 bit integer).

In RPR 2.0006 - 2.0017, this is the only bit available. Appereances are not available at all in RPR 1.0

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. In RPR 2.0006 - 2.0017, there is only one appearance value (0) Appereances are not available at all in RPR 1.0

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.

Parameters
enableAttributeListRPR Versions 1.0-2.0017 needs to be false due to an error those RPR versions.
virtual void DtSilentEntityList::setNumberOfEntities ( const DtU16  value)
virtual

Set/Get the number of entities.

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

Load/unload data from a packet record.

virtual void DtSilentEntityList::unloadNetRecord ( const DtNetSilentEntityList_RPR_20 record,
bool  useAppearanceList = false 
)
virtual

Member Data Documentation

DtU32 DtSilentEntityList::myAppearance
protected
DtU32* DtSilentEntityList::myEntityAppearanceList
protected
DtEntityType DtSilentEntityList::myEntityType
protected
DtU16 DtSilentEntityList::myNumberOfAppearanceRecords
protected
DtU16 DtSilentEntityList::myNumberOfEntities
protected

Data members:


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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)