![]() |
VR-Forces Developer's Guide
|
Instances of DtSensorFieldOfViewEncoder encode data from DtSensorFieldOfViewStateRepository objects to the net structures to be sent to the network.

Public Member Functions | |
| DtSensorFieldOfViewEncoder () | |
| DtSensorFieldOfViewEncoder (const DtSensorFieldOfViewEncoder &orig) | |
| virtual | ~DtSensorFieldOfViewEncoder () |
| DtSensorFieldOfViewEncoder & | operator= (const DtSensorFieldOfViewEncoder &orig) |
| virtual DtSensorFieldOfViewPdu * | stateMsg (const DtSensorFieldOfViewStateRepository &stateRep, const DtSensorFieldOfViewStateRepository &asSeenByRemote) |
| DtCLONE_ENCODER (DtSensorFieldOfViewEncoder) | |
| DtSensorFieldOfViewEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| virtual | ~DtSensorFieldOfViewEncoder () |
| DtSensorFieldOfViewEncoder (const DtSensorFieldOfViewEncoder &orig) | |
| DtSensorFieldOfViewEncoder & | operator= (const DtSensorFieldOfViewEncoder &orig) |
Static Public Member Functions | |
| static DtHlaStateEncoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Protected Member Functions | |
| 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 | 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 | |
| DtSensorFieldOfViewPdu | myPdu |
| DtSensorFieldOfViewEncoder::DtSensorFieldOfViewEncoder | ( | ) |
Default constructor.
| DtSensorFieldOfViewEncoder::DtSensorFieldOfViewEncoder | ( | const DtSensorFieldOfViewEncoder & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
| DtSensorFieldOfViewEncoder::DtSensorFieldOfViewEncoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
Default constructor.
|
virtual |
Destructor.
| DtSensorFieldOfViewEncoder::DtSensorFieldOfViewEncoder | ( | const DtSensorFieldOfViewEncoder & | orig | ) |
Copy constructor.
| DtSensorFieldOfViewEncoder& DtSensorFieldOfViewEncoder::operator= | ( | const DtSensorFieldOfViewEncoder & | orig | ) |
Assignment operator.
|
virtual |
Constructs a PDU from the state repository. stateMsg determines whether an PDU needs to be sent and constructs one of it does.
| DtSensorFieldOfViewEncoder::DtCLONE_ENCODER | ( | DtSensorFieldOfViewEncoder | ) |
|
protectedvirtual |
|
protectedvirtual |
| DtSensorFieldOfViewEncoder& DtSensorFieldOfViewEncoder::operator= | ( | const DtSensorFieldOfViewEncoder & | orig | ) |
Assignment operator.
|
static |
Function that creates a DtSensorFieldOfViewEncoder.
|
staticprotected |
Return true if RelativeLocation needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes RelativeLocation from rep into attrs.
|
staticprotected |
Return true if RelativeOrientation needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes RelativeOrientation from rep into attrs.
|
staticprotected |
Return true if Host needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes Host from rep into attrs.
|
staticprotected |
Return true if Id needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes Id from rep into attrs.
|
staticprotected |
Return true if Radius needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes Radius from rep into attrs.
|
staticprotected |
Return true if TrackingMode needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes TrackingMode from rep into attrs.
|
staticprotected |
Return true if TargetedEntity needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes TargetedEntity from rep into attrs.
|
staticprotected |
Return true if TargetedLocation needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes TargetedLocation from rep into attrs.
|
staticprotected |
Return true if MinimumAzimuthAngle needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes MinimumAzimuthAngle from rep into attrs.
|
staticprotected |
Return true if MaximumAzimuthAngle needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes MaximumAzimuthAngle from rep into attrs.
|
staticprotected |
Return true if MinimumElevationAngle needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes MinimumElevationAngle from rep into attrs.
|
staticprotected |
Return true if MaximumElevationAngle needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes MaximumElevationAngle from rep into attrs.
|
staticprotected |
Return true if MaximumZoomLevel needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes MaximumZoomLevel from rep into attrs.
|
staticprotected |
Return true if ZoomLevel needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes ZoomLevel from rep into attrs.
|
staticprotected |
Return true if Color needs to be sent to the network, false otherwise.
|
staticprotected |
Encodes Color from rep into attrs.
|
protected |