VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pVrfSkipTask.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
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 }
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
The base class for all messages passed through the portal.
Definition: pMessage.h:67
Contains the DtPortalInteraction class declaration.
DtPortalInteractions are a special type of DtPortalMessages which are used to transmit simulation dat...
Definition: pInteraction.h:21
static DtPortalMessage * create()
Definition: pVrfSkipTask.h:77
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Vrf CreateObj Interaction class.
Definition: pVrfSkipTask.h:22
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pVrfSkipTask.h:53

Document ID: Generated on Mon May 25 18:45:12 EDT 2026 from SVN revision 289111
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)