00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00009 00010 #ifndef lgrHlaNetStructures_H_ 00011 #define lgrHlaNetStructures_H_ 00012 00013 #include <vlutil/vlNetTypes.h> 00014 00015 namespace MAKLogger 00016 { 00021 class DT_DLL_LGRSIM DtNetAttributeHeader 00022 { 00023 public: 00024 DtNetU32 handle; 00025 DtNetU32 length; 00026 }; 00027 00038 class DT_DLL_LGRSIM DtNetDDMRegionHeader 00039 { 00040 public: 00041 DtNetU16 nameSize; 00042 DtNetU32 length; 00043 DtNetU32 numExtents; 00044 DtNetU32 regionToken; 00045 DtNetU32 reserved; 00046 }; 00047 00048 class DT_DLL_LGRSIM DtNetDDMExtentHeader 00049 { 00050 public: 00051 DtNetU16 numDimensions; 00052 }; 00053 00057 class DT_DLL_LGRSIM DtNetDDMDimensionHeader 00058 { 00059 public: 00060 DtNetU16 dimensionNameSize; 00061 DtNetU32 upperBound; 00062 DtNetU32 lowerBound; 00063 }; 00064 00071 class DT_DLL_LGRSIM NetUpdateRecord 00072 { 00073 public: 00075 DtNetU32 objectId; 00078 DtNetU32 classHandle; 00080 DtNetU16 numAttrs; 00082 DtNetU16 nameSize; 00084 DtNetU16 tagSize; 00086 DtNetU16 reserved; 00088 DtNetU32 numValueBytes; 00092 //DtNetU32 padding; 00093 DtNetU16 numRegions; 00094 DtNetU16 numRegionBytes; 00095 }; 00096 00102 class DT_DLL_LGRSIM NetMultiTimedUpdateRecord 00103 { 00104 public: 00105 00107 DtNetU32 objectId; 00110 DtNetU32 classHandle; 00112 DtNetU16 numAttrs; 00114 DtNetU16 nameSize; 00116 DtNetU16 tagSize; 00118 DtNetU16 numTimedUpdates; 00120 DtNetU32 numValueBytes; 00122 DtNetU32 padding; 00123 }; 00124 00128 class DT_DLL_LGRSIM NetTimedUpdateRecord 00129 { 00130 public: 00132 DtNetFloat64 time; 00134 DtNetU16 numAttrs; 00136 DtNetU16 reserved; 00138 DtNetU32 numValueBytes; 00139 }; 00140 00146 class DT_DLL_LGRSIM NetRemovalRecord 00147 { 00148 public: 00149 DtNetU32 objectId; 00150 DtNetU32 classHandle; 00152 DtNetU16 nameSize; 00154 DtNetU16 tagSize; 00156 DtNetU32 padding; 00157 }; 00158 00159 class DT_DLL_LGRSIM NetInteractionRecord 00160 { 00161 public: 00162 DtNetU32 classHandle; 00163 DtNetU16 numParams; 00165 DtNetU16 tagSize; 00167 DtNetU32 numValueBytes; 00169 //DtNetU32 padding; 00170 00172 DtNetU16 numRegions; 00173 DtNetU16 numRegionBytes; 00174 }; 00175 00176 class DT_DLL_LGRSIM NetCheckpointUpdate 00177 { 00178 public: 00179 DtNetU32 objectId; 00180 DtNetU32 classHandle; 00182 DtNetU32 numRecords; 00184 DtNetU32 totalSize; 00186 DtNetU32 padding; 00187 }; 00188 00189 struct NetCheckpointUpdateHeader 00190 { 00191 DtNetU32 numBytes; 00192 DtNetU32 flags; 00193 DtNetFloat64 arrivalTime; 00194 }; 00195 00196 struct NetCheckpointUpdateTail 00197 { 00198 DtNetU32 numBytes; 00199 }; 00200 00201 } 00202 00203 #endif