VR-Exchange 2.2 API Documentation
pResupplyCancelInteraction.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/pBaseInteraction.h> //class DtPortalBaseInteraction
14 
15 namespace MAKVrExchange {
16 
17 class DtPortalConnection;
18 
22 
24 {
25 public:
27  typedef void (*functionCallback_type) (const DtPortalResupplyCancelInteraction &interaction,
28  void *userData);
29 
32 
35 
38 
42 
43 
46 
47  DtDEC_ATTRIBUTE( DtString, ReceivingId, receivingId );
48  DtDEC_ATTRIBUTE( DtString, SupplyingId, supplyingId );
49 
50 public:
51 
53 
55 public:
56 
61 
62  //Doxygen comments inherited from parent class
63  virtual DtPortalMessageKind kind() const;
64 
65  //Doxygen comments inherited from parent class
66  virtual const char *interactionKindName() const;
67 
68  //Doxygen comments inherited from parent class
69  virtual unsigned int netSize() const;
70 
71  //Doxygen comments inherited from parent class
72  virtual void writeSelfToBuffer( void *buffer ) const;
73 
74  //Doxygen comments inherited from parent class
75  virtual void readSelfFromBuffer( const void *buffer );
76 
85  static void addCallback( DtPortalConnection *connection,
86  functionCallback_type callbackFunction,
87  void *userData );
88 
97  static void removeCallback( DtPortalConnection *connection,
98  functionCallback_type callbackFunction,
99  void *userData );
100 
108  static DtPortalMessage *create();
109 
110  //Doxygen comments inherited from parent class
111  virtual std::ostream &printDataToStream( std::ostream &str ) const;
112 
113 
114 private:
115 
118 
120  int operator==( const DtPortalResupplyCancelInteraction & );
121 
123  int operator!=( const DtPortalResupplyCancelInteraction & );
124 
125 }; //end class DtPortalResupplyCancelInteraction
126 
128 {
130 }
131 
133 {
134  return "ResupplyCancel";
135 }
136 
138 {
139  return theKind;
140 }
141 
142 }
143 

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)