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

Instances of DtGriddedDataEncoder are used to take state information from a DtGriddedDataRepository and place it into a gridded data PDU. More...

+ Inheritance diagram for DtGriddedDataEncoder:
+ Collaboration diagram for DtGriddedDataEncoder:

List of all members.

Public Member Functions

 DtGriddedDataEncoder ()
 Constructor.
virtual ~DtGriddedDataEncoder ()
 Destructor.
 DtGriddedDataEncoder (const DtGriddedDataEncoder &orig)
 Copy constructor.
DtGriddedDataEncoderoperator= (const DtGriddedDataEncoder &orig)
 Assignment operator.
virtual DtGriddedDataPdustateMsg (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote)
 Constructs a PDU from the state repository.

Protected Member Functions

virtual bool sendNeeded (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote)
 Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.
virtual bool needGridAxisInfo (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote, int index)
 Returns true if the grid axis info has changed.
virtual bool needGridDataInfo (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote, int index)
 Returns true if the grid data info has changed.

Protected Attributes

DtGriddedDataPdu myPdu

Detailed Description

Instances of DtGriddedDataEncoder are used to take state information from a DtGriddedDataRepository and place it into a gridded data PDU.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

virtual bool DtGriddedDataEncoder::needGridAxisInfo ( const DtGriddedDataRepository stateRep,
const DtGriddedDataRepository asSeenByRemote,
int  index 
) [protected, virtual]

Returns true if the grid axis info has changed.

virtual bool DtGriddedDataEncoder::needGridDataInfo ( const DtGriddedDataRepository stateRep,
const DtGriddedDataRepository asSeenByRemote,
int  index 
) [protected, virtual]

Returns true if the grid data info has changed.

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

Assignment operator.

virtual bool DtGriddedDataEncoder::sendNeeded ( const DtGriddedDataRepository stateRep,
const DtGriddedDataRepository asSeenByRemote 
) [protected, virtual]

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

virtual DtGriddedDataPdu* DtGriddedDataEncoder::stateMsg ( const DtGriddedDataRepository stateRep,
const DtGriddedDataRepository asSeenByRemote 
) [virtual]

Constructs a PDU from the state repository.

stateMsg determines whether a Gridded Data 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)