00001
00054 #if !defined(_CIGI_COLL_DET_SEG_RESP_V2_INCLUDED_)
00055 #define _CIGI_COLL_DET_SEG_RESP_V2_INCLUDED_
00056
00057 #include "CigiBaseCollDetSegResp.h"
00058
00059
00060
00061 class CIGI_SPEC CigiCollDetSegRespV2 : public CigiBaseCollDetSegResp
00062 {
00063
00064 public:
00065
00066
00067
00068
00071 CigiCollDetSegRespV2();
00072
00073
00076 virtual ~CigiCollDetSegRespV2();
00077
00078
00079
00080
00081
00092 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00093
00094
00104 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00105
00106
00107
00108
00109
00110
00111
00112
00119 int SetSegID(const Cigi_uint8 SegIDIn, bool bndchk=true);
00120
00121
00124 Cigi_uint8 GetSegID(void) const { return(SegID); }
00125
00126
00127
00128
00129
00138 int SetCollType(const CollTypeGrp CollTypeIn, bool bndchk=true);
00139
00140
00143 CollTypeGrp GetCollType(void) const { return(CollType); }
00144
00145
00146
00147
00148
00155 int SetCollEntityID(const Cigi_uint16 CollEntityIDIn, bool bndchk=true)
00156 {
00157 CollEntityID = CollEntityIDIn;
00158 return(CIGI_SUCCESS);
00159 }
00160
00161
00164 Cigi_uint16 GetCollEntityID(void) const { return(CollEntityID); }
00165
00166
00167
00168
00169
00177 int SetX(const float XIn, bool bndchk=true)
00178 {
00179 X = XIn;
00180 return(CIGI_SUCCESS);
00181 }
00182
00183
00186 float GetX(void) const { return(X); }
00187
00188
00189
00190
00191
00199 int SetY(const float YIn, bool bndchk=true)
00200 {
00201 Y = YIn;
00202 return(CIGI_SUCCESS);
00203 }
00204
00205
00208 float GetY(void) const { return(Y); }
00209
00210
00211
00212
00213
00221 int SetZ(const float ZIn, bool bndchk=true)
00222 {
00223 Z = ZIn;
00224 return(CIGI_SUCCESS);
00225 }
00226
00227
00230 float GetZ(void) const { return(Z); }
00231
00232
00233
00234 };
00235
00236 #endif // #if !defined(_CIGI_COLL_DET_SEG_RESP_V2_INCLUDED_)