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

ippGetCsyTransformationResponse.cpp

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 #include "stdafx.h"
00012 #include "ippdme/Response/ippGetCsyTransformationResponse.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 
00016 
00017 ippGetCsyTransformationResponse::ippGetCsyTransformationResponse(
00018   unsigned int inTagNumber
00019 )
00020   : ippResponse(inTagNumber, CommandTag, DataGetCsyTransformation)
00021   , _X0(0)
00022   , _Y0(0)
00023   , _Z0(0)
00024   , _Theta(0)
00025   , _Psi(0)
00026   , _Phi(0)
00027 
00028 {
00029 
00030 }
00031 ippGetCsyTransformationResponse::ippGetCsyTransformationResponse(
00032   unsigned int inTagNumber,
00033   double inX0,
00034   double inY0,
00035   double inZ0,
00036   double inTheta,
00037   double inPsi, 
00038   double inPhi
00039 )
00040   : ippResponse(inTagNumber, CommandTag, DataGetCsyTransformation)
00041 { 
00042   _X0 = inX0;
00043   _Y0 = inY0;
00044   _Z0 = inZ0;
00045   _Theta = inTheta;
00046   _Psi = inPsi;
00047   _Phi = inPhi;
00048 }
00049 
00053 ippGetCsyTransformationResponse::~ippGetCsyTransformationResponse()
00054 {
00055 
00056 }
00057 
00058 std::string ippGetCsyTransformationResponse::getResponseString() const
00059 {
00060   ippStringBuilder s(_tag,"#");
00061   s.StartFunc("GetCsyTransformation");
00062     s.AppendParam(_X0);
00063     s.AppendParam(_Y0);
00064     s.AppendParam(_Z0);
00065     s.AppendParam(_Theta);
00066     s.AppendParam(_Psi);
00067     s.AppendParam(_Phi);
00068   s.EndFunc();
00069   return s.ToString();
00070 }

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