00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #pragma once
00012 #include <string>
00013
00014 #include "ippdme/ippdme.h"
00015
00016
00017 #define KEYWORD_ENUMERATION \
00018 ENUM(_A , "A" ) \
00019 ENUM(_B , "B" ) \
00020 ENUM(_C , "C" ) \
00021 ENUM(_R , "R" ) \
00022 ENUM(_X , "X" ) \
00023 ENUM(_Y , "Y" ) \
00024 ENUM(_Z , "Z" ) \
00025 ENUM(_IJK , "IJK" ) \
00026 ENUM(_LMN , "LMN" ) \
00027 ENUM(_IJKAct , "IJKAct" ) \
00028 \
00029 ENUM(_CartCMM , "CartCMM" ) \
00030 ENUM(_CartCMMWithRotaryTable,"CartCMMWithRotaryTable") \
00031 \
00032 ENUM(_MachineCsy , "MachineCsy" ) \
00033 ENUM(_MoveableMachineCsy, "MoveableMachineCsy" ) \
00034 ENUM(_MultipleArmCsy , "MultipleArmCsy" ) \
00035 ENUM(_PartCsy , "PartCsy" ) \
00036 ENUM(_JogDisplayCsy , "JogDisplayCsy" ) \
00037 ENUM(_JogMoveCsy , "JogMoveCsy" ) \
00038 ENUM(_SensorCsy , "SensorCsy" ) \
00039 \
00040 ENUM(_MoveAuto , "MoveAuto" ) \
00041 ENUM(_MoveMan , "MoveMan" ) \
00042 ENUM(_Rotate , "Rotate" ) \
00043 ENUM(_Switch , "Switch" ) \
00044 \
00045 ENUM(EmptyKey ,"" ) \
00046 ENUM(Accel ,"Accel" ) \
00047 ENUM(Actual ,"Act" ) \
00048 ENUM(Alignment ,"Alignment" ) \
00049 ENUM(Approach ,"Approach" ) \
00050 ENUM(CenterPartKey ,"CenterPart" ) \
00051 ENUM(ChangeToolKey ,"ChangeTool" ) \
00052 ENUM(ChangeToolAction ,"ChangeToolAction" ) \
00053 ENUM(CollisionVolume ,"CollisionVolume" ) \
00054 ENUM(CoordSystem ,"CoordSystem" ) \
00055 ENUM(Default ,"Def" ) \
00056 ENUM(Dis ,"Dis" ) \
00057 ENUM(Angle ,"Angle" ) \
00058 ENUM(AtNominals ,"AtNominals" ) \
00059 ENUM(DMEVersion ,"DMEVersion" ) \
00060 ENUM(ER ,"ER" ) \
00061 ENUM(ErrorKey ,"Error" ) \
00062 ENUM(ErrStatus ,"ErrStatus" ) \
00063 ENUM(FoundTool ,"FoundTool" ) \
00064 ENUM(GetCsyTr ,"GetCsyTransformation") \
00065 ENUM(GetMachineKey ,"GetMachineClass" ) \
00066 ENUM(GoToKey ,"GoTo" ) \
00067 ENUM(GoToPar ,"GoToPar" ) \
00068 ENUM(Id ,"Id" ) \
00069 ENUM(IsHomedKey ,"IsHomed" ) \
00070 ENUM(IsUserEnabledKey ,"IsUserEnabled" ) \
00071 ENUM(KeyPress ,"KeyPress" ) \
00072 ENUM(Max ,"Max" ) \
00073 ENUM(Min ,"Min" ) \
00074 ENUM(Name ,"Name" ) \
00075 ENUM(OBB ,"OBB" ) \
00076 ENUM(Phi ,"Phi" ) \
00077 ENUM(PtMeasKey ,"PtMeas" ) \
00078 ENUM(PtMeasPar ,"PtMeasPar" ) \
00079 ENUM(Q ,"Q" ) \
00080 ENUM(Retract ,"Retract" ) \
00081 ENUM(Search ,"Search" ) \
00082 ENUM(SetPropKey ,"SetProp" ) \
00083 ENUM(Speed ,"Speed" ) \
00084 ENUM(TagKey ,"TagKey" ) \
00085 ENUM(TiltPartKey ,"TiltPart" ) \
00086 ENUM(TiltCenterPartKey ,"TiltCenterPart" ) \
00087 ENUM(Time ,"Time" ) \
00088 ENUM(Tool ,"Tool" ) \
00089 ENUM(AvrRadius ,"AvrRadius" ) \
00090 ENUM(ScanPar ,"ScanPar" ) \
00091 ENUM(Collection ,"Collection" ) \
00092 ENUM(AlignmentVolume ,"AlignmentVolume" ) \
00093 ENUM(Part ,"Part" ) \
00094 ENUM(Temperature ,"Temperature" ) \
00095 ENUM(XPanCoefficient ,"XPanCoefficient" ) \
00096 ENUM(SPH ,"SPH" ) \
00097 ENUM(Closed ,"Closed" ) \
00098 ENUM(Format ,"Format" ) \
00099 ENUM(Data ,"Data" ) \
00100 ENUM(pi ,"pi" ) \
00101 ENUM(pj ,"pj" ) \
00102 ENUM(pk ,"pk" ) \
00103 ENUM(tag ,"tag" )
00104
00105
00106
00107 namespace ipp
00108 {
00109
00110
00111 enum ippOtherKeyType {
00112 ippOtherKeyType_INVALID = -1,
00113 _A ,
00114 _B ,
00115 _C ,
00116 _R ,
00117 _X ,
00118 _Y ,
00119 _Z ,
00120 _IJK ,
00121 _LMN ,
00122 _IJKAct ,
00123
00124 _CartCMM ,
00125 _CartCMMWithRotaryTable,
00126
00127 _MachineCsy ,
00128 _MoveableMachineCsy,
00129 _MultipleArmCsy ,
00130 _PartCsy ,
00131 _JogDisplayCsy ,
00132 _JogMoveCsy ,
00133 _SensorCsy ,
00134
00135 _MoveAuto ,
00136 _MoveMan ,
00137 _Rotate ,
00138 _Switch ,
00139
00140 EmptyKey ,
00141 Accel ,
00142 Actual ,
00143 Alignment ,
00144 Approach ,
00145 CenterPartKey ,
00146 ChangeToolKey ,
00147 ChangeToolAction ,
00148 CollisionVolume ,
00149 CoordSystem ,
00150 Default ,
00151 Dis ,
00152 Angle ,
00153 AtNominals ,
00154 DMEVersion ,
00155 ER ,
00156 ErrorKey ,
00157 ErrStatus ,
00158 FoundTool ,
00159 GetCsyTr ,
00160 GetMachineKey ,
00161 GoToKey ,
00162 GoToPar ,
00163 Id ,
00164 IsHomedKey ,
00165 IsUserEnabledKey ,
00166 KeyPress ,
00167 Max ,
00168 Min ,
00169 Name ,
00170 OBB ,
00171 Phi ,
00172 PtMeasKey ,
00173 PtMeasPar ,
00174 Q ,
00175 Retract ,
00176 Search ,
00177 SetPropKey ,
00178 Speed ,
00179 TagKey ,
00180 TiltPartKey ,
00181 TiltCenterPartKey ,
00182 Time ,
00183 Tool ,
00184 AvrRadius ,
00185 ScanPar ,
00186 Collection ,
00187 AlignmentVolume ,
00188 Part ,
00189 Temperature ,
00190 XPanCoefficient ,
00191 SPH ,
00192 Closed ,
00193 Data ,
00194 Format ,
00195 pi ,
00196 pj ,
00197 pk ,
00198 tag ,
00199 ippOTHERKEYTYPE_MAXIMUM
00200 };
00201 }
00202 using namespace ipp;
00203
00204 IPPDME_EXT_FUNC const char* getKeyString(ippOtherKeyType key);
00205
00206 IPPDME_EXT_FUNC std::string ComposeName(
00207 ippOtherKeyType _key1,
00208 ippOtherKeyType _key2,
00209 ippOtherKeyType _key3,
00210 ippOtherKeyType _key4
00211 );
00212
00213