VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
discoverObjectCbInfo.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 DtDiscoverObjectCbInfo_H_
11 #define DtDiscoverObjectCbInfo_H_
12 
13 #if DtHLA
14 
15 #include "stateMsg.h"
16 #include "hlaObject.h"
17 #include "rtiNamespace.h"
18 
19 
20 typedef void (*DtDiscoverObjectCb)(DtHlaObject* obj, void* usr);
21 
27 
29 {
30 public:
31 
33  DtDiscoverObjectCbInfo(RTI::ObjectClassHandle h,
35  void* usr);
36 
38  virtual ~DtDiscoverObjectCbInfo();
39 
42  const DtDiscoverObjectCbInfo& orig);
43 
45  DtDiscoverObjectCbInfo& operator=(
46  const DtDiscoverObjectCbInfo& orig);
47 
49  virtual int match(const DtDiscoverObjectCbInfo* const other) const;
50 
52  virtual int operator==(const DtDiscoverObjectCbInfo& other) const;
53 
55  virtual const RTI::ObjectClassHandle& objectClass() const;
56 
58  virtual const DtDiscoverObjectCb& cbFunction() const;
59 
61  virtual void* userData() const;
62 
63 protected:
64 
65  RTI::ObjectClassHandle myClass;
67  void* myUsr;
68 };
69 
70 inline const RTI::ObjectClassHandle&
72 {
73  return myClass;
74 }
75 
77 {
78  return myFunc;
79 }
80 
82 {
83  return myUsr;
84 }
85 
86 #endif
87 #endif
88 

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)