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

ippOnMoveReportECommand.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 #pragma  once
00011 
00012 #include "ippCommand.h"
00013 
00014 class IPPDME_EXT_CLASS ippOnMoveReportECommand : public ippCommand {
00015   
00016 
00017 public:
00018 
00019   ippOnMoveReportECommand(
00020     unsigned int tgNum,
00021     bool inHasR, bool inHasX, bool inHasY, bool inHasZ,
00022     bool inHasToolA, bool inHasToolB, bool inHasToolC,
00023     bool inHasDis, bool inHasTime,
00024     double inTheDis, double inTheTime
00025   );
00026 
00027 
00028   virtual ~ippOnMoveReportECommand(){}
00029 
00030   void setHasR(bool inHasR){ _hasR = inHasR; }
00031   void setHasX(bool inHasX){ _hasX = inHasX; }
00032   void setHasY(bool inHasY){ _hasY = inHasY; }
00033   void setHasZ(bool inHasZ){ _hasZ = inHasZ; }
00034   void setHasToolA(bool inHasToolA){ _hasToolA = inHasToolA; }
00035   void setHasToolB(bool inHasToolB){ _hasToolB = inHasToolB; }
00036   void setHasToolC(bool inHasToolC){ _hasToolC = inHasToolC; }
00037   void setHasDis(bool inHasDis){ _hasDis = inHasDis; }
00038   void setHasTime(bool inHasTime){ _hasTime = inHasTime; }
00039   double setTheDis(double inTheDis) {
00040     _theDis = ((inTheDis > 0) ? inTheDis : _theDis);
00041     return _theDis; }
00042   double setTheTime(double inTheTime) {
00043     _theTime = ((inTheTime > 0.1) ? inTheTime : _theTime);
00044     return _theTime; }
00045 
00046   bool getHasR()const{ return _hasR; }
00047   bool getHasX()const{ return _hasX; }
00048   bool getHasY()const{ return _hasY; }
00049   bool getHasZ()const{ return _hasZ; }
00050   bool getHasToolA()const{ return _hasToolA; }
00051   bool getHasToolB()const{ return _hasToolB; }
00052   bool getHasToolC()const{ return _hasToolC; }
00053   bool getHasDis()const{ return _hasDis; }
00054   bool getHasTime()const{ return _hasTime; }
00055   double getTheDis()const{ return _theDis; }
00056   double getTheTime()const{ return _theTime; }
00057 
00058   virtual std::string getCommandString() const;
00059 
00060 private:
00061   bool _hasR;
00062   bool _hasX;
00063   bool _hasY;
00064   bool _hasZ;
00065   bool _hasToolA;
00066   bool _hasToolB;
00067   bool _hasToolC;
00068   bool _hasDis;
00069   bool _hasTime;
00070   double _theDis;
00071   double _theTime;
00072 private:
00073   // prohibited copy constructor/operator
00074   ippOnMoveReportECommand(const ippOnMoveReportECommand&);
00075   void operator=(const ippOnMoveReportECommand&);
00076 };
00077 IPP_DECLARE_SMARTPOINTER(ippOnMoveReportECommand);

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