VR-Link API Documentation for DIS
pduCbInfo.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 DtPduCallbackInfo_H_
11 #define DtPduCallbackInfo_H_
12 
13 #if DtDIS
14 
15 #include "pduCbMgr.h"
16 
21 
23 {
24 public:
25 
27  DtPduCallbackInfo(DtPduCallbackFcn func, void* usr);
28 
30  virtual ~DtPduCallbackInfo();
31 
34 
36  DtPduCallbackInfo& operator=(const DtPduCallbackInfo& orig);
37 
39  virtual int match(const DtPduCallbackInfo& other) const;
40 
42  virtual DtPduCallbackFcn func() const;
43 
45  virtual void* usr() const;
46 
47 protected:
48 
50  void* myUsr;
51 
52 };
53 
55 {
56  return myFunc;
57 }
58 
59 inline void* DtPduCallbackInfo::usr() const
60 {
61  return myUsr;
62 }
63 
64 #endif
65 #endif
66 

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)