00001
00049 #if !defined(_CIGI_HAT_HOT_REQ_V3_2_INCLUDED_)
00050 #define _CIGI_HAT_HOT_REQ_V3_2_INCLUDED_
00051
00052 #include "CigiBaseHatHotReq.h"
00053
00054
00055
00056 class CIGI_SPEC CigiHatHotReqV3_2 : public CigiBaseHatHotReq
00057 {
00058
00059 public:
00060
00061
00062
00063
00066 CigiHatHotReqV3_2();
00067
00068
00071 virtual ~CigiHatHotReqV3_2();
00072
00073
00074
00075
00076
00087 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00088
00089
00099 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00100
00101
00113 virtual int GetCnvt(CigiVersionID &CnvtVersion,
00114 CigiCnvtInfoType::Type &CnvtInfo);
00115
00116
00117
00118
00119
00120
00121
00122
00132 int SetReqType(const ReqTypeGrp ReqTypeIn, bool bndchk=true);
00133
00134
00137 ReqTypeGrp GetReqType(void) const { return(ReqType); }
00138
00139
00140
00141
00142
00151 int SetSrcCoordSys(const CoordSysGrp SrcCoordSysIn, bool bndchk=true);
00152
00153
00156 CoordSysGrp GetSrcCoordSys(void) const { return(SrcCoordSys); }
00157
00158
00159
00160
00161
00170 int SetUpdatePeriod(const Cigi_uint8 UpdatePeriodIn, bool bndchk=true)
00171 {
00172 UpdatePeriod = UpdatePeriodIn;
00173 return(CIGI_SUCCESS);
00174 }
00175
00176
00181 Cigi_uint8 GetUpdatePeriod(void) const { return(UpdatePeriod); }
00182
00183
00184
00185
00186
00193 int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00194 {
00195 EntityID = EntityIDIn;
00196 return(CIGI_SUCCESS);
00197 }
00198
00199
00202 Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00203
00204
00205
00206
00207
00216 int SetXoff(const double XoffIn, bool bndchk=true)
00217 {
00218 LatOrXoff = XoffIn;
00219 return(CIGI_SUCCESS);
00220 }
00221
00222
00225 double GetXoff(void) const { return(LatOrXoff); }
00226
00227
00228
00229
00230
00239 int SetYoff(const double YoffIn, bool bndchk=true)
00240 {
00241 LonOrYoff = YoffIn;
00242 return(CIGI_SUCCESS);
00243 }
00244
00245
00248 double GetYoff(void) const { return(LonOrYoff); }
00249
00250
00251
00252
00253
00260 int SetAlt(const double AltIn, bool bndchk=true)
00261 {
00262 AltOrZoff = AltIn;
00263 return(CIGI_SUCCESS);
00264 }
00265
00266
00269 double GetAlt(void) const { return(AltOrZoff); }
00270
00271
00272
00273
00274
00283 int SetZoff(const double ZoffIn, bool bndchk=true)
00284 {
00285 AltOrZoff = ZoffIn;
00286 return(CIGI_SUCCESS);
00287 }
00288
00289
00292 double GetZoff(void) const { return(AltOrZoff); }
00293
00294
00295
00296 };
00297
00298 #endif // #if !defined(_CIGI_HAT_HOT_REQ_V3_2_INCLUDED_)