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

Instances of DtEnvironmentProcessEncoder are used to take state information from a DtEnvironmentProcessRepository and place it into an environment process PDU. More...

+ Inheritance diagram for DtEnvironmentProcessEncoder:
+ Collaboration diagram for DtEnvironmentProcessEncoder:

List of all members.

Public Member Functions

 DtEnvironmentProcessEncoder ()
 Constructor.
virtual ~DtEnvironmentProcessEncoder ()
 Destructor.
 DtEnvironmentProcessEncoder (const DtEnvironmentProcessEncoder &orig)
 Copy constructor.
DtEnvironmentProcessEncoderoperator= (const DtEnvironmentProcessEncoder &orig)
 Assignment operator.
virtual DtEnvironmentalProcessPdustateMsg (const DtEnvironmentProcessRepository &stateRep, const DtEnvironmentProcessRepository &asSeenByRemote)
 Constructs a PDU from the state repository.

Protected Member Functions

virtual bool sendNeeded (const DtEnvironmentProcessRepository &stateRep, const DtEnvironmentProcessRepository &asSeenByRemote)
 Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.

Protected Attributes

DtEnvironmentalProcessPdu myPdu

Detailed Description

Instances of DtEnvironmentProcessEncoder are used to take state information from a DtEnvironmentProcessRepository and place it into an environment process PDU.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

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

Assignment operator.

virtual bool DtEnvironmentProcessEncoder::sendNeeded ( const DtEnvironmentProcessRepository stateRep,
const DtEnvironmentProcessRepository asSeenByRemote 
) [protected, virtual]

Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.

Constructs a PDU from the state repository.

stateMsg determines whether an Environment Process 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)