CigiCollDetSegRespV3.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_COLL_DET_SEG_RESP_V3_INCLUDED_)
00055 #define _CIGI_COLL_DET_SEG_RESP_V3_INCLUDED_
00056 
00057 #include "CigiBaseCollDetSegResp.h"
00058 
00059 
00060 
00061 class CIGI_SPEC CigiCollDetSegRespV3 : public CigiBaseCollDetSegResp
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiCollDetSegRespV3();
00072 
00073    //=========================================================
00076    virtual ~CigiCollDetSegRespV3();
00077 
00078 
00079    //==> Buffer Packing/Unpacking
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    //==> Accessing Member Variable Values functions
00109 
00110    //+> SegID
00111 
00112    //=========================================================
00119    int SetSegID(const Cigi_uint8 SegIDIn, bool bndchk=true)
00120    {
00121       SegID = SegIDIn;
00122       return(CIGI_SUCCESS);
00123    }
00124 
00125    //=========================================================
00128    Cigi_uint8 GetSegID(void) const { return(SegID); }
00129 
00130 
00131    //+> CollType
00132 
00133    //=========================================================
00142    int SetCollType(const CollTypeGrp CollTypeIn, bool bndchk=true);
00143 
00144    //=========================================================
00147    CollTypeGrp GetCollType(void) const { return(CollType); }
00148 
00149 
00150    //+> CollEntityID
00151 
00152    //=========================================================
00159    int SetCollEntityID(const Cigi_uint16 CollEntityIDIn, bool bndchk=true)
00160    {
00161       CollEntityID = CollEntityIDIn;
00162       return(CIGI_SUCCESS);
00163    }
00164 
00165    //=========================================================
00168    Cigi_uint16 GetCollEntityID(void) const { return(CollEntityID); }
00169 
00170 
00171    //+> IntersectDist
00172 
00173    //=========================================================
00181    int SetIntersectDist(const float IntersectDistIn, bool bndchk=true)
00182    {
00183       IntersectDist = IntersectDistIn;
00184       return(CIGI_SUCCESS);
00185    }
00186 
00187    //=========================================================
00190    float GetIntersectDist(void) const { return(IntersectDist); }
00191 
00192 
00193 
00194 };
00195 
00196 #endif // #if !defined(_CIGI_COLL_DET_SEG_RESP_V3_INCLUDED_)

Generated on Wed Apr 29 08:59:56 2009 for CCL by  doxygen 1.4.7