VR-Link API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions
DtGenericObjectEncoder Class Reference

The DtGenericObjectEncoder class - the encoder used by DtGenericObjectPublisher. More...

+ Inheritance diagram for DtGenericObjectEncoder:
+ Collaboration diagram for DtGenericObjectEncoder:

List of all members.

Public Member Functions

 DtGenericObjectEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 default constructor
virtual ~DtGenericObjectEncoder ()
 destructor
virtual void encode (const DtStateRepository &stateRep, const DtStateRepository &asSeenByRemote, const RTI::AttributeHandleSet &eligibleAttrs, const RTI::AttributeHandleSet &requiredAttrs, DtStateMsg *msg)
 Encode necessary values from the state repository.

Protected Member Functions

virtual bool valueDiffers (const DtGenericStateRepository &stateRep, const DtGenericStateRepository &asSeenByRemote, RTI::AttributeHandle handle)

Detailed Description

The DtGenericObjectEncoder class - the encoder used by DtGenericObjectPublisher.


Constructor & Destructor Documentation

default constructor

destructor


Member Function Documentation

virtual void DtGenericObjectEncoder::encode ( const DtStateRepository stateRep,
const DtStateRepository asSeenByRemote,
const RTI::AttributeHandleSet &  eligibleAttrs,
const RTI::AttributeHandleSet &  requiredAttrs,
DtStateMsg msg 
) [virtual]

Encode necessary values from the state repository.

The second state repository represents what is seen by remote simulators and is used to determine when things need to be sent in the state message. includeThese is a set of attributes that should be included even if their thresholds have not been exceeded. This DtGenericObjectEncoder assumes an update condition of "OnChange" for all attributes.

Reimplemented from DtHlaStateEncoder.

virtual bool DtGenericObjectEncoder::valueDiffers ( const DtGenericStateRepository stateRep,
const DtGenericStateRepository asSeenByRemote,
RTI::AttributeHandle  handle 
) [protected, virtual]

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)