VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
connectionLostCbInfo.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 #pragma once
11 
12 
13 #if DtHLA
14 #if DtHLA_1516
15 
16 #include "connectionLostCbList.h"
17 #include "stateMsg.h"
18 #include "rtiNamespace.h"
19 
24 class DT_DLL_VL DtConnectionLostCbInfo
25 {
26 public:
27 
29  DtConnectionLostCbInfo(DtConnectionLostCb cb, void* usr);
30 
32  virtual ~DtConnectionLostCbInfo();
33 
35  DtConnectionLostCbInfo(
36  const DtConnectionLostCbInfo& orig);
37 
39  DtConnectionLostCbInfo& operator=(
40  const DtConnectionLostCbInfo& orig);
41 
43  virtual int match(const DtConnectionLostCbInfo* const other) const;
44 
46  virtual int operator==(const DtConnectionLostCbInfo& other) const;
47 
49  virtual const DtConnectionLostCb& cbFunction() const;
50 
52  virtual void* userData() const;
53 
54 protected:
55 
56  DtConnectionLostCb myFunc;
57  void* myUsr;
58 };
59 
60 inline const DtConnectionLostCb& DtConnectionLostCbInfo::cbFunction() const
61 {
62  return myFunc;
63 }
64 
65 inline void* DtConnectionLostCbInfo::userData() const
66 {
67  return myUsr;
68 }
69 
70 #endif
71 #endif
72 
73 
74 

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)