VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
DtInteractionTagModifier Class Referenceabstract

Instances of DtInteractionTagModifier are registered with the DtExerciseConn, in order to modify the userTag of HLA interactons. More...

Public Member Functions

 DtInteractionTagModifier ()
 Constructor. More...
 
virtual ~DtInteractionTagModifier ()
 Destructor. More...
 
virtual void modifyTag (DtInteraction *inter)=0
 Modifies the user tag of a DtInteraction. More...
 

Protected Member Functions

 DtInteractionTagModifier (const DtInteractionTagModifier &orig)
 Copy constructor not implemented - not copiable. More...
 
DtInteractionTagModifieroperator= (const DtInteractionTagModifier &orig)
 Assignment operator not implemented - not copiable. More...
 

Detailed Description

Instances of DtInteractionTagModifier are registered with the DtExerciseConn, in order to modify the userTag of HLA interactons.

These may be registered by the exercise connection's setInteractionTagModifier() method, and are expected to be passed in the form of shared pointers, or DtInteractionTagModifierSP. DtInteractionTagModifier is an abstract class, and

Examples

the modifyTag method is meant to be implemented by the user.

Constructor & Destructor Documentation

DtInteractionTagModifier::DtInteractionTagModifier ( )

Constructor.

virtual DtInteractionTagModifier::~DtInteractionTagModifier ( )
virtual

Destructor.

DtInteractionTagModifier::DtInteractionTagModifier ( const DtInteractionTagModifier orig)
protected

Copy constructor not implemented - not copiable.

Member Function Documentation

virtual void DtInteractionTagModifier::modifyTag ( DtInteraction inter)
pure virtual

Modifies the user tag of a DtInteraction.

This function is meant to be overridden, and is called for an interaction every time it is sent out. setCustomTag should be called on the DtInteraction to modify the tag, and it may also be cast to the appropriate type, if known, to use information from the interaction.

Parameters
interThe interaction that contains the tag and data to be sent
DtInteractionTagModifier& DtInteractionTagModifier::operator= ( const DtInteractionTagModifier orig)
protected

Assignment operator not implemented - not copiable.


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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)