Changeset 347 for XIOS/trunk/src/interface/c/icaxis.cpp
- Timestamp:
- 05/21/12 17:57:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c/icaxis.cpp
r346 r347 13 13 14 14 #include "icutil.hpp" 15 #include "timer.hpp" 15 16 16 17 extern "C" … … 29 30 std::string id; 30 31 if (!cstr2string(_id, _id_len, id)) return; 31 32 *_ret = xios::CAxis::get(id).get(); 32 CTimer::get("XIOS").resume() ; 33 *_ret = xios::CAxis::get(id); 34 CTimer::get("XIOS").suspend() ; 33 35 } 34 36 … … 37 39 std::string id; 38 40 if (!cstr2string(_id, _id_len, id)) return; 39 40 *_ret = xios::CAxisGroup::get(id).get(); 41 } 41 CTimer::get("XIOS").resume() ; 42 *_ret = xios::CAxisGroup::get(id); 43 CTimer::get("XIOS").suspend() ; 44 } 42 45 43 46 // -------------------- Vérification des identifiants ----------------------- … … 48 51 if (!cstr2string(_id, _id_len, id)) return; 49 52 53 CTimer::get("XIOS").resume() ; 50 54 *_ret = xios::CAxis::has(id); 55 CTimer::get("XIOS").suspend() ; 51 56 } 52 57 … … 56 61 if (!cstr2string(_id, _id_len, id)) return; 57 62 63 CTimer::get("XIOS").resume() ; 58 64 *_ret = xios::CAxisGroup::has(id); 65 CTimer::get("XIOS").suspend() ; 66 59 67 } 60 68
Note: See TracChangeset
for help on using the changeset viewer.