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

ippPtMeasSelfCenterLockedCommand.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 
00012 #include "stdafx.h"
00013 #include "ippdme/Command/ippPtMeasSelfCenterLockedCommand.h"
00014 #include "ippdme/misc/ippStringBuilder.h"
00015 
00016 ippPtMeasSelfCenterLockedCommand::ippPtMeasSelfCenterLockedCommand(
00017   unsigned int tgNum
00018 )
00019    : ippCommand(tgNum, CommandTag, PtMeasSelfCenterLocked)
00020    , _x(0)
00021    , _y(0)
00022    , _z(0)
00023 {
00024 }
00025 
00026 ippPtMeasSelfCenterLockedCommand::ippPtMeasSelfCenterLockedCommand(
00027     unsigned int tgNum, 
00028     double inX, double inY, double inZ,
00029                 const ippTargetVector& inIJK,
00030                 const ippTargetVector& inLMN
00031   )
00032    : ippCommand(tgNum, CommandTag, PtMeasSelfCenterLocked)
00033    , _x(inX)
00034    , _y(inY)
00035    , _z(inZ)
00036    , _theIJK(inIJK)
00037    , _theLMN(inLMN)
00038 {
00039 }
00040 std::string ippPtMeasSelfCenterLockedCommand::getCommandString() const
00041 {
00042   ippStringBuilder builder(_tag);
00043   builder.StartFunc("PtMeasSelfCenterLocked");
00044   builder.AppendFunc("X",_x);
00045   builder.AppendFunc("Y",_y);
00046   builder.AppendFunc("Z",_z);
00047   builder.AppendFunc("IJK",_theIJK.getI(),_theIJK.getJ(),_theIJK.getK());
00048   builder.AppendFunc("LMN",_theLMN.getI(),_theLMN.getJ(),_theLMN.getK());
00049 
00050   builder.EndFunc();
00051   return builder.ToString();
00052 }
00053 

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