VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pCreateEntityInter.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/pInteraction.h>
13 #include <vlutil/vlNetTypes.h>
14 #include <vlutil/vlString.h>
15 #include <matrix/vlVector.h>
16 
17 namespace MAKVrExchange
18 {
19 
20  class DtPortalConnection;
21 
29  : public DtPortalInteraction
30  {
31  public:
32 
33  typedef void (*DtPortalCreateEntityInteractionCb) (
34  const DtPortalCreateEntityInteraction& inter, void* usr );
35 
38 
41 
43  static void addCallback( DtPortalConnection* conn,
44  DtPortalCreateEntityInteractionCb cb, void* usr );
45 
47  static void removeCallback( DtPortalConnection* conn,
48  DtPortalCreateEntityInteractionCb cb, void* usr );
49 
52 
53  DtDEC_ATTRIBUTE( DtString, OriginatingId, originatingId );
54  DtDEC_ATTRIBUTE( DtString, ReceiverId, receiverId );
55  DtDEC_ATTRIBUTE( DtU32, RequestId, requestId );
56 
58 
60  public:
61 
63 
64  static DtPortalMessage* create();
65 
66  virtual unsigned int netSize() const;
67  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
68  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
69 
70  virtual std::ostream& printDataToStream( std::ostream& str ) const;
71 
72  };
73 
74 
76  {
78  }
79 
80 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)