VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pVrvViewMagnification.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/pInteraction.h>
13 
14 namespace MAKVrExchange
15 {
16 
17  class DtPortalConnection;
18 
21 
25  : public DtPortalInteraction
26  {
27  public:
28 
30  typedef void (*functionCallback_type)(
31  const DtPortalVrvViewMagnificationInteraction& interaction, void* userData );
32 
35 
38 
40  static void addCallback( DtPortalConnection* connection,
41  functionCallback_type callbackFunction, void* userData );
42 
44  static void removeCallback( DtPortalConnection* connection,
45  functionCallback_type callbackFunction, void* userData );
46 
49 
50  DtDEC_ATTRIBUTE( DtString, Observer, observer );
51  DtDEC_ATTRIBUTE( DtFloat64, ViewMagnification, viewMagnification );
52 
54 
56  public:
57 
59 
60  static DtPortalMessage* create();
61 
62  virtual unsigned int netSize() const;
63  virtual void writeSelfToBuffer( void* buffer ) const;
64  virtual void readSelfFromBuffer( const void* buffer );
65 
66  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
67 
68  private:
69 
73 
75  bool operator == ( const DtPortalVrvViewMagnificationInteraction& ) const;
76 
78  bool operator != ( const DtPortalVrvViewMagnificationInteraction& ) const;
79 
80  };
81 
82 
84  {
86  }
87 
88 }

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)