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

Instances of DtRadioReceiverEncoder are used to take state information from a DtRadioReceiverRepository and place it into a radio receiver PDU. More...

+ Inheritance diagram for DtRadioReceiverEncoder:
+ Collaboration diagram for DtRadioReceiverEncoder:

List of all members.

Public Member Functions

 DtRadioReceiverEncoder ()
 Constructor.
virtual ~DtRadioReceiverEncoder ()
 Destructor.
 DtRadioReceiverEncoder (const DtRadioReceiverEncoder &orig)
 Copy constructor.
DtRadioReceiverEncoderoperator= (const DtRadioReceiverEncoder &orig)
 Assignment operator.
virtual DtReceiverPdustateMsg (const DtRadioReceiverRepository &stateRep, const DtRadioReceiverRepository &asSeenByRemote)
 Constructs a PDU from the state repository.

Protected Member Functions

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

Protected Attributes

DtReceiverPdu myPdu

Detailed Description

Instances of DtRadioReceiverEncoder are used to take state information from a DtRadioReceiverRepository and place it into a radio receiver PDU.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

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

Assignment operator.

virtual bool DtRadioReceiverEncoder::sendNeeded ( const DtRadioReceiverRepository stateRep,
const DtRadioReceiverRepository asSeenByRemote 
) [protected, virtual]

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

virtual DtReceiverPdu* DtRadioReceiverEncoder::stateMsg ( const DtRadioReceiverRepository stateRep,
const DtRadioReceiverRepository asSeenByRemote 
) [virtual]

Constructs a PDU from the state repository.

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