VR-Exchange 2.1 API Documentation
pResupplyOfferInteraction.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ******************************************************************************/
4 
5 #pragma once
6 
10 
11 
12 #include <portal/pSupplyInteraction.h> //class DtPortalInteraction
14 
15 namespace MAKVrExchange {
16 
17 class DtPortalConnection;
18 
19 
20 
24 
26 {
27 public:
29  typedef void (*functionCallback_type) (const DtPortalResupplyOfferInteraction &interaction,
30  void *userData);
31 
34 
37 
40 
44 
46 
48 public:
49 
54 
55  //Doxygen comments inherited from parent class
56  virtual DtPortalMessageKind kind() const;
57 
58  //Doxygen comments inherited from parent class
59  virtual const char *interactionKindName() const;
60 
69  static void addCallback( DtPortalConnection *connection,
70  functionCallback_type callbackFunction,
71  void *userData );
72 
81  static void removeCallback( DtPortalConnection *connection,
82  functionCallback_type callbackFunction,
83  void *userData );
84 
92  static DtPortalMessage *create();
93 
94 private:
95 
98 
100  int operator==( const DtPortalResupplyOfferInteraction & );
101 
103  int operator!=( const DtPortalResupplyOfferInteraction & );
104 
105 }; //end class DtPortalResupplyOfferInteraction
106 
108 {
110 }
111 
113 {
114  return "ResupplyOffer";
115 }
116 
118 {
119  return theKind;
120 }
121 
122 }
123 

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)