VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pVrfTextReport.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 
23  {
24  public:
25 
27  typedef void (*functionCallback_type) (
28  const DtPortalVrfTextReportInteraction &interaction, void *userData);
29 
32 
35 
37  static void addCallback( DtPortalConnection* connection,
38  functionCallback_type callbackFunction, void* userData );
39 
41  static void removeCallback( DtPortalConnection* connection,
42  functionCallback_type callbackFunction, void* userData );
43 
47  DtDEC_ATTRIBUTE( DtString, OriginatingEntity, originatingEntity );
48  DtDEC_ATTRIBUTE( DtString, ReceivingEntity, receivingEntity );
49  DtDEC_ATTRIBUTE( DtString, Message, message );
51 
53  public:
54 
56 
57  static DtPortalMessage* create();
58 
59  virtual unsigned int netSize() const;
60  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
61  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
62 
63  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
64 
65  private:
66 
69 
71  bool operator == ( const DtPortalVrfTextReportInteraction& ) const;
72 
74  bool operator != ( const DtPortalVrfTextReportInteraction& ) const;
75 
76  };
77 
78 
80  {
82  }
83 
84 }

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)