CigiViewCtrlV3.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_VIEW_CTRL_V3_INCLUDED_)
00055 #define _CIGI_VIEW_CTRL_V3_INCLUDED_
00056 
00057 #include "CigiBaseViewCtrl.h"
00058 
00059 
00060 
00061 class CIGI_SPEC CigiViewCtrlV3 : public CigiBaseViewCtrl
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiViewCtrlV3();
00072 
00073    //=========================================================
00076    virtual ~CigiViewCtrlV3();
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    //+> ViewID
00111 
00112    //=========================================================
00120    int SetViewID(const Cigi_uint16 ViewIDIn, bool bndchk=true)
00121    {
00122       ViewID = ViewIDIn;
00123       return(CIGI_SUCCESS);
00124    }
00125 
00126 
00127    //=========================================================
00130    Cigi_uint16 GetViewID(void) const { return(ViewID); }
00131 
00132 
00133    //+> GroupID
00134 
00135    //=========================================================
00142    int SetGroupID(const Cigi_uint8 GroupIDIn, bool bndchk=true)
00143    {
00144       GroupID = GroupIDIn;
00145       return(CIGI_SUCCESS);
00146    }
00147 
00148    //=========================================================
00151    Cigi_uint8 GetGroupID(void) const { return(GroupID); }
00152 
00153 
00154    //+> XOffEn
00155 
00156    //=========================================================
00164    int SetXOffEn(const bool XOffEnIn, bool bndchk=true)
00165    {
00166       XOffEn = XOffEnIn;
00167       return(CIGI_SUCCESS);
00168    }
00169 
00170    //=========================================================
00173    bool GetXOffEn(void) const { return(XOffEn); }
00174 
00175 
00176    //+> YOffEn
00177 
00178    //=========================================================
00186    int SetYOffEn(const bool YOffEnIn, bool bndchk=true)
00187    {
00188       YOffEn = YOffEnIn;
00189       return(CIGI_SUCCESS);
00190    }
00191 
00192    //=========================================================
00195    bool GetYOffEn(void) const { return(YOffEn); }
00196 
00197 
00198    //+> ZOffEn
00199 
00200    //=========================================================
00208    int SetZOffEn(const bool ZOffEnIn, bool bndchk=true)
00209    {
00210       ZOffEn = ZOffEnIn;
00211       return(CIGI_SUCCESS);
00212    }
00213 
00214    //=========================================================
00217    bool GetZOffEn(void) const { return(ZOffEn); }
00218 
00219 
00220    //+> RollEn
00221 
00222    //=========================================================
00230    int SetRollEn(const bool RollEnIn, bool bndchk=true)
00231    {
00232       RollEn = RollEnIn;
00233       return(CIGI_SUCCESS);
00234    }
00235 
00236    //=========================================================
00239    bool GetRollEn(void) const { return(RollEn); }
00240 
00241 
00242    //+> PitchEn
00243 
00244    //=========================================================
00252    int SetPitchEn(const bool PitchEnIn, bool bndchk=true)
00253    {
00254       PitchEn = PitchEnIn;
00255       return(CIGI_SUCCESS);
00256    }
00257 
00258    //=========================================================
00261    bool GetPitchEn(void) const { return(PitchEn); }
00262 
00263 
00264    //+> YawEn
00265 
00266    //=========================================================
00274    int SetYawEn(const bool YawEnIn, bool bndchk=true)
00275    {
00276       YawEn = YawEnIn;
00277       return(CIGI_SUCCESS);
00278    }
00279 
00280    //=========================================================
00283    bool GetYawEn(void) const { return(YawEn); }
00284 
00285 
00286 
00287 };
00288 
00289 #endif // #if !defined(_CIGI_VIEW_CTRL_V3_INCLUDED_)

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