VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
updateControlCbInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
10 
11 #ifndef DtUpdateControlCbInfo_H_
12 #define DtUpdateControlCbInfo_H_
13 
14 #if DtHLA
15 
16 #include "stateMsg.h"
17 #include "rtiNamespace.h"
18 
19 #if DtHLA_1516
20 typedef void (*DtUpdateControlCb)( RTI::ObjectInstanceHandle instanceHandle,
21  const RTI::AttributeHandleSet& attributeSet,
22  void* usr);
23 #else
24 typedef void (*DtUpdateControlCb)( RTI::ObjectHandle instanceHandle,
25  const RTI::AttributeHandleSet& attributeSet,
26  void* usr);
27 #endif
28 
31 
37 {
38 public:
39 
42 #if DtHLA_1516
43  RTI::ObjectInstanceHandle hand,
44 #else
45  RTI::ObjectHandle hand,
46 #endif
48  void* usr);
49 
51  virtual ~DtUpdateControlCbInfo();
52 
55  const DtUpdateControlCbInfo& orig);
56 
58  DtUpdateControlCbInfo& operator=(
59  const DtUpdateControlCbInfo& orig);
60 
62  virtual int match(const DtUpdateControlCbInfo* const other) const;
63 
65  virtual int operator==(const DtUpdateControlCbInfo& other) const;
66 
68 #if DtHLA_1516
69  virtual const RTI::ObjectInstanceHandle& objectHandle() const;
70 #else
71  virtual const RTI::ObjectHandle& objectHandle() const;
72 #endif
73 
75  virtual const DtUpdateControlCb& cbFunction() const;
76 
78  virtual void* userData() const;
79 
80 protected:
81 
82 #if DtHLA_1516
83  RTI::ObjectInstanceHandle myHand;
84 #else
85  RTI::ObjectHandle myHand;
86 #endif
88  void* myUsr;
89 };
90 
93 
94 #if DtHLA_1516
95 inline const RTI::ObjectInstanceHandle&
96 #else
97 inline const RTI::ObjectHandle&
98 #endif
100 {
101  return myHand;
102 }
103 
105 {
106  return myFunc;
107 }
108 
110 {
111  return myUsr;
112 }
113 
114 #endif
115 #endif
116 

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)