VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DtRectangularPyramidEncoder Class Reference

Instances of DtRectangularPyramidEncoder encode data from DtRectangularPyramidStateRepository objects to the net structures to be sent to the network.

Inheritance diagram for DtRectangularPyramidEncoder:
Inheritance graph
[legend]

Public Member Functions

 DtRectangularPyramidEncoder ()
 
 DtRectangularPyramidEncoder (const DtRectangularPyramidEncoder &orig)
 
virtual ~DtRectangularPyramidEncoder ()
 
DtRectangularPyramidEncoderoperator= (const DtRectangularPyramidEncoder &orig)
 
virtual DtRectangularPyramidPdustateMsg (const DtRectangularPyramidStateRepository &stateRep, const DtRectangularPyramidStateRepository &asSeenByRemote)
 
 DtCLONE_ENCODER (DtRectangularPyramidEncoder)
 
 DtRectangularPyramidEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
 DtRectangularPyramidEncoder (const DtRectangularPyramidEncoder &orig)
 
virtual ~DtRectangularPyramidEncoder ()
 
DtRectangularPyramidEncoderoperator= (const DtRectangularPyramidEncoder &orig)
 
- Public Member Functions inherited from DtSensorFieldOfViewEncoder
 DtSensorFieldOfViewEncoder ()
 
 DtSensorFieldOfViewEncoder (const DtSensorFieldOfViewEncoder &orig)
 
virtual ~DtSensorFieldOfViewEncoder ()
 
DtSensorFieldOfViewEncoderoperator= (const DtSensorFieldOfViewEncoder &orig)
 
virtual DtSensorFieldOfViewPdustateMsg (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
 DtCLONE_ENCODER (DtSensorFieldOfViewEncoder)
 
 DtSensorFieldOfViewEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtSensorFieldOfViewEncoder ()
 
 DtSensorFieldOfViewEncoder (const DtSensorFieldOfViewEncoder &orig)
 
DtSensorFieldOfViewEncoderoperator= (const DtSensorFieldOfViewEncoder &orig)
 

Static Public Member Functions

static DtHlaStateEncodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
- Static Public Member Functions inherited from DtSensorFieldOfViewEncoder
static DtHlaStateEncodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 

Protected Member Functions

virtual bool sendNeeded (const DtRectangularPyramidStateRepository &stateRep, const DtRectangularPyramidStateRepository &asSeenByRemote)
 
virtual void fillOut (const DtRectangularPyramidStateRepository &stateRep, const DtRectangularPyramidStateRepository &asSeenByRemote, DtRectangularPyramidPdu *pdu)
 
- Protected Member Functions inherited from DtSensorFieldOfViewEncoder
virtual bool sendNeeded (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
virtual void fillOut (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote, DtSensorFieldOfViewPdu *pdu)
 

Static Protected Member Functions

static bool needXHalfAngle (const DtRectangularPyramidStateRepository &stateRep, const DtRectangularPyramidStateRepository &asSeenByRemote)
 
static void encodeXHalfAngle (const DtRectangularPyramidStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needYHalfAngle (const DtRectangularPyramidStateRepository &stateRep, const DtRectangularPyramidStateRepository &asSeenByRemote)
 
static void encodeYHalfAngle (const DtRectangularPyramidStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
- Static Protected Member Functions inherited from DtSensorFieldOfViewEncoder
static bool needRelativeLocation (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeRelativeLocation (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needRelativeOrientation (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeRelativeOrientation (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needHost (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeHost (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needId (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeId (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needRadius (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeRadius (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needTrackingMode (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeTrackingMode (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needTargetedEntity (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeTargetedEntity (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needTargetedLocation (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeTargetedLocation (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needMinimumAzimuthAngle (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeMinimumAzimuthAngle (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needMaximumAzimuthAngle (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeMaximumAzimuthAngle (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needMinimumElevationAngle (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeMinimumElevationAngle (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needMaximumElevationAngle (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeMaximumElevationAngle (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needMaximumZoomLevel (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeMaximumZoomLevel (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needZoomLevel (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeZoomLevel (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needColor (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote)
 
static void encodeColor (const DtSensorFieldOfViewStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 

Protected Attributes

DtRectangularPyramidPdu myPdu
 
- Protected Attributes inherited from DtSensorFieldOfViewEncoder
DtSensorFieldOfViewPdu myPdu
 

Constructor & Destructor Documentation

DtRectangularPyramidEncoder::DtRectangularPyramidEncoder ( )

Default constructor.

DtRectangularPyramidEncoder::DtRectangularPyramidEncoder ( const DtRectangularPyramidEncoder orig)

Copy constructor.

virtual DtRectangularPyramidEncoder::~DtRectangularPyramidEncoder ( )
virtual

Destructor.

DtRectangularPyramidEncoder::DtRectangularPyramidEncoder ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)

Default constructor.

DtRectangularPyramidEncoder::DtRectangularPyramidEncoder ( const DtRectangularPyramidEncoder orig)

Copy constructor.

virtual DtRectangularPyramidEncoder::~DtRectangularPyramidEncoder ( )
virtual

Destructor.

Member Function Documentation

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

Assignment operator.

virtual DtRectangularPyramidPdu* DtRectangularPyramidEncoder::stateMsg ( const DtRectangularPyramidStateRepository stateRep,
const DtRectangularPyramidStateRepository asSeenByRemote 
)
virtual

Constructs a PDU from the state repository. stateMsg determines whether an PDU needs to be sent and constructs one of it does.

Returns
PDU if send is needed, and NULL if not
DtRectangularPyramidEncoder::DtCLONE_ENCODER ( DtRectangularPyramidEncoder  )
virtual bool DtRectangularPyramidEncoder::sendNeeded ( const DtRectangularPyramidStateRepository stateRep,
const DtRectangularPyramidStateRepository asSeenByRemote 
)
protectedvirtual
virtual void DtRectangularPyramidEncoder::fillOut ( const DtRectangularPyramidStateRepository stateRep,
const DtRectangularPyramidStateRepository asSeenByRemote,
DtRectangularPyramidPdu pdu 
)
protectedvirtual
static DtHlaStateEncoder* DtRectangularPyramidEncoder::create ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)
static

Function that creates a DtRectangularPyramidEncoder.

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

Assignment operator.

static bool DtRectangularPyramidEncoder::needXHalfAngle ( const DtRectangularPyramidStateRepository stateRep,
const DtRectangularPyramidStateRepository asSeenByRemote 
)
staticprotected

Return true if XHalfAngle needs to be sent to the network, false otherwise.

static void DtRectangularPyramidEncoder::encodeXHalfAngle ( const DtRectangularPyramidStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes XHalfAngle from rep into attrs.

static bool DtRectangularPyramidEncoder::needYHalfAngle ( const DtRectangularPyramidStateRepository stateRep,
const DtRectangularPyramidStateRepository asSeenByRemote 
)
staticprotected

Return true if YHalfAngle needs to be sent to the network, false otherwise.

static void DtRectangularPyramidEncoder::encodeYHalfAngle ( const DtRectangularPyramidStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes YHalfAngle from rep into attrs.

Member Data Documentation

DtRectangularPyramidPdu DtRectangularPyramidEncoder::myPdu
protected

The documentation for this class was generated from the following files:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)