VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pLoggerControlInteraction.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/pInteraction.h>
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 
27  : public DtPortalInteraction
28  {
29  public:
30 
32  typedef void (*functionCallback_type) (
33  const DtPortalLoggerControlInteraction& interaction, void* userData );
34 
37 
40 
43 
44  DtDEC_ATTRIBUTE( DtString, ReceiverId, receiverId );
45  DtDEC_ATTRIBUTE( DtString, SenderId, senderId );
46  DtDEC_ATTRIBUTE( DtU32, LoggerCommandType, loggerCommandType );
47 
49 
51  public:
54  static void addCallback(DtPortalConnection* connection,
55  functionCallback_type callbackFunction, void* usr);
56 
59  static void removeCallback(DtPortalConnection* connection,
60  functionCallback_type callbackFunction, void* usr);
61 
62 
64 
65  virtual unsigned int netSize() const;
66  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
67  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
68 
69  virtual std::ostream& printDataToStream( std::ostream& str ) const;
70 
71  };
72 
73 }

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)