![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtDIGuyCustomPduEncoder:
Collaboration diagram for DtDIGuyCustomPduEncoder:Public Member Functions | |
| virtual DtPduEncoder * | clone () const |
| Clone method. More... | |
| DtDIGuyCustomPduEncoder () | |
| CTOR. More... | |
| virtual | ~DtDIGuyCustomPduEncoder () |
| Virtual DTOR. More... | |
| virtual void | encodeAndSend (DtExerciseConn *exConn, const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote) |
| Check if state data has changed and encode as either attributes (added to state rep) or DI-Guy PDUs. More... | |
| virtual void | encode (DtPdu *pdu) |
| This is a dummy method for backwards compatibility with DIS encoders. More... | |
| virtual void | setSendAsAttributes (bool enable) |
| Set/Get whether to send as attributes or PDU. More... | |
| virtual bool | isSendAsAttributes () const |
| Set/Get whether to send as attributes or PDU. More... | |
| virtual void | addDiGuyEncoder (DtDIGuyEncodeFcn info) |
| Add/Remove an encoder for DI Guy Attributes. More... | |
| virtual void | removeDiGuyEncoder (const DtDIGuyEncodeFcn &info) |
| Add/Remove an encoder for DI Guy Attributes. More... | |
| virtual void | clearEncoders () |
| Add/Remove an encoder for DI Guy Attributes. More... | |
| virtual void | setDiGuyActionTimeThreshold (DtTime time) |
| Set/Get the thresholds for sending PDU updates. More... | |
| virtual DtTime | diGuyActionTimeThreshold () const |
| Return the DIGuy Action time threshold. More... | |
| virtual void | setDiGuyAppearanceTimeThreshold (DtTime time) |
| Set the DIGuy Appearance time threshold for sending a PDU. More... | |
| virtual DtTime | diGuyAppearanceTimeThreshold () const |
| Return the DIGuy Appearance time threshold. More... | |
| virtual void | setDiGuyTypeTimeThreshold (DtTime time) |
| Set the DIGuy Type time threshold for sending a PDU. More... | |
| virtual DtTime | diGuyTypeTimeThreshold () const |
| Return the DIGuy Type time threshold. More... | |
| virtual void | setDiGuyShapeVariationsTimeThreshold (DtTime time) |
| Set the DIGuy Shape Variations time threshold for sending a PDU. More... | |
| virtual DtTime | diGuyShapeVariationsTimeThreshold () const |
| Return the DIGuy Type time threshold. More... | |
| virtual void | setDiGuyScaleTimeThreshold (DtTime time) |
| Set the DIGuy Scale time threshold for sending a PDU. More... | |
| virtual DtTime | diGuyScaleTimeThreshold () const |
| Return the DIGuy Scale time threshold. More... | |
Public Member Functions inherited from DtPduEncoder | |
| virtual | ~DtPduEncoder () |
Protected Member Functions | |
| virtual void | setDiGuyActionUpdate (DtTime time) |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual DtTime | diGuyActionUpdate () const |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual void | setDiGuyAppearanceUpdate (DtTime time) |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual DtTime | diGuyAppearanceUpdate () const |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual void | setDiGuyTypeUpdate (DtTime time) |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual DtTime | diGuyTypeUpdate () const |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual void | setDiGuyShapeVariationsUpdate (DtTime time) |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual DtTime | diGuyShapeVariationsUpdate () const |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual void | setDiGuyScaleUpdate (DtTime time) |
| Set/Get the time that the last PDU was update sent. More... | |
| virtual DtTime | diGuyScaleUpdate () const |
| Set/Get the time that the last PDU was update sent. More... | |
Static Protected Member Functions | |
| static DtPdu * | encodeDiGuyActionPdu (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the action PDU (or attribute record). More... | |
| static DtPdu * | encodeDiGuyAppearancePdu (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the appearance PDU (or attribute record). More... | |
| static DtPdu * | encodeDiGuyTypePdu (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the type PDU (or attribute record). More... | |
| static DtPdu * | encodeDiGuyShapeVariationsPdu (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the shape variations PDU (or attribute record). More... | |
| static DtPdu * | encodeDiGuyScalePdu (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the scale PDU (or attribute record). More... | |
| static DtPdu * | encodeDiGuyPatches (const DtEntityStateRepository &stateRep, DtEntityStateRepository *asSeenByRemote, DtClock *theClock, DtDIGuyCustomPduEncoder *encoder) |
| Encode the Patches attribute record. More... | |
Static Protected Attributes | |
| static short | myShapeVariationsEncodingVersion |
| DtDIGuyCustomPduEncoder::DtDIGuyCustomPduEncoder | ( | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Add/Remove an encoder for DI Guy Attributes.
You should have one encoder for each type of PDU that you want to send. In the case of encoded attributes, just need to insure that all the state data is handled by exactly one encoder. All the encoders will be called when encodeAndSend is accessed.
|
virtual |
Add/Remove an encoder for DI Guy Attributes.
You should have one encoder for each type of PDU that you want to send. In the case of encoded attributes, just need to insure that all the state data is handled by exactly one encoder. All the encoders will be called when encodeAndSend is accessed.
|
virtual |
Clone method.
Implements DtPduEncoder.
|
virtual |
Return the DIGuy Action time threshold.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Return the DIGuy Appearance time threshold.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Return the DIGuy Scale time threshold.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Return the DIGuy Type time threshold.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Return the DIGuy Type time threshold.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
This is a dummy method for backwards compatibility with DIS encoders.
Implements DtPduEncoder.
|
virtual |
Check if state data has changed and encode as either attributes (added to state rep) or DI-Guy PDUs.
|
staticprotected |
Encode the action PDU (or attribute record).
|
staticprotected |
Encode the appearance PDU (or attribute record).
|
staticprotected |
Encode the Patches attribute record.
|
staticprotected |
Encode the scale PDU (or attribute record).
|
staticprotected |
Encode the shape variations PDU (or attribute record).
|
staticprotected |
Encode the type PDU (or attribute record).
|
virtual |
Set/Get whether to send as attributes or PDU.
|
virtual |
Add/Remove an encoder for DI Guy Attributes.
You should have one encoder for each type of PDU that you want to send. In the case of encoded attributes, just need to insure that all the state data is handled by exactly one encoder. All the encoders will be called when encodeAndSend is accessed.
|
virtual |
Set/Get the thresholds for sending PDU updates.
Set the DIGuy Action time threshold for sending a PDU
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Set the DIGuy Appearance time threshold for sending a PDU.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Set the DIGuy Scale time threshold for sending a PDU.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Set the DIGuy Shape Variations time threshold for sending a PDU.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Set the DIGuy Type time threshold for sending a PDU.
|
protectedvirtual |
Set/Get the time that the last PDU was update sent.
|
virtual |
Set/Get whether to send as attributes or PDU.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |