- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/interface/c_attr/icexpand_domain_attr.cpp
r981 r1158 17 17 { 18 18 typedef xios::CExpandDomain* expand_domain_Ptr; 19 20 void cxios_set_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl, bool i_periodic) 21 { 22 CTimer::get("XIOS").resume(); 23 expand_domain_hdl->i_periodic.setValue(i_periodic); 24 CTimer::get("XIOS").suspend(); 25 } 26 27 void cxios_get_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl, bool* i_periodic) 28 { 29 CTimer::get("XIOS").resume(); 30 *i_periodic = expand_domain_hdl->i_periodic.getInheritedValue(); 31 CTimer::get("XIOS").suspend(); 32 } 33 34 bool cxios_is_defined_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl) 35 { 36 CTimer::get("XIOS").resume(); 37 bool isDefined = expand_domain_hdl->i_periodic.hasInheritedValue(); 38 CTimer::get("XIOS").suspend(); 39 return isDefined; 40 } 41 42 43 void cxios_set_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl, bool j_periodic) 44 { 45 CTimer::get("XIOS").resume(); 46 expand_domain_hdl->j_periodic.setValue(j_periodic); 47 CTimer::get("XIOS").suspend(); 48 } 49 50 void cxios_get_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl, bool* j_periodic) 51 { 52 CTimer::get("XIOS").resume(); 53 *j_periodic = expand_domain_hdl->j_periodic.getInheritedValue(); 54 CTimer::get("XIOS").suspend(); 55 } 56 57 bool cxios_is_defined_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl) 58 { 59 CTimer::get("XIOS").resume(); 60 bool isDefined = expand_domain_hdl->j_periodic.hasInheritedValue(); 61 CTimer::get("XIOS").suspend(); 62 return isDefined; 63 } 64 19 65 20 66 void cxios_set_expand_domain_order(expand_domain_Ptr expand_domain_hdl, int order)
Note: See TracChangeset
for help on using the changeset viewer.