00001
00051 #if !defined(_CIGI_COLL_DET_SEG_RESP_V1_INCLUDED_)
00052 #define _CIGI_COLL_DET_SEG_RESP_V1_INCLUDED_
00053
00054 #include "CigiBaseCollDetSegResp.h"
00055
00056
00057 class CIGI_SPEC CigiCollDetSegRespV1 : public CigiBaseCollDetSegResp
00058 {
00059
00060 public:
00061
00062
00063
00064
00067 CigiCollDetSegRespV1();
00068
00069
00072 virtual ~CigiCollDetSegRespV1();
00073
00074
00075
00076
00077
00088 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00089
00090
00100 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00101
00102
00103
00104
00105
00106
00107
00108
00115 int SetSegID(const Cigi_uint8 SegIDIn, bool bndchk=true);
00116
00117
00120 Cigi_uint8 GetSegID(void) const { return(SegID); }
00121
00122
00123
00124
00125
00133 int SetX(const float XIn, bool bndchk=true)
00134 {
00135 X = XIn;
00136 return(CIGI_SUCCESS);
00137 }
00138
00139
00142 float GetX(void) const { return(X); }
00143
00144
00145
00146
00147
00155 int SetY(const float YIn, bool bndchk=true)
00156 {
00157 Y = YIn;
00158 return(CIGI_SUCCESS);
00159 }
00160
00161
00164 float GetY(void) const { return(Y); }
00165
00166
00167
00168
00169
00177 int SetZ(const float ZIn, bool bndchk=true)
00178 {
00179 Z = ZIn;
00180 return(CIGI_SUCCESS);
00181 }
00182
00183
00186 float GetZ(void) const { return(Z); }
00187
00188
00189
00190 };
00191
00192 #endif // #if !defined(_CIGI_COLL_DET_SEG_RESP_V1_INCLUDED_)