00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #pragma once
00016 #include "ippCommand.h"
00017
00018 class IPPDME_EXT_CLASS ippOnPtMeasReportCommand : public ippCommand {
00019
00020 public:
00021
00022 ippOnPtMeasReportCommand(
00023 unsigned int tgNum
00024 );
00025
00026 ippOnPtMeasReportCommand(
00027 unsigned int tgNum,
00028 bool inHasER, bool inHasIJK,
00029 bool inHasQ, bool inHasR,
00030 bool inHasX, bool inHasY, bool inHasZ,
00031 bool inHasToolA, bool inHasToolB, bool inHasToolC,
00032 bool inHasIJKAct
00033 );
00034
00035 virtual ~ippOnPtMeasReportCommand(){}
00036
00037 void setDefault();
00038
00039 void setHasER(bool inHasER){ _hasER = inHasER; }
00040 void setHasIJK(bool inHasIJK){ _hasIJK = inHasIJK; }
00041 void setHasQ(bool inHasQ){ _hasQ = inHasQ; }
00042 void setHasR(bool inHasR){ _hasR = inHasR; }
00043 void setHasX(bool inHasX){ _hasX = inHasX; }
00044 void setHasY(bool inHasY){ _hasY = inHasY; }
00045 void setHasZ(bool inHasZ){ _hasZ = inHasZ; }
00046 void setHasToolA(bool inHasToolA){ _hasToolA = inHasToolA; }
00047 void setHasToolB(bool inHasToolB){ _hasToolB = inHasToolB; }
00048 void setHasToolC(bool inHasToolC){ _hasToolC = inHasToolC; }
00049 void setHasIJKAct(bool inHasIJKAct){ _hasIJKAct = inHasIJKAct; }
00050
00051 bool getHasER()const{ return _hasER; }
00052 bool getHasIJK()const{ return _hasIJK; }
00053 bool getHasQ() const{ return _hasQ; }
00054 bool getHasR()const{ return _hasR; }
00055 bool getHasX()const{ return _hasX; }
00056 bool getHasY()const{ return _hasY; }
00057 bool getHasZ()const{ return _hasZ; }
00058 bool getHasToolA()const{ return _hasToolA; }
00059 bool getHasToolB()const{ return _hasToolB; }
00060 bool getHasToolC()const{ return _hasToolC; }
00061 bool getHasIJKAct()const{ return _hasIJKAct; }
00062
00063 virtual std::string getCommandString() const;
00064
00065 private:
00066 bool _hasER;
00067 bool _hasIJK;
00068 bool _hasQ;
00069 bool _hasR;
00070 bool _hasX;
00071 bool _hasY;
00072 bool _hasZ;
00073 bool _hasToolA;
00074 bool _hasToolB;
00075 bool _hasToolC;
00076 bool _hasIJKAct;
00077
00078 private:
00079
00080 ippOnPtMeasReportCommand(const ippOnPtMeasReportCommand&);
00081 void operator=(const ippOnPtMeasReportCommand&);
00082 };
00083 IPP_DECLARE_SMARTPOINTER(ippOnPtMeasReportCommand);