VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pVrvModelScaleFactor.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 
16 namespace MAKVrExchange {
17 
20 
21  class DtPortalConnection;
22 
23 
27  : public DtPortalInteraction
28  {
29  public:
30 
31 
33  typedef void (*functionCallback_type) (
34  const DtPortalVrvModelScaleFactorInteraction &interaction, void *userData);
35 
38 
41 
43  static void addCallback( DtPortalConnection* connection,
44  functionCallback_type callbackFunction, void* userData );
45 
47  static void removeCallback( DtPortalConnection* connection,
48  functionCallback_type callbackFunction, void* userData );
49 
52 
53  DtDEC_ATTRIBUTE( DtEntityIdentifier, Vantage, vantage );
54  DtDEC_ATTRIBUTE( DtString, ObserverMode, observerMode );
55  DtDEC_ATTRIBUTE( double, ModelScaleFactor, modelScaleFactor );
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 
75 
77  bool operator==( const DtPortalVrvModelScaleFactorInteraction& ) const;
78 
80  bool operator!=( const DtPortalVrvModelScaleFactorInteraction& ) const;
81 
82  }; //end class DtPortalScriptedTaskInteraction
83 
85  {
87  }
88 
89 }

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)