VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pLoggerPlayFileInteraction.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 
13 #include <vlutil/vlNetTypes.h>
14 #include <vlutil/vlString.h>
15 #include <matrix/vlVector.h>
16 
17 namespace MAKVrExchange
18 {
19 
20  class DtPortalConnection;
21 
28  {
29  public:
30 
32  typedef void (*functionCallback_type) (
33  const DtPortalLoggerPlayFileInteraction& 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, Filename, filename );
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& str ) const;
68 
69  };
70 }

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)