00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "ippdme/Response/ippXYZResponse.h"
00028 #include "ippdme/ippTargetVector.h"
00029
00030 class IPPDME_EXT_CLASS ippPtMeasOrGetResponse : public ippXYZResponse {
00031
00032 private:
00033 bool _hasER;
00034 bool _hasIJK;
00035 bool _hasIJKAct;
00036 bool _hasQ;
00037
00038
00039 double _theER;
00040 ippTargetVector _theIJK;
00041 int _theIJKAct;
00042 double _theQ;
00043
00044
00045 public:
00046 ippPtMeasOrGetResponse(
00047 unsigned int inTagNumber
00048 );
00049
00050 ippPtMeasOrGetResponse(
00051 unsigned int inTagNumber,
00052 bool inHasER, bool inHasIJK,bool inHasIJKAct,bool inHasQ,
00053 bool inHasR,
00054 bool inHasToolA, bool inHasToolB,bool inHasToolC,
00055 bool inHasX, bool inHasY, bool inHasZ,
00056 double inTheER, double inI, double inJ, double inK,int inIJKAct,double inQ,
00057 double inR,
00058 double inToolA, double inToolB, double inToolC,
00059 double inX, double inY, double inZ
00060 );
00061
00062 virtual ~ippPtMeasOrGetResponse(){}
00063
00064 void setHasER(bool inHasER){ _hasER = inHasER; }
00065 void setHasIJK(bool inHasIJK){ _hasIJK = inHasIJK; }
00066 void setHasIJKAct(bool inHasIJKAct){ _hasIJKAct = inHasIJKAct; }
00067 void setHasQ(bool inHasQ){ _hasQ = inHasQ; }
00068
00069 void setER(double inTheER){ _theER = inTheER; }
00070 void setIJK(double inI, double inJ, double inK)
00071 { _theIJK.setValues(inI, inJ, inK); }
00072 void setQ(double inQ) { _theQ = inQ; }
00073 void setIJKAct(int inIJKAct) { _theIJKAct = inIJKAct; }
00074
00075 bool getHasER() const { return _hasER; }
00076 bool getHasIJK()const { return _hasIJK; }
00077 bool getHasIJKAct()const { return _hasIJKAct; }
00078 bool getHasQ()const { return _hasQ; }
00079 double getTheER()const { return _theER; }
00080 double getI() const { return _theIJK.getI(); }
00081 double getJ() const { return _theIJK.getJ(); }
00082 double getK() const { return _theIJK.getK(); }
00083 double getQ() const { return _theQ; }
00084 int getIJKAct() const { return _theIJKAct ;}
00085
00086 virtual std::string getResponseString() const;
00087 private:
00088
00089 ippPtMeasOrGetResponse(const ippPtMeasOrGetResponse&);
00090 void operator=(const ippPtMeasOrGetResponse&);
00091
00092 };
00093 IPP_DECLARE_SMARTPOINTER(ippPtMeasOrGetResponse);