VR-Exchange 2.1 API Documentation
pGriddedDataObject.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ******************************************************************************/
4 
5 #ifndef pGriddedDataObject_H_
6 #define pGriddedDataObject_H_
7 
11 
12 
13 #include <portal/pBaseObject.h>
14 #include <vlpi/enviroTypeRec.h>
15 
16 namespace MAKVrExchange {
17 
22  {
23  public:
24 
25  //Doxygen comments inherited from parent class
27 
28  //Doxygen comments inherited from parent class
29  virtual ~DtPortalGriddedDataObject();
30 
31  //Doxygen comments inherited from parent class
33 
34  //Doxygen comments inherited from parent class
35  DtPortalGriddedDataObject &operator=( const DtPortalGriddedDataObject &original );
36 
37  //Doxygen comments inherited from parent class
38  int operator==( const DtPortalGriddedDataObject &rightOperand );
39 
40  //Doxygen comments inherited from parent class
41  int operator!=( const DtPortalGriddedDataObject &rightOperand );
42 
43  //Doxygen comments inherited from parent class
44  virtual const char * objectKindName() const;
45 
46  //Doxygen comments inherited from parent class
47  virtual unsigned int netSize() const;
48 
49  //Doxygen comments inherited from parent class
50  virtual void writeSelfToBuffer( void *buffer ) const ;
51 
52  //Doxygen comments inherited from parent class
53  virtual void readSelfFromBuffer( const void *buffer );
54 
55  //Doxygen comments inherited from parent class
56  virtual std::ostream &printDataToStream( std::ostream &stream ) const;
57 
58  //Doxygen comments inherited from parent class
59  static DtPortalMessage *create();
60 
65 
66  //Doxygen comments inherited from parent class
67  virtual DtPortalMessageKind kind() const;
68 
70 
71 
72  DtDEC_ATTRIBUTE( DtEntityIdentifier, GridIdentifier, gridIdentifier );
73  DtDEC_ATTRIBUTE( DtU16, FieldNumber, fieldNumber );
74  DtDEC_ATTRIBUTE( DtU16, RecordNumber, recordNumber );
75  DtDEC_ATTRIBUTE( DtU16, RecordTotal, recordTotal );
76  DtDEC_ATTRIBUTE( DtU8, CoordinateSystem, coordinateSystem );
77  DtDEC_ATTRIBUTE( DtU8, NumGridAxis, numGridAxis );
78  DtDEC_ATTRIBUTE( DtU8, ConstantGrid, constantGrid );
79  DtDEC_ATTRIBUTE( DtEnvironmentTypeRecord, EnvironmentType, environmentType );
80  DtDEC_ATTRIBUTE( DtTaitBryan, Orientation, orientation );
81  DtDEC_ATTRIBUTE( DtU64, SampleTime, sampleTime );
82  DtDEC_ATTRIBUTE( DtU32, TotalValues, totalValues );
83  DtDEC_ATTRIBUTE( DtU8, VectorDim, vectorDim );
84  DtDEC_ATTRIBUTE( std::vector<DtU32>, GridAxisType, gridAxisType );
85  DtDEC_ATTRIBUTE( DtAttributeValuePairList, GridAxisRecord, gridAxisRecord );
86  DtDEC_ATTRIBUTE( std::vector<DtU32>, GridDataType, gridDataType );
87  DtDEC_ATTRIBUTE( DtAttributeValuePairList, GridDataRecord, gridDataRecord );
88 
89  //NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
90  private:
91 
92 
93  }; //end class DtPortalGriddedDataObject
94 
95 
97  {
98  return new DtPortalGriddedDataObject();
99  }
100 
101  inline const char *DtPortalGriddedDataObject::objectKindName() const
102  {
103  return "Gridded Data";
104  }
105 
107  {
108  return theKind;
109  }
110 
111 }
112 
113 #endif //end #ifndef pGriddedDataObject_H_

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)