VR-Exchange 2.2 API Documentation
pRemoveEntityInter.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3  ** All rights reserved.
4  *********************************************************************/
5 
6 #ifndef pRemoveEntityInter_H_
7 #define pRemoveEntityInter_H_
8 
12 
13 
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlNetTypes.h>
17 #include <matrix/vlVector.h>
18 
19 namespace MAKVrExchange {
20 
21 class DtPortalConnection;
22 
25 //
31 {
32 public:
33 
34  typedef void (*DtPortalRemoveEntityInteractionCb)
35  (const DtPortalRemoveEntityInteraction &inter, void *usr);
36 
37 public:
38 
41 
44 
45  DtDEC_ATTRIBUTE(DtString, OriginatingId, originatingId);
46  DtDEC_ATTRIBUTE(DtString, ReceiverId, receiverId);
47  DtDEC_ATTRIBUTE(DtU32, RequestId, requestId);
48 
49 
51 
52 public: /*The access specifier must be reset after calling DtDEC_ATTRIBUTE() */
53 
54  virtual DtPortalMessageKind kind() const;
55  virtual const char * interactionKindName() const { return "RemoveEntity"; }
56 
57  virtual unsigned int netSize() const;
58  virtual void writeSelfToBuffer(void *buffer) const ;
59  virtual void readSelfFromBuffer(const void *buffer);
60  virtual std::ostream &printDataToStream(std::ostream &str) const;
61 
62 
63 public:
64 
66 
67  static DtPortalMessage *create();
68 
69  static void addCallback(DtPortalConnection *conn,
70  DtPortalRemoveEntityInteractionCb cb, void *usr);
71  static void removeCallback(DtPortalConnection *conn,
72  DtPortalRemoveEntityInteractionCb cb, void *usr);
73 
74 
75 protected:
76 
77 };
78 }
79 
80 #endif //end #ifndef pRemoveEntityInter_H_

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)