VR-Link API Documentation for HLA Evolved
 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 
33 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

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)