Changeset 786 for XIOS/trunk/src/interface/c/iczoom.cpp
- Timestamp:
- 11/12/15 16:33:25 (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c/iczoom.cpp
r785 r786 15 15 #include "timer.hpp" 16 16 #include "zoom_axis.hpp" 17 #include "zoom_domain.hpp" 17 18 18 19 extern "C" … … 23 24 24 25 typedef xios::CZoomAxis * XZoomAxisPtr; 25 26 typedef xios::CZoomDomain * XZoomDomainPtr; 26 27 // ------------------------ Création des handle ----------------------------- 27 28 void cxios_zoom_axis_handle_create (XZoomAxisPtr * _ret, const char * _id, int _id_len) … … 44 45 CTimer::get("XIOS").suspend() ; 45 46 } 47 48 // ------------------------ Création des handle ----------------------------- 49 void cxios_zoom_domain_handle_create(XZoomDomainPtr * _ret, const char * _id, int _id_len) 50 { 51 std::string id; 52 if (!cstr2string(_id, _id_len, id)) return; 53 CTimer::get("XIOS").resume() ; 54 *_ret = xios::CZoomDomain::get(id); 55 CTimer::get("XIOS").suspend() ; 56 } 57 58 // -------------------- Vérification des identifiants ----------------------- 59 void cxios_zoom_domain_valid_id(bool * _ret, const char * _id, int _id_len) 60 { 61 std::string id; 62 if (!cstr2string(_id, _id_len, id)) return; 63 64 CTimer::get("XIOS").resume() ; 65 *_ret = xios::CZoomDomain::has(id); 66 CTimer::get("XIOS").suspend() ; 67 } 46 68 } // extern "C"
Note: See TracChangeset
for help on using the changeset viewer.