VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pEnvironmentProcessObject.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/pObject.h>
13 
14 namespace MAKVrExchange
15 {
16 
22  : public DtPortalObject
23  {
24  public:
25 
28 
31  const DtPortalEnvironmentProcessObject& original );
32 
35 
38  const DtPortalEnvironmentProcessObject& original );
39 
42 
43  bool operator == ( const DtPortalEnvironmentProcessObject& rightOperand ) const;
44  bool operator != ( const DtPortalEnvironmentProcessObject& rightOperand ) const;
45 
47 
50 
52  DtDEC_ATTRIBUTE( DtEntityIdentifier, ProcessIdentifier, processIdentifier );
53 
59  DtDEC_ATTRIBUTE( DtEntityType, Type, type );
60 
63  DtDEC_ATTRIBUTE( DtU32, ModelType, modelType );
64 
67  DtDEC_ATTRIBUTE( DtU8, EnvironmentalStatus, environmentalStatus );
68 
70  DtDEC_ATTRIBUTE( DtU16, SequenceNumber, sequenceNumber );
71 
74  DtDEC_ATTRIBUTE( DtAttributeValuePairList, EnvironmentRecData, environmentRecData );
75 
77 
79  public:
80 
82 
83  static DtPortalMessage* create();
84 
85  virtual unsigned int netSize() const;
86  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
87  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
88 
89  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
90 
91  };
92 
93 
95  {
97  }
98 
99 }
#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
DtPortalObject are messages which also serve as state repositories for simulated objects.
Definition: pObject.h:23
The base class for all messages passed through the portal.
Definition: pMessage.h:65
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pEnvironmentProcessObject.h:81
static DtPortalMessage * create()
Definition: pEnvironmentProcessObject.h:94
Represents Environment Process Objects in a simulation.
Definition: pEnvironmentProcessObject.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
Contains the DtPortalObject class declaration.

Document ID: Generated on Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)