VR-Link API Documentation for DIS
strtUpdCbInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtUpdateControlCbInfo103_H_
11 #define DtUpdateControlCbInfo103_H_
12 
13 #if DtHLA
14 
15 #if DtRTI103
16 
17 #include "strtUpdCbList.h"
18 #include "stateMsg.h"
19 #include "rtiNamespace.h"
20 
26 
27 class DT_DLL_VL DtUpdateControlCbInfo
28 {
29 public:
30 
32  DtUpdateControlCbInfo(RTI::ObjectClassHandle h,
33  DtUpdateControlCb cb,
34  void* usr);
35 
37  virtual ~DtUpdateControlCbInfo();
38 
40  DtUpdateControlCbInfo(
41  const DtUpdateControlCbInfo& orig);
42 
44  DtUpdateControlCbInfo& operator=(
45  const DtUpdateControlCbInfo& orig);
46 
48  virtual int match(const DtUpdateControlCbInfo* const other) const;
49 
51  virtual int operator==(const DtUpdateControlCbInfo& other) const;
52 
54  virtual const RTI::ObjectClassHandle& objectClass() const;
55 
57  virtual const DtUpdateControlCb& cbFunction() const;
58 
60  virtual void* userData() const;
61 
62 protected:
63 
64  RTI::ObjectClassHandle myClass;
65  DtUpdateControlCb myFunc;
66  void* myUsr;
67 };
68 
69 typedef DtUpdateControlCbInfo DtStartUpdatesCbInfo;
70 typedef DtUpdateControlCbInfo DtStopUpdatesCbInfo;
71 
72 inline const RTI::ObjectClassHandle& DtUpdateControlCbInfo::objectClass() const
73 {
74  return myClass;
75 }
76 
77 inline const DtUpdateControlCb& DtUpdateControlCbInfo::cbFunction() const
78 {
79  return myFunc;
80 }
81 
82 inline void* DtUpdateControlCbInfo::userData() const
83 {
84  return myUsr;
85 }
86 
87 #endif
88 #endif
89 #endif
90 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)