VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pVrvMimicView.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 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 
22 
26  : public DtPortalInteraction
27  {
28  public:
29 
31  typedef void (*functionCallback_type) (
32  const DtPortalVrvMimicViewInteraction& interaction, void* userData );
33 
36 
39 
41  static void addCallback( DtPortalConnection* connection,
42  functionCallback_type callbackFunction, void* userData );
43 
45  static void removeCallback( DtPortalConnection* connection,
46  functionCallback_type callbackFunction, void* userData );
47 
50 
51  DtDEC_ATTRIBUTE( DtVector, Offset, offset );
52  DtDEC_ATTRIBUTE( DtTaitBryan, OffsetOri, offsetOri );
53  DtDEC_ATTRIBUTE( DtString, Observer, observer );
54  DtDEC_ATTRIBUTE( DtString, AttachedEntity, attachedEntity );
55 
57 
59  public:
60 
62 
63  static DtPortalMessage* create();
64 
65  virtual unsigned int netSize() const;
66  virtual void writeSelfToBuffer( void* buffer ) const;
67  virtual void readSelfFromBuffer( const void* buffer );
68 
69  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
70 
71  private:
72 
76 
78  bool operator == ( const DtPortalVrvMimicViewInteraction& ) const;
79 
81  bool operator != ( const DtPortalVrvMimicViewInteraction& ) const;
82 
83  };
84 
85 
87  {
89  }
90 
91 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)