Changeset 786 for XIOS/trunk/src/interface/c/icinverse_axis.cpp
- Timestamp:
- 11/12/15 16:33:25 (8 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c/icinverse_axis.cpp
r785 r786 14 14 #include "icutil.hpp" 15 15 #include "timer.hpp" 16 #include " zoom_axis.hpp"16 #include "inverse_axis.hpp" 17 17 18 18 extern "C" … … 22 22 // ----------------------- Redéfinition de types ---------------------------- 23 23 24 typedef xios::C ZoomAxis * XZoomAxisPtr;24 typedef xios::CInverseAxis * XInverseAxisPtr; 25 25 26 26 // ------------------------ Création des handle ----------------------------- 27 void cxios_ zoom_axis_handle_create (XZoomAxisPtr * _ret, const char * _id, int _id_len)27 void cxios_inverse_axis_handle_create(XInverseAxisPtr * _ret, const char * _id, int _id_len) 28 28 { 29 29 std::string id; 30 30 if (!cstr2string(_id, _id_len, id)) return; 31 31 CTimer::get("XIOS").resume() ; 32 *_ret = xios::C ZoomAxis::get(id);32 *_ret = xios::CInverseAxis::get(id); 33 33 CTimer::get("XIOS").suspend() ; 34 34 } 35 35 36 36 // -------------------- Vérification des identifiants ----------------------- 37 void cxios_ zoom_axis_valid_id(bool * _ret, const char * _id, int _id_len)37 void cxios_inverse_axis_valid_id(bool * _ret, const char * _id, int _id_len) 38 38 { 39 39 std::string id; … … 41 41 42 42 CTimer::get("XIOS").resume() ; 43 *_ret = xios::C ZoomAxis::has(id);43 *_ret = xios::CInverseAxis::has(id); 44 44 CTimer::get("XIOS").suspend() ; 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.