VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pVrfSkipTask.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 DtPortalVrfSkipTaskInteraction &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 
45 
46  DtDEC_ATTRIBUTE( DtString, Name, name );
47  DtDEC_ATTRIBUTE( bool, RequestedBySuperior, requestedBySuperior );
49 
51  public:
52 
54 
55  static DtPortalMessage* create();
56 
57  virtual unsigned int netSize() const;
58  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
59  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
60 
61  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
62 
63  private:
64 
67 
69  bool operator == ( const DtPortalVrfSkipTaskInteraction& ) const;
70 
72  bool operator != ( const DtPortalVrfSkipTaskInteraction& ) const;
73 
74  };
75 
76 
78  {
79  return new DtPortalVrfSkipTaskInteraction();
80  }
81 
82 }

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)