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

ippGoToEResponse.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 /* ippGoToEResponse class ***************************************************
00011 
00012 Use this for server-initiated GoTo data.
00013 
00014 The tag number must be 0, so the constructors do not take a tag number
00015 argument.
00016 
00017 If hasIJK is true, the value of the IJK vector must be (0,0,0), so the
00018 longer constructor does not take inI, inJ, or inK.
00019 
00020 See documentation of XYZResponse.
00021 
00022 */
00023 #include "ippXYZResponse.h"
00024 
00025 class IPPDME_EXT_CLASS ippGoToEResponse : public ippXYZResponse {
00026 
00027 private:
00028   bool _hasER;
00029   bool _hasIJK;
00030   double _theER;
00031 
00032 public:
00033   ippGoToEResponse();
00034   
00035   ippGoToEResponse(bool inHasER, bool inHasIJK, bool inHasR,
00036                 bool inHasToolA, bool inHasToolB, bool inHasToolC,
00037                 bool inHasX, bool inHasY, bool inHasZ, double inTheER,
00038                 double inR, double inToolA, double inToolB, double inToolC,
00039                 double inX, double inY, double inZ);
00040 
00041   virtual ~ippGoToEResponse(){}
00042 
00043   void setHasER(bool inHasER){ _hasER = inHasER; }
00044   void setHasIJK(bool inHasIJK){ _hasIJK = inHasIJK; }
00045   void setTheER(double inTheER){ _theER = inTheER; }
00046 
00047   bool   getHasER() const { return _hasER; }
00048   bool   getHasIJK()const{ return _hasIJK; }
00049   double getTheER()const { return _theER; }
00050 
00051   virtual std::string getResponseString() const;
00052 private:
00053   // prohibited copy constructor:
00054   ippGoToEResponse(const ippGoToEResponse&);
00055   void operator=(const ippGoToEResponse&);
00056 };
00057 
00058 IPP_DECLARE_SMARTPOINTER(ippGoToEResponse);
00059 

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