VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
startStopInterCbInfo.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 DtStartStopInterCbInfo_H_
11 #define DtStartStopInterCbInfo_H_
12 
13 #if DtHLA
14 
15 #include "startStopInterCbList.h"
16 #include "rtiNamespace.h"
17 #include "stateMsg.h"
18 
25 
26 class DT_DLL_VL DtStartStopInterCbInfo
27 {
28 public:
29 
31  DtStartStopInterCbInfo(
32  RTI::InteractionClassHandle hand,
33  DtStartStopInterCb cb,
34  void* usr);
35 
37  virtual ~DtStartStopInterCbInfo();
38 
40  DtStartStopInterCbInfo(
41  const DtStartStopInterCbInfo& orig);
42 
44  DtStartStopInterCbInfo& operator=(
45  const DtStartStopInterCbInfo& orig);
46 
48  virtual int match(const DtStartStopInterCbInfo* const other) const;
49 
51  virtual int operator==(const DtStartStopInterCbInfo& other) const;
52 
54  virtual const RTI::InteractionClassHandle& interClass() const;
55 
57  virtual const DtStartStopInterCb& cbFunction() const;
58 
60  virtual void* userData() const;
61 
62 protected:
63 
64  RTI::InteractionClassHandle myClass;
65  DtStartStopInterCb myFunc;
66  void* myUsr;
67 };
68 
69 inline const RTI::InteractionClassHandle&
70  DtStartStopInterCbInfo::interClass() const
71 {
72  return myClass;
73 }
74 
75 inline const DtStartStopInterCb& DtStartStopInterCbInfo::cbFunction() const
76 {
77  return myFunc;
78 }
79 
80 inline void* DtStartStopInterCbInfo::userData() const
81 {
82  return myUsr;
83 }
84 
85 #endif
86 #endif
87 

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)