VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pGriddedDataObject.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 #include <vlpi/environmentTypeRecord.h>
14 
15 namespace MAKVrExchange
16 {
17 
21  {
22  public:
23 
26 
29 
31  virtual ~DtPortalGriddedDataObject();
32 
34  DtPortalGriddedDataObject& operator = ( const DtPortalGriddedDataObject& original );
35 
38 
39  int operator == ( const DtPortalGriddedDataObject& rightOperand );
40  int operator != ( const DtPortalGriddedDataObject& rightOperand );
41 
43 
46 
47  DtDEC_ATTRIBUTE( DtEntityIdentifier, GridIdentifier, gridIdentifier );
48  DtDEC_ATTRIBUTE( DtU16, FieldNumber, fieldNumber );
49  DtDEC_ATTRIBUTE( DtU16, RecordNumber, recordNumber );
50  DtDEC_ATTRIBUTE( DtU16, RecordTotal, recordTotal );
51  DtDEC_ATTRIBUTE( DtU8, CoordinateSystem, coordinateSystem );
52  DtDEC_ATTRIBUTE( DtU8, NumGridAxis, numGridAxis );
53  DtDEC_ATTRIBUTE( DtU8, ConstantGrid, constantGrid );
54  DtDEC_ATTRIBUTE( DtEnvironmentTypeRecord, EnvironmentType, environmentType );
55  DtDEC_ATTRIBUTE( DtTaitBryan, Orientation, orientation );
56  DtDEC_ATTRIBUTE( DtU64, SampleTime, sampleTime );
57  DtDEC_ATTRIBUTE( DtU32, TotalValues, totalValues );
58  DtDEC_ATTRIBUTE( DtU8, VectorDim, vectorDim );
59  DtDEC_ATTRIBUTE( std::vector<DtU32>, GridAxisType, gridAxisType );
60  DtDEC_ATTRIBUTE( DtAttributeValuePairList, GridAxisRecord, gridAxisRecord );
61  DtDEC_ATTRIBUTE( std::vector<DtU32>, GridDataType, gridDataType );
62  DtDEC_ATTRIBUTE( DtAttributeValuePairList, GridDataRecord, gridDataRecord );
63 
65 
66  //NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
67  public:
68 
70 
71  static DtPortalMessage* create();
72 
73  virtual unsigned int netSize() const;
74  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
75  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
76 
77  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
78 
79  };
80 
81 
83  {
84  return new DtPortalGriddedDataObject();
85  }
86 
87 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)