CigiCollDetSegDefV3.h

Go to the documentation of this file.
00001 
00051 #if !defined(_CIGI_COLL_DET_SEG_DEF_V3_INCLUDED_)
00052 #define _CIGI_COLL_DET_SEG_DEF_V3_INCLUDED_
00053 
00054 #include "CigiBaseCollDetSegDef.h"
00055 
00056 
00057 
00058 class CIGI_SPEC CigiCollDetSegDefV3 : public CigiBaseCollDetSegDef
00059 {
00060 
00061 public:
00062 
00063    //==> Management
00064 
00065    //=========================================================
00068    CigiCollDetSegDefV3();
00069 
00070    //=========================================================
00073    virtual ~CigiCollDetSegDefV3();
00074 
00075 
00076    //==> Buffer Packing/Unpacking
00077 
00078    //=========================================================
00089    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00090 
00091    //=========================================================
00101    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00102 
00103 
00104 
00105    //==> Accessing Member Variable Values functions
00106 
00107    //+> SegmentID
00108 
00109    //=========================================================
00116    int SetSegmentID(const Cigi_uint8 SegmentIDIn, bool bndchk=true)
00117    {
00118       SegmentID = SegmentIDIn;
00119       return(CIGI_SUCCESS);
00120    }
00121 
00122    //=========================================================
00125    Cigi_uint8 GetSegmentID(void) const { return(SegmentID); }
00126 
00127 
00128 
00129 };
00130 
00131 #endif // #if !defined(_CIGI_COLL_DET_SEG_DEF_V3_INCLUDED_)

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