VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
userTagModifiers.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
10 
11 #ifndef userTagModifiers_H_
12 #define userTagModifiers_H_
13 
14 #if DtHLA
15 
16 #include <vlutil/vlSmartPointers.h>
17 #include <vlutil/vlMachineTypes.h>
18 
19 class DtInteraction;
20 class DtStateMsg;
21 class DtStateRepository;
22 
25 
26 // Read the 1st few chars (typically 8) of the tag as a hex ascii number.
27 // Do not assume the tag is nul terminated.
28 DtU32 readTagPrefix(const void *tag, size_t tagLen);
29 
30 
32 typedef DtBoost::shared_ptr<DtObjectTagModifier> DtObjectTagModifierSP;
34 typedef DtBoost::shared_ptr<DtInteractionTagModifier> DtInteractionTagModifierSP;
36 
47 {
48 public:
51 
53  virtual ~DtObjectTagModifier();
54 
62  virtual void modifyTag(DtStateMsg* msg, const DtStateRepository* rep) = 0;
63 
64 protected:
67 
69  DtObjectTagModifier& operator=(const DtObjectTagModifier& orig);
70 };
71 
82 {
83 public:
86 
88  virtual ~DtInteractionTagModifier();
89 
97  virtual void modifyTag(DtInteraction* inter) = 0;
98 
99 protected:
102 
104  DtInteractionTagModifier& operator=(const DtInteractionTagModifier& orig);
105 };
106 
107 
108 #endif
109 #endif
DtInteraction is an abstract base class for representing HLA interactions (or events) (as opposed to ...
Definition: interactionHLA.h:33
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Includes Boost smart pointers and aliases the Boost namespace.
Instances of DtInteractionTagModifier are registered with the DtExerciseConn, in order to modify the ...
Definition: userTagModifiers.h:81
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtBoost::shared_ptr< DtInteractionTagModifier > DtInteractionTagModifierSP
Shared pointer typedefs for ease of use.
Definition: userTagModifiers.h:34
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
DtBoost::shared_ptr< DtObjectTagModifier > DtObjectTagModifierSP
Shared pointer typedefs for ease of use.
Definition: userTagModifiers.h:33
class DtStateMsg:
Definition: stateMsgHLA.h:32
DtU32 readTagPrefix(const void *tag, size_t tagLen)
This file contains typedefs for machine dependant types.
Instances of DtObjectTagModifier are registered with the DtExerciseConn, in order to modify the userT...
Definition: userTagModifiers.h:46

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)