![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtObjectTagModifier are registered with the DtExerciseConn, in order to modify the userTag of HLA object updates. More...
Public Member Functions | |
| DtObjectTagModifier () | |
| Constructor. More... | |
| virtual | ~DtObjectTagModifier () |
| Destructor. More... | |
| virtual void | modifyTag (DtStateMsg *msg, const DtStateRepository *rep)=0 |
| Modifies the user tag of a DtStateMsg. More... | |
Protected Member Functions | |
| DtObjectTagModifier (const DtObjectTagModifier &orig) | |
| Copy constructor not implemented - not copiable. More... | |
| DtObjectTagModifier & | operator= (const DtObjectTagModifier &orig) |
| Assignment operator not implemented - not copiable. More... | |
Instances of DtObjectTagModifier are registered with the DtExerciseConn, in order to modify the userTag of HLA object updates.
These may be registered by the exercise connection's setObjectTagModifier() method, and are expected to be passed in the form of shared pointers, or DtObjectTagModifierSP. DtObjectTagModifier is an abstract class, and the modifyTag method is meant to be implemented by the user.
| DtObjectTagModifier::DtObjectTagModifier | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Copy constructor not implemented - not copiable.
|
pure virtual |
Modifies the user tag of a DtStateMsg.
This function is meant to be overridden, and is called for an object every time an update for it is sent out. setCustomTag should be called on the DtStateMsg to modify the tag, and the state repository may be cast to the appropriate type, if known.
| msg | The state message that contains the tag |
| rep | The state repository that accompanies the message |
|
protected |
Assignment operator not implemented - not copiable.