Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippPtMeasEResponse.h

Go to the documentation of this file.
00001 // 
00002 // DISCLAIMER: 
00003 //  This software was produced by the National Institute of Standards 
00004 //  and Technology (NIST), an agency of the U.S. government, and by statute is 
00005 //  not subject to copyright in the United States.  Recipients of this 
00006 //  software assume all responsibility associated with its operation,
00007 //  modification,maintenance, and subsequent redistribution. 
00008 //
00009 //  See NIST Administration Manual 4.09.07 b and Appendix I. 
00010 
00011 /* ippPtMeasEResponse class *************************************************
00012 
00013 Use this for server-initiated PtMeas data.
00014 The tag number must be 0, so the constructors do not take a tag number
00015 argument.
00016 
00017 See documentation of XYZResponse.
00018 
00019 */
00020 #include "ippdme/Response/ippXYZResponse.h"
00021 #include "ippdme/ippTargetVector.h"
00022 
00023 class IPPDME_EXT_CLASS ippPtMeasEResponse : public ippXYZResponse {
00024 
00025 private:
00026   bool _hasER;
00027   bool _hasIJK;
00028   bool _hasIJKAct;
00029   double _theER;
00030   ippTargetVector _theIJK;
00031   int   _theIJKAct;
00032 
00033 public:
00034   ippPtMeasEResponse();
00035 
00036   ippPtMeasEResponse(
00037       bool inHasER, bool inHasIJK,bool inHasIJKAct,
00038                   bool inHasR, 
00039       bool inHasToolA, bool inHasToolB, bool inHasToolC,
00040       bool inHasX, bool inHasY, bool inHasZ,
00041                   double inTheER,
00042       double inI, double inJ, double inK,int inIJKAct,
00043                   double inR, 
00044       double inToolA, double inToolB, double inToolC,
00045                   double inX, double inY, double inZ);
00046 
00047   virtual ~ippPtMeasEResponse(){}
00048 
00049   void setHasER(bool inHasER){ _hasER = inHasER; }
00050   void setHasIJK(bool inHasIJK){ _hasIJK = inHasIJK; }
00051   void setHasIJKAct(bool inHasIJKAct){ _hasIJKAct = inHasIJKAct; }
00052   void setTheER(double inTheER){ _theER = inTheER; }
00053   void setIJK(double inI, double inJ, double inK)
00054     { _theIJK.setValues(inI, inJ, inK); }
00055   void setIJKAct(int inIJKAct) { _theIJKAct = inIJKAct; }
00056 
00057   bool   getHasER() const{ return _hasER; }
00058   bool   getHasIJK()const{ return _hasIJK; }
00059   bool   getHasIJKAct()const{ return _hasIJKAct; }
00060   double getTheER() const{ return _theER; }
00061   double getI()     const{ return _theIJK.getI(); }
00062   double getJ()    const { return _theIJK.getJ(); }
00063   double getK()     const{ return _theIJK.getK(); }
00064   int getIJKAct() const { return  _theIJKAct;  }
00065 
00066   virtual std::string getResponseString() const;
00067 private:
00068   // prohibited copy constructor:
00069   ippPtMeasEResponse(const ippPtMeasEResponse&);
00070   void operator=(const ippPtMeasEResponse&);
00071 
00072 };
00073 IPP_DECLARE_SMARTPOINTER(ippPtMeasEResponse);
00074 

Generated on Wed Nov 8 00:20:00 2006 for IPPDME by  doxygen 1.4.1