VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
regControlCbInfo.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 DtRegControlCbInfo_H_
11 #define DtRegControlCbInfo_H_
12 
13 #if DtHLA
14 
15 #include "regControlCbList.h"
16 #include "rtiNamespace.h"
17 #include "stateMsg.h"
18 
19 
24 {
25 public:
26 
28  DtRegControlCbInfo(RTI::ObjectClassHandle h,
29  DtRegControlCb cb,
30  void* usr);
31 
33  virtual ~DtRegControlCbInfo();
34 
37  const DtRegControlCbInfo& orig);
38 
40  DtRegControlCbInfo& operator=(
41  const DtRegControlCbInfo& orig);
42 
44  virtual int match(const DtRegControlCbInfo* const other) const;
45 
47  virtual int operator==(const DtRegControlCbInfo& other) const;
48 
50  virtual const RTI::ObjectClassHandle& objectClass() const;
51 
53  virtual const DtRegControlCb& cbFunction() const;
54 
56  virtual void* userData() const;
57 
58 protected:
59 
60  RTI::ObjectClassHandle myClass;
62  void* myUsr;
63 };
64 
67 
68 inline const RTI::ObjectClassHandle& DtRegControlCbInfo::objectClass() const
69 {
70  return myClass;
71 }
72 
74 {
75  return myFunc;
76 }
77 
78 inline void* DtRegControlCbInfo::userData() const
79 {
80  return myUsr;
81 }
82 
83 #endif
84 #endif
85 
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
void(* DtRegControlCb)(RTI::ObjectClassHandle objectClass, void *usr)
Definition: regControlCbList.h:20
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual const RTI::ObjectClassHandle & objectClass() const
Get the object class handle.
Definition: regControlCbInfo.h:68
DtRegControlCbInfo DtStopRegsCbInfo
Definition: regControlCbInfo.h:66
virtual const DtRegControlCb & cbFunction() const
Get the callback function.
Definition: regControlCbInfo.h:73
DtRegControlCb myFunc
Definition: regControlCbInfo.h:61
virtual void * userData() const
Get the user data.
Definition: regControlCbInfo.h:78
DtRegControlCbInfo DtStartRegsCbInfo
Definition: regControlCbInfo.h:65
Instances of DtRegControlCbInfo are used for providing a callback when the RTI update control service...
Definition: regControlCbInfo.h:23
void * myUsr
Definition: regControlCbInfo.h:62
RTI::ObjectClassHandle myClass
Definition: regControlCbInfo.h:60

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)