VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pVrvTetherView.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/dllExport.h>
13 #include <portal/pInteraction.h>
14 
15 namespace MAKVrExchange
16 {
17 
18  class DtPortalConnection;
19 
23  : public DtPortalInteraction
24  {
25  public:
26 
28  typedef void (*functionCallback_type) (
29  const DtPortalVrvTetherViewInteraction &interaction, void *userData);
30 
33 
36 
38  static void addCallback( DtPortalConnection* connection,
39  functionCallback_type callbackFunction, void* userData );
40 
42  static void removeCallback( DtPortalConnection* connection,
43  functionCallback_type callbackFunction, void* userData );
44 
47 
48  DtDEC_ATTRIBUTE( DtVector, Offset, offset );
49  DtDEC_ATTRIBUTE( DtTaitBryan, OffsetOri, offsetOri );
50  DtDEC_ATTRIBUTE( DtString, Observer, observer );
51  DtDEC_ATTRIBUTE( DtString, AttachedEntity, attachedEntity );
53 
55  public:
56 
58 
59  static DtPortalMessage* create();
60 
61  virtual unsigned int netSize() const;
62  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
63  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
64 
65  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
66 
67  private:
68 
71 
73  bool operator == ( const DtPortalVrvTetherViewInteraction& ) const;
74 
76  bool operator != ( const DtPortalVrvTetherViewInteraction& ) const;
77 
78  };
79 
80 
82  {
84  }
85 
86 }

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)