VR-Exchange 2.2 API Documentation
pResupplyReceivedInteraction.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/pInteraction.h> //class DtPortalInteraction
15 
16 namespace MAKVrExchange
17 {
18 
19  class DtPortalConnection;
20 
24  {
25  public:
26 
28  typedef void (*functionCallback_type) (const DtPortalResupplyReceivedInteraction &interaction,
29  void *userData);
30 
33 
36 
37 
39  public:
40 
45 
46  //Doxygen comments inherited from parent class
47  virtual DtPortalMessageKind kind() const;
48 
49  //Doxygen comments inherited from parent class
50  virtual const char *interactionKindName() const;
51 
60  static void addCallback( DtPortalConnection *connection,
61  functionCallback_type callbackFunction,
62  void *userData );
63 
72  static void removeCallback( DtPortalConnection *connection,
73  functionCallback_type callbackFunction,
74  void *userData );
75 
83  static DtPortalMessage *create();
84 
85  private:
86 
89 
91  int operator==( const DtPortalResupplyReceivedInteraction & );
92 
94  int operator!=( const DtPortalResupplyReceivedInteraction & );
95 
96  }; //end class DtPortalResupplyReceivedInteraction
97 
99  {
101  }
102 
104  {
105  return "ResupplyReceived";
106  }
107 
109  {
110  return theKind;
111  }
112 
113 }

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)