WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pInteraction.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/pMessage.h>
13 
14 namespace MAKVrExchange
15 {
16 
22  {
23 
24  public:
25 
28 
31 
33  virtual ~DtPortalInteraction();
34 
36  virtual DtPortalInteraction& operator = ( const DtPortalInteraction& other );
37 
40 
44  DtDEC_ATTRIBUTE( DtString, Name, name );
45 
47  DtDEC_ATTRIBUTE( DtAttributeValuePairList, AttributeValuePairList,
48  attributeValuePairList );
49 
51 
53  public:
54 
55  virtual unsigned int netSize() const;
56  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
57  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
58 
59  virtual std::ostream& printDataToStream( std::ostream& str ) const;
60 
61  private:
62 
64  int operator == ( const DtPortalInteraction& other );
65 
67  int operator != ( const DtPortalInteraction& other );
68 
69  };
70 
71 }
#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
Contains the DtPortalMessage class declaration.
The base class for all messages passed through the portal.
Definition: pMessage.h:65
DtPortalInteractions are a special type of DtPortalMessages which are used to transmit simulation dat...
Definition: pInteraction.h:21
std::list< DtAttributeValuePair > DtAttributeValuePairList
A list of DtAttributeValuePairs.
Definition: variableLengthData.h:79
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)