VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pVrvUseSavedView.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 
27  : public DtPortalInteraction
28  {
29  public:
30 
32  typedef void (*functionCallback_type)(
33  const DtPortalVrvUseSavedViewInteraction& interaction, void* userData );
34 
37 
40 
42  static void addCallback( DtPortalConnection* connection,
43  functionCallback_type callbackFunction, void* userData );
44 
46  static void removeCallback( DtPortalConnection* connection,
47  functionCallback_type callbackFunction, void* userData );
48 
51 
52  DtDEC_ATTRIBUTE( DtString, Observer, observer );
53  DtDEC_ATTRIBUTE( DtString, SavedViewFilename, savedViewFilename );
54  DtDEC_ATTRIBUTE( DtString, SavedViewDisplayName, savedViewDisplayName );
55  DtDEC_ATTRIBUTE( double, SmoothTime, smoothTime );
56 
58 
60  public:
61 
63 
64  static DtPortalMessage* create();
65 
66  virtual unsigned int netSize() const;
67  virtual void writeSelfToBuffer( void* buffer ) const;
68  virtual void readSelfFromBuffer( const void* buffer );
69 
70  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
71 
72  private:
73 
77 
79  bool operator == ( const DtPortalVrvUseSavedViewInteraction& ) const;
80 
82  bool operator != ( const DtPortalVrvUseSavedViewInteraction& ) const;
83 
84  };
85 
86 
88  {
90  }
91 
92 }

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)