VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pVrvUseSavedView.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 
24  : public DtPortalInteraction
25  {
26  public:
27 
29  typedef void (*functionCallback_type)(
30  const DtPortalVrvUseSavedViewInteraction& interaction, void* userData );
31 
34 
37 
39  static void addCallback( DtPortalConnection* connection,
40  functionCallback_type callbackFunction, void* userData );
41 
43  static void removeCallback( DtPortalConnection* connection,
44  functionCallback_type callbackFunction, void* userData );
45 
48 
49  DtDEC_ATTRIBUTE( DtString, Observer, observer );
50  DtDEC_ATTRIBUTE( DtString, SavedViewFilename, savedViewFilename );
51  DtDEC_ATTRIBUTE( DtString, SavedViewDisplayName, savedViewDisplayName );
52  DtDEC_ATTRIBUTE( double, SmoothTime, smoothTime );
53 
55 
57  public:
58 
60 
61  static DtPortalMessage* create();
62 
63  virtual unsigned int netSize() const;
64  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
65  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
66 
67  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
68 
69  private:
70 
74 
76  bool operator == ( const DtPortalVrvUseSavedViewInteraction& ) const;
77 
79  bool operator != ( const DtPortalVrvUseSavedViewInteraction& ) const;
80 
81  };
82 
83 
85  {
87  }
88 
89 }

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)