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

Instances of DtAggregateStateEncoder are used to take state information from an aggregate state repository and place it into an aggregate state PDU. More...

+ Inheritance diagram for DtAggregateStateEncoder:
+ Collaboration diagram for DtAggregateStateEncoder:

List of all members.

Public Member Functions

 DtAggregateStateEncoder ()
 Constructor.
virtual ~DtAggregateStateEncoder ()
 Destructor.
 DtAggregateStateEncoder (const DtAggregateStateEncoder &orig)
 Copy constructor.
DtAggregateStateEncoderoperator= (const DtAggregateStateEncoder &orig)
 Assignment operator.
virtual DtAggregateStatePdustateMsg (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote)
 Constructs a PDU from the state repository.

Protected Member Functions

virtual bool sendNeeded (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote)
 Determine if a state message needs to be sent.
virtual void fillOut (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote, DtAggregateStatePdu *pdu)
 Fill out a state message which reflects a state repository.

Protected Attributes

DtAggregateStatePdu myAsPdu

Detailed Description

Instances of DtAggregateStateEncoder are used to take state information from an aggregate state repository and place it into an aggregate state PDU.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

virtual void DtAggregateStateEncoder::fillOut ( const DtAggregateStateRepository stateRep,
const DtAggregateStateRepository asSeenByRemote,
DtAggregateStatePdu pdu 
) [protected, virtual]

Fill out a state message which reflects a state repository.

DtAggregateStateEncoder& DtAggregateStateEncoder::operator= ( const DtAggregateStateEncoder orig)

Assignment operator.

virtual bool DtAggregateStateEncoder::sendNeeded ( const DtAggregateStateRepository stateRep,
const DtAggregateStateRepository asSeenByRemote 
) [protected, virtual]

Determine if a state message needs to be sent.

virtual DtAggregateStatePdu* DtAggregateStateEncoder::stateMsg ( const DtAggregateStateRepository stateRep,
const DtAggregateStateRepository asSeenByRemote 
) [virtual]

Constructs a PDU from the state repository.

stateMsg determines whether an Aggregate PDU needs to be sent and constructs one of it does.

Returns:
PDU if send is needed, and NULL if not

Member Data Documentation


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)