Include :

- aggiornamenti.
This commit is contained in:
Dario Sassi
2016-11-16 18:47:29 +00:00
parent 30f39cd5b8
commit f8d76c37ac
3 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -20,8 +20,9 @@
//----------------------------------------------------------------------------
#define LuaCheckParam(L,I,P) { if ( ! LuaGetParam(L,I,P)) \
return luaL_error( L, " Invalid Parameter # " #I) ;}
#define LuaCheckTabFieldParam(L,I,F,P) { if ( ! LuaGetTabFieldParam(L,I,F,P)) \
return luaL_error( L, " Invalid Parameter # " #I " (field %s)", F) ;}
#define LuaCheckTabFieldParam(L,I,F,P) { if ( ! LuaGetTabFieldParam(L,I,F,P))\
return luaL_error( L, " Invalid Parameter # " #I " (field %s)",\
std::string( F).c_str()) ; }
//----------------------------------------------------------------------------
inline bool
+1
View File
@@ -230,6 +230,7 @@ class __declspec( novtable) IMachMgr
virtual int GetTableId( const std::string& sTable) const = 0 ;
virtual int GetAxisId( const std::string& sAxis) const = 0 ;
virtual int GetHeadId( const std::string& sHead) const = 0 ;
virtual bool GetAxisToken( const std::string& sAxis, std::string& sToken) const = 0 ;
virtual bool SetAxisPos( const std::string& sAxis, double dVal) = 0 ;
virtual bool GetAxisPos( const std::string& sAxis, double& dVal) const = 0 ;
virtual bool GetAxisHomePos( const std::string& sAxis, double& dHomeVal) const = 0 ;
+1
View File
@@ -742,6 +742,7 @@ EXE_EXPORT int ExeGetBaseId( const std::string& sBase) ;
EXE_EXPORT int ExeGetTableId( const std::string& sTable) ;
EXE_EXPORT int ExeGetAxisId( const std::string& sAxis) ;
EXE_EXPORT int ExeGetHeadId( const std::string& sHead) ;
EXE_EXPORT bool ExeGetAxisToken( const std::string& sAxis, std::string& sToken) ;
// Machine Calc
EXE_EXPORT bool ExeSetCalcTable( const std::string& sTable) ;
EXE_EXPORT bool ExeSetCalcTool( const std::string& sTool, const std::string& sHead, int nExit) ;