[325] | 1 | /* ************************************************************************** * |
---|
| 2 | * Interface auto generated - do not modify * |
---|
| 3 | * ************************************************************************** */ |
---|
| 4 | |
---|
| 5 | #include <boost/multi_array.hpp> |
---|
| 6 | #include <boost/shared_ptr.hpp> |
---|
| 7 | #include "xmlioserver.hpp" |
---|
[352] | 8 | #include "attribute_template.hpp" |
---|
| 9 | #include "object_template.hpp" |
---|
| 10 | #include "group_template.hpp" |
---|
[325] | 11 | #include "icutil.hpp" |
---|
[347] | 12 | #include "timer.hpp" |
---|
[352] | 13 | #include "domain.hpp" |
---|
[325] | 14 | |
---|
| 15 | extern "C" |
---|
| 16 | { |
---|
[345] | 17 | typedef xios::CDomainGroup* domaingroup_Ptr; |
---|
[325] | 18 | |
---|
| 19 | void cxios_set_domaingroup_data_dim(domaingroup_Ptr domaingroup_hdl, int data_dim) |
---|
| 20 | { |
---|
[347] | 21 | CTimer::get("XIOS").resume(); |
---|
[325] | 22 | domaingroup_hdl->data_dim.setValue(data_dim); |
---|
| 23 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_dim); |
---|
[347] | 24 | CTimer::get("XIOS").suspend(); |
---|
[325] | 25 | } |
---|
| 26 | |
---|
| 27 | void cxios_get_domaingroup_data_dim(domaingroup_Ptr domaingroup_hdl, int* data_dim) |
---|
| 28 | { |
---|
| 29 | *data_dim = domaingroup_hdl->data_dim.getValue(); |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | void cxios_set_domaingroup_data_i_index(domaingroup_Ptr domaingroup_hdl, int* data_i_index, int extent1) |
---|
| 34 | { |
---|
[347] | 35 | CTimer::get("XIOS").resume(); |
---|
[325] | 36 | ARRAY(int,1) array_tmp(new CArray<int,1>(boost::extents[extent1])); |
---|
| 37 | std::copy(data_i_index, &(data_i_index[array_tmp->num_elements()]), array_tmp->data()); |
---|
| 38 | domaingroup_hdl->data_i_index.setValue(array_tmp); |
---|
| 39 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_i_index); |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | void cxios_get_domaingroup_data_i_index(domaingroup_Ptr domaingroup_hdl, int* data_i_index, int extent1) |
---|
| 43 | { |
---|
| 44 | if (!array_copy(domaingroup_hdl->data_i_index.getValue(), data_i_index, extent1)) |
---|
| 45 | ERROR("void cxios_set_domaingroup_data_i_index(domaingroup_Ptr domaingroup_hdl, int* data_i_index, int extent1)",<<"Output array size is not conform to array size attribute") ; |
---|
[347] | 46 | CTimer::get("XIOS").suspend(); |
---|
[325] | 47 | } |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | void cxios_set_domaingroup_data_ibegin(domaingroup_Ptr domaingroup_hdl, int data_ibegin) |
---|
| 51 | { |
---|
[347] | 52 | CTimer::get("XIOS").resume(); |
---|
[325] | 53 | domaingroup_hdl->data_ibegin.setValue(data_ibegin); |
---|
| 54 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_ibegin); |
---|
[347] | 55 | CTimer::get("XIOS").suspend(); |
---|
[325] | 56 | } |
---|
| 57 | |
---|
| 58 | void cxios_get_domaingroup_data_ibegin(domaingroup_Ptr domaingroup_hdl, int* data_ibegin) |
---|
| 59 | { |
---|
| 60 | *data_ibegin = domaingroup_hdl->data_ibegin.getValue(); |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | void cxios_set_domaingroup_data_j_index(domaingroup_Ptr domaingroup_hdl, int* data_j_index, int extent1) |
---|
| 65 | { |
---|
[347] | 66 | CTimer::get("XIOS").resume(); |
---|
[325] | 67 | ARRAY(int,1) array_tmp(new CArray<int,1>(boost::extents[extent1])); |
---|
| 68 | std::copy(data_j_index, &(data_j_index[array_tmp->num_elements()]), array_tmp->data()); |
---|
| 69 | domaingroup_hdl->data_j_index.setValue(array_tmp); |
---|
| 70 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_j_index); |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | void cxios_get_domaingroup_data_j_index(domaingroup_Ptr domaingroup_hdl, int* data_j_index, int extent1) |
---|
| 74 | { |
---|
| 75 | if (!array_copy(domaingroup_hdl->data_j_index.getValue(), data_j_index, extent1)) |
---|
| 76 | ERROR("void cxios_set_domaingroup_data_j_index(domaingroup_Ptr domaingroup_hdl, int* data_j_index, int extent1)",<<"Output array size is not conform to array size attribute") ; |
---|
[347] | 77 | CTimer::get("XIOS").suspend(); |
---|
[325] | 78 | } |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | void cxios_set_domaingroup_data_jbegin(domaingroup_Ptr domaingroup_hdl, int data_jbegin) |
---|
| 82 | { |
---|
[347] | 83 | CTimer::get("XIOS").resume(); |
---|
[325] | 84 | domaingroup_hdl->data_jbegin.setValue(data_jbegin); |
---|
| 85 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_jbegin); |
---|
[347] | 86 | CTimer::get("XIOS").suspend(); |
---|
[325] | 87 | } |
---|
| 88 | |
---|
| 89 | void cxios_get_domaingroup_data_jbegin(domaingroup_Ptr domaingroup_hdl, int* data_jbegin) |
---|
| 90 | { |
---|
| 91 | *data_jbegin = domaingroup_hdl->data_jbegin.getValue(); |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | void cxios_set_domaingroup_data_n_index(domaingroup_Ptr domaingroup_hdl, int data_n_index) |
---|
| 96 | { |
---|
[347] | 97 | CTimer::get("XIOS").resume(); |
---|
[325] | 98 | domaingroup_hdl->data_n_index.setValue(data_n_index); |
---|
| 99 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_n_index); |
---|
[347] | 100 | CTimer::get("XIOS").suspend(); |
---|
[325] | 101 | } |
---|
| 102 | |
---|
| 103 | void cxios_get_domaingroup_data_n_index(domaingroup_Ptr domaingroup_hdl, int* data_n_index) |
---|
| 104 | { |
---|
| 105 | *data_n_index = domaingroup_hdl->data_n_index.getValue(); |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | void cxios_set_domaingroup_data_ni(domaingroup_Ptr domaingroup_hdl, int data_ni) |
---|
| 110 | { |
---|
[347] | 111 | CTimer::get("XIOS").resume(); |
---|
[325] | 112 | domaingroup_hdl->data_ni.setValue(data_ni); |
---|
| 113 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_ni); |
---|
[347] | 114 | CTimer::get("XIOS").suspend(); |
---|
[325] | 115 | } |
---|
| 116 | |
---|
| 117 | void cxios_get_domaingroup_data_ni(domaingroup_Ptr domaingroup_hdl, int* data_ni) |
---|
| 118 | { |
---|
| 119 | *data_ni = domaingroup_hdl->data_ni.getValue(); |
---|
| 120 | } |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | void cxios_set_domaingroup_data_nj(domaingroup_Ptr domaingroup_hdl, int data_nj) |
---|
| 124 | { |
---|
[347] | 125 | CTimer::get("XIOS").resume(); |
---|
[325] | 126 | domaingroup_hdl->data_nj.setValue(data_nj); |
---|
| 127 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_nj); |
---|
[347] | 128 | CTimer::get("XIOS").suspend(); |
---|
[325] | 129 | } |
---|
| 130 | |
---|
| 131 | void cxios_get_domaingroup_data_nj(domaingroup_Ptr domaingroup_hdl, int* data_nj) |
---|
| 132 | { |
---|
| 133 | *data_nj = domaingroup_hdl->data_nj.getValue(); |
---|
| 134 | } |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | void cxios_set_domaingroup_domain_group_ref(domaingroup_Ptr domaingroup_hdl, const char * domain_group_ref, int domain_group_ref_size) |
---|
| 138 | { |
---|
| 139 | std::string domain_group_ref_str; |
---|
| 140 | if(!cstr2string(domain_group_ref, domain_group_ref_size, domain_group_ref_str)) return; |
---|
[347] | 141 | CTimer::get("XIOS").resume(); |
---|
[325] | 142 | domaingroup_hdl->domain_group_ref.setValue(domain_group_ref_str); |
---|
| 143 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->domain_group_ref); |
---|
[347] | 144 | CTimer::get("XIOS").suspend(); |
---|
[325] | 145 | } |
---|
| 146 | |
---|
| 147 | void cxios_get_domaingroup_domain_group_ref(domaingroup_Ptr domaingroup_hdl, char * domain_group_ref, int domain_group_ref_size) |
---|
| 148 | { |
---|
[347] | 149 | CTimer::get("XIOS").resume(); |
---|
[325] | 150 | if(!string_copy(domaingroup_hdl->domain_group_ref.getValue(),domain_group_ref , domain_group_ref_size)) |
---|
| 151 | ERROR("void cxios_get_domaingroup_domain_group_ref(domaingroup_Ptr domaingroup_hdl, char * domain_group_ref, int domain_group_ref_size)", <<"Input string is to short"); |
---|
[347] | 152 | CTimer::get("XIOS").suspend(); |
---|
[325] | 153 | } |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | void cxios_set_domaingroup_group_ref(domaingroup_Ptr domaingroup_hdl, const char * group_ref, int group_ref_size) |
---|
| 157 | { |
---|
| 158 | std::string group_ref_str; |
---|
| 159 | if(!cstr2string(group_ref, group_ref_size, group_ref_str)) return; |
---|
[347] | 160 | CTimer::get("XIOS").resume(); |
---|
[325] | 161 | domaingroup_hdl->group_ref.setValue(group_ref_str); |
---|
| 162 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->group_ref); |
---|
[347] | 163 | CTimer::get("XIOS").suspend(); |
---|
[325] | 164 | } |
---|
| 165 | |
---|
| 166 | void cxios_get_domaingroup_group_ref(domaingroup_Ptr domaingroup_hdl, char * group_ref, int group_ref_size) |
---|
| 167 | { |
---|
[347] | 168 | CTimer::get("XIOS").resume(); |
---|
[325] | 169 | if(!string_copy(domaingroup_hdl->group_ref.getValue(),group_ref , group_ref_size)) |
---|
| 170 | ERROR("void cxios_get_domaingroup_group_ref(domaingroup_Ptr domaingroup_hdl, char * group_ref, int group_ref_size)", <<"Input string is to short"); |
---|
[347] | 171 | CTimer::get("XIOS").suspend(); |
---|
[325] | 172 | } |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | void cxios_set_domaingroup_ibegin(domaingroup_Ptr domaingroup_hdl, int ibegin) |
---|
| 176 | { |
---|
[347] | 177 | CTimer::get("XIOS").resume(); |
---|
[325] | 178 | domaingroup_hdl->ibegin.setValue(ibegin); |
---|
| 179 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->ibegin); |
---|
[347] | 180 | CTimer::get("XIOS").suspend(); |
---|
[325] | 181 | } |
---|
| 182 | |
---|
| 183 | void cxios_get_domaingroup_ibegin(domaingroup_Ptr domaingroup_hdl, int* ibegin) |
---|
| 184 | { |
---|
| 185 | *ibegin = domaingroup_hdl->ibegin.getValue(); |
---|
| 186 | } |
---|
| 187 | |
---|
| 188 | |
---|
| 189 | void cxios_set_domaingroup_iend(domaingroup_Ptr domaingroup_hdl, int iend) |
---|
| 190 | { |
---|
[347] | 191 | CTimer::get("XIOS").resume(); |
---|
[325] | 192 | domaingroup_hdl->iend.setValue(iend); |
---|
| 193 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->iend); |
---|
[347] | 194 | CTimer::get("XIOS").suspend(); |
---|
[325] | 195 | } |
---|
| 196 | |
---|
| 197 | void cxios_get_domaingroup_iend(domaingroup_Ptr domaingroup_hdl, int* iend) |
---|
| 198 | { |
---|
| 199 | *iend = domaingroup_hdl->iend.getValue(); |
---|
| 200 | } |
---|
| 201 | |
---|
| 202 | |
---|
| 203 | void cxios_set_domaingroup_jbegin(domaingroup_Ptr domaingroup_hdl, int jbegin) |
---|
| 204 | { |
---|
[347] | 205 | CTimer::get("XIOS").resume(); |
---|
[325] | 206 | domaingroup_hdl->jbegin.setValue(jbegin); |
---|
| 207 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->jbegin); |
---|
[347] | 208 | CTimer::get("XIOS").suspend(); |
---|
[325] | 209 | } |
---|
| 210 | |
---|
| 211 | void cxios_get_domaingroup_jbegin(domaingroup_Ptr domaingroup_hdl, int* jbegin) |
---|
| 212 | { |
---|
| 213 | *jbegin = domaingroup_hdl->jbegin.getValue(); |
---|
| 214 | } |
---|
| 215 | |
---|
| 216 | |
---|
| 217 | void cxios_set_domaingroup_jend(domaingroup_Ptr domaingroup_hdl, int jend) |
---|
| 218 | { |
---|
[347] | 219 | CTimer::get("XIOS").resume(); |
---|
[325] | 220 | domaingroup_hdl->jend.setValue(jend); |
---|
| 221 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->jend); |
---|
[347] | 222 | CTimer::get("XIOS").suspend(); |
---|
[325] | 223 | } |
---|
| 224 | |
---|
| 225 | void cxios_get_domaingroup_jend(domaingroup_Ptr domaingroup_hdl, int* jend) |
---|
| 226 | { |
---|
| 227 | *jend = domaingroup_hdl->jend.getValue(); |
---|
| 228 | } |
---|
| 229 | |
---|
| 230 | |
---|
| 231 | void cxios_set_domaingroup_latvalue(domaingroup_Ptr domaingroup_hdl, double* latvalue, int extent1) |
---|
| 232 | { |
---|
[347] | 233 | CTimer::get("XIOS").resume(); |
---|
[325] | 234 | ARRAY(double,1) array_tmp(new CArray<double,1>(boost::extents[extent1])); |
---|
| 235 | std::copy(latvalue, &(latvalue[array_tmp->num_elements()]), array_tmp->data()); |
---|
| 236 | domaingroup_hdl->latvalue.setValue(array_tmp); |
---|
| 237 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->latvalue); |
---|
| 238 | } |
---|
| 239 | |
---|
| 240 | void cxios_get_domaingroup_latvalue(domaingroup_Ptr domaingroup_hdl, double* latvalue, int extent1) |
---|
| 241 | { |
---|
| 242 | if (!array_copy(domaingroup_hdl->latvalue.getValue(), latvalue, extent1)) |
---|
| 243 | ERROR("void cxios_set_domaingroup_latvalue(domaingroup_Ptr domaingroup_hdl, double* latvalue, int extent1)",<<"Output array size is not conform to array size attribute") ; |
---|
[347] | 244 | CTimer::get("XIOS").suspend(); |
---|
[325] | 245 | } |
---|
| 246 | |
---|
| 247 | |
---|
| 248 | void cxios_set_domaingroup_long_name(domaingroup_Ptr domaingroup_hdl, const char * long_name, int long_name_size) |
---|
| 249 | { |
---|
| 250 | std::string long_name_str; |
---|
| 251 | if(!cstr2string(long_name, long_name_size, long_name_str)) return; |
---|
[347] | 252 | CTimer::get("XIOS").resume(); |
---|
[325] | 253 | domaingroup_hdl->long_name.setValue(long_name_str); |
---|
| 254 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->long_name); |
---|
[347] | 255 | CTimer::get("XIOS").suspend(); |
---|
[325] | 256 | } |
---|
| 257 | |
---|
| 258 | void cxios_get_domaingroup_long_name(domaingroup_Ptr domaingroup_hdl, char * long_name, int long_name_size) |
---|
| 259 | { |
---|
[347] | 260 | CTimer::get("XIOS").resume(); |
---|
[325] | 261 | if(!string_copy(domaingroup_hdl->long_name.getValue(),long_name , long_name_size)) |
---|
| 262 | ERROR("void cxios_get_domaingroup_long_name(domaingroup_Ptr domaingroup_hdl, char * long_name, int long_name_size)", <<"Input string is to short"); |
---|
[347] | 263 | CTimer::get("XIOS").suspend(); |
---|
[325] | 264 | } |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | void cxios_set_domaingroup_lonvalue(domaingroup_Ptr domaingroup_hdl, double* lonvalue, int extent1) |
---|
| 268 | { |
---|
[347] | 269 | CTimer::get("XIOS").resume(); |
---|
[325] | 270 | ARRAY(double,1) array_tmp(new CArray<double,1>(boost::extents[extent1])); |
---|
| 271 | std::copy(lonvalue, &(lonvalue[array_tmp->num_elements()]), array_tmp->data()); |
---|
| 272 | domaingroup_hdl->lonvalue.setValue(array_tmp); |
---|
| 273 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->lonvalue); |
---|
| 274 | } |
---|
| 275 | |
---|
| 276 | void cxios_get_domaingroup_lonvalue(domaingroup_Ptr domaingroup_hdl, double* lonvalue, int extent1) |
---|
| 277 | { |
---|
| 278 | if (!array_copy(domaingroup_hdl->lonvalue.getValue(), lonvalue, extent1)) |
---|
| 279 | ERROR("void cxios_set_domaingroup_lonvalue(domaingroup_Ptr domaingroup_hdl, double* lonvalue, int extent1)",<<"Output array size is not conform to array size attribute") ; |
---|
[347] | 280 | CTimer::get("XIOS").suspend(); |
---|
[325] | 281 | } |
---|
| 282 | |
---|
| 283 | |
---|
| 284 | void cxios_set_domaingroup_mask(domaingroup_Ptr domaingroup_hdl, bool* mask, int extent1, int extent2) |
---|
| 285 | { |
---|
[347] | 286 | CTimer::get("XIOS").resume(); |
---|
[325] | 287 | ARRAY(bool,2) array_tmp(new CArray<bool,2>(boost::extents[extent1][extent2])); |
---|
| 288 | std::copy(mask, &(mask[array_tmp->num_elements()]), array_tmp->data()); |
---|
| 289 | domaingroup_hdl->mask.setValue(array_tmp); |
---|
| 290 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->mask); |
---|
| 291 | } |
---|
| 292 | |
---|
| 293 | void cxios_get_domaingroup_mask(domaingroup_Ptr domaingroup_hdl, bool* mask, int extent1, int extent2) |
---|
| 294 | { |
---|
| 295 | if (!array_copy(domaingroup_hdl->mask.getValue(), mask, extent1, extent2)) |
---|
| 296 | ERROR("void cxios_set_domaingroup_mask(domaingroup_Ptr domaingroup_hdl, bool* mask, int extent1, int extent2)",<<"Output array size is not conform to array size attribute") ; |
---|
[347] | 297 | CTimer::get("XIOS").suspend(); |
---|
[325] | 298 | } |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | void cxios_set_domaingroup_name(domaingroup_Ptr domaingroup_hdl, const char * name, int name_size) |
---|
| 302 | { |
---|
| 303 | std::string name_str; |
---|
| 304 | if(!cstr2string(name, name_size, name_str)) return; |
---|
[347] | 305 | CTimer::get("XIOS").resume(); |
---|
[325] | 306 | domaingroup_hdl->name.setValue(name_str); |
---|
| 307 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->name); |
---|
[347] | 308 | CTimer::get("XIOS").suspend(); |
---|
[325] | 309 | } |
---|
| 310 | |
---|
| 311 | void cxios_get_domaingroup_name(domaingroup_Ptr domaingroup_hdl, char * name, int name_size) |
---|
| 312 | { |
---|
[347] | 313 | CTimer::get("XIOS").resume(); |
---|
[325] | 314 | if(!string_copy(domaingroup_hdl->name.getValue(),name , name_size)) |
---|
| 315 | ERROR("void cxios_get_domaingroup_name(domaingroup_Ptr domaingroup_hdl, char * name, int name_size)", <<"Input string is to short"); |
---|
[347] | 316 | CTimer::get("XIOS").suspend(); |
---|
[325] | 317 | } |
---|
| 318 | |
---|
| 319 | |
---|
| 320 | void cxios_set_domaingroup_ni(domaingroup_Ptr domaingroup_hdl, int ni) |
---|
| 321 | { |
---|
[347] | 322 | CTimer::get("XIOS").resume(); |
---|
[325] | 323 | domaingroup_hdl->ni.setValue(ni); |
---|
| 324 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->ni); |
---|
[347] | 325 | CTimer::get("XIOS").suspend(); |
---|
[325] | 326 | } |
---|
| 327 | |
---|
| 328 | void cxios_get_domaingroup_ni(domaingroup_Ptr domaingroup_hdl, int* ni) |
---|
| 329 | { |
---|
| 330 | *ni = domaingroup_hdl->ni.getValue(); |
---|
| 331 | } |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | void cxios_set_domaingroup_ni_glo(domaingroup_Ptr domaingroup_hdl, int ni_glo) |
---|
| 335 | { |
---|
[347] | 336 | CTimer::get("XIOS").resume(); |
---|
[325] | 337 | domaingroup_hdl->ni_glo.setValue(ni_glo); |
---|
| 338 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->ni_glo); |
---|
[347] | 339 | CTimer::get("XIOS").suspend(); |
---|
[325] | 340 | } |
---|
| 341 | |
---|
| 342 | void cxios_get_domaingroup_ni_glo(domaingroup_Ptr domaingroup_hdl, int* ni_glo) |
---|
| 343 | { |
---|
| 344 | *ni_glo = domaingroup_hdl->ni_glo.getValue(); |
---|
| 345 | } |
---|
| 346 | |
---|
| 347 | |
---|
| 348 | void cxios_set_domaingroup_nj(domaingroup_Ptr domaingroup_hdl, int nj) |
---|
| 349 | { |
---|
[347] | 350 | CTimer::get("XIOS").resume(); |
---|
[325] | 351 | domaingroup_hdl->nj.setValue(nj); |
---|
| 352 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->nj); |
---|
[347] | 353 | CTimer::get("XIOS").suspend(); |
---|
[325] | 354 | } |
---|
| 355 | |
---|
| 356 | void cxios_get_domaingroup_nj(domaingroup_Ptr domaingroup_hdl, int* nj) |
---|
| 357 | { |
---|
| 358 | *nj = domaingroup_hdl->nj.getValue(); |
---|
| 359 | } |
---|
| 360 | |
---|
| 361 | |
---|
| 362 | void cxios_set_domaingroup_nj_glo(domaingroup_Ptr domaingroup_hdl, int nj_glo) |
---|
| 363 | { |
---|
[347] | 364 | CTimer::get("XIOS").resume(); |
---|
[325] | 365 | domaingroup_hdl->nj_glo.setValue(nj_glo); |
---|
| 366 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->nj_glo); |
---|
[347] | 367 | CTimer::get("XIOS").suspend(); |
---|
[325] | 368 | } |
---|
| 369 | |
---|
| 370 | void cxios_get_domaingroup_nj_glo(domaingroup_Ptr domaingroup_hdl, int* nj_glo) |
---|
| 371 | { |
---|
| 372 | *nj_glo = domaingroup_hdl->nj_glo.getValue(); |
---|
| 373 | } |
---|
| 374 | |
---|
| 375 | |
---|
| 376 | void cxios_set_domaingroup_standard_name(domaingroup_Ptr domaingroup_hdl, const char * standard_name, int standard_name_size) |
---|
| 377 | { |
---|
| 378 | std::string standard_name_str; |
---|
| 379 | if(!cstr2string(standard_name, standard_name_size, standard_name_str)) return; |
---|
[347] | 380 | CTimer::get("XIOS").resume(); |
---|
[325] | 381 | domaingroup_hdl->standard_name.setValue(standard_name_str); |
---|
| 382 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->standard_name); |
---|
[347] | 383 | CTimer::get("XIOS").suspend(); |
---|
[325] | 384 | } |
---|
| 385 | |
---|
| 386 | void cxios_get_domaingroup_standard_name(domaingroup_Ptr domaingroup_hdl, char * standard_name, int standard_name_size) |
---|
| 387 | { |
---|
[347] | 388 | CTimer::get("XIOS").resume(); |
---|
[325] | 389 | if(!string_copy(domaingroup_hdl->standard_name.getValue(),standard_name , standard_name_size)) |
---|
| 390 | ERROR("void cxios_get_domaingroup_standard_name(domaingroup_Ptr domaingroup_hdl, char * standard_name, int standard_name_size)", <<"Input string is to short"); |
---|
[347] | 391 | CTimer::get("XIOS").suspend(); |
---|
[325] | 392 | } |
---|
| 393 | |
---|
| 394 | |
---|
| 395 | void cxios_set_domaingroup_zoom_ibegin(domaingroup_Ptr domaingroup_hdl, int zoom_ibegin) |
---|
| 396 | { |
---|
[347] | 397 | CTimer::get("XIOS").resume(); |
---|
[325] | 398 | domaingroup_hdl->zoom_ibegin.setValue(zoom_ibegin); |
---|
| 399 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_ibegin); |
---|
[347] | 400 | CTimer::get("XIOS").suspend(); |
---|
[325] | 401 | } |
---|
| 402 | |
---|
| 403 | void cxios_get_domaingroup_zoom_ibegin(domaingroup_Ptr domaingroup_hdl, int* zoom_ibegin) |
---|
| 404 | { |
---|
| 405 | *zoom_ibegin = domaingroup_hdl->zoom_ibegin.getValue(); |
---|
| 406 | } |
---|
| 407 | |
---|
| 408 | |
---|
| 409 | void cxios_set_domaingroup_zoom_ibegin_loc(domaingroup_Ptr domaingroup_hdl, int zoom_ibegin_loc) |
---|
| 410 | { |
---|
[347] | 411 | CTimer::get("XIOS").resume(); |
---|
[325] | 412 | domaingroup_hdl->zoom_ibegin_loc.setValue(zoom_ibegin_loc); |
---|
| 413 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_ibegin_loc); |
---|
[347] | 414 | CTimer::get("XIOS").suspend(); |
---|
[325] | 415 | } |
---|
| 416 | |
---|
| 417 | void cxios_get_domaingroup_zoom_ibegin_loc(domaingroup_Ptr domaingroup_hdl, int* zoom_ibegin_loc) |
---|
| 418 | { |
---|
| 419 | *zoom_ibegin_loc = domaingroup_hdl->zoom_ibegin_loc.getValue(); |
---|
| 420 | } |
---|
| 421 | |
---|
| 422 | |
---|
| 423 | void cxios_set_domaingroup_zoom_jbegin(domaingroup_Ptr domaingroup_hdl, int zoom_jbegin) |
---|
| 424 | { |
---|
[347] | 425 | CTimer::get("XIOS").resume(); |
---|
[325] | 426 | domaingroup_hdl->zoom_jbegin.setValue(zoom_jbegin); |
---|
| 427 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_jbegin); |
---|
[347] | 428 | CTimer::get("XIOS").suspend(); |
---|
[325] | 429 | } |
---|
| 430 | |
---|
| 431 | void cxios_get_domaingroup_zoom_jbegin(domaingroup_Ptr domaingroup_hdl, int* zoom_jbegin) |
---|
| 432 | { |
---|
| 433 | *zoom_jbegin = domaingroup_hdl->zoom_jbegin.getValue(); |
---|
| 434 | } |
---|
| 435 | |
---|
| 436 | |
---|
| 437 | void cxios_set_domaingroup_zoom_jbegin_loc(domaingroup_Ptr domaingroup_hdl, int zoom_jbegin_loc) |
---|
| 438 | { |
---|
[347] | 439 | CTimer::get("XIOS").resume(); |
---|
[325] | 440 | domaingroup_hdl->zoom_jbegin_loc.setValue(zoom_jbegin_loc); |
---|
| 441 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_jbegin_loc); |
---|
[347] | 442 | CTimer::get("XIOS").suspend(); |
---|
[325] | 443 | } |
---|
| 444 | |
---|
| 445 | void cxios_get_domaingroup_zoom_jbegin_loc(domaingroup_Ptr domaingroup_hdl, int* zoom_jbegin_loc) |
---|
| 446 | { |
---|
| 447 | *zoom_jbegin_loc = domaingroup_hdl->zoom_jbegin_loc.getValue(); |
---|
| 448 | } |
---|
| 449 | |
---|
| 450 | |
---|
| 451 | void cxios_set_domaingroup_zoom_ni(domaingroup_Ptr domaingroup_hdl, int zoom_ni) |
---|
| 452 | { |
---|
[347] | 453 | CTimer::get("XIOS").resume(); |
---|
[325] | 454 | domaingroup_hdl->zoom_ni.setValue(zoom_ni); |
---|
| 455 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_ni); |
---|
[347] | 456 | CTimer::get("XIOS").suspend(); |
---|
[325] | 457 | } |
---|
| 458 | |
---|
| 459 | void cxios_get_domaingroup_zoom_ni(domaingroup_Ptr domaingroup_hdl, int* zoom_ni) |
---|
| 460 | { |
---|
| 461 | *zoom_ni = domaingroup_hdl->zoom_ni.getValue(); |
---|
| 462 | } |
---|
| 463 | |
---|
| 464 | |
---|
| 465 | void cxios_set_domaingroup_zoom_ni_loc(domaingroup_Ptr domaingroup_hdl, int zoom_ni_loc) |
---|
| 466 | { |
---|
[347] | 467 | CTimer::get("XIOS").resume(); |
---|
[325] | 468 | domaingroup_hdl->zoom_ni_loc.setValue(zoom_ni_loc); |
---|
| 469 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_ni_loc); |
---|
[347] | 470 | CTimer::get("XIOS").suspend(); |
---|
[325] | 471 | } |
---|
| 472 | |
---|
| 473 | void cxios_get_domaingroup_zoom_ni_loc(domaingroup_Ptr domaingroup_hdl, int* zoom_ni_loc) |
---|
| 474 | { |
---|
| 475 | *zoom_ni_loc = domaingroup_hdl->zoom_ni_loc.getValue(); |
---|
| 476 | } |
---|
| 477 | |
---|
| 478 | |
---|
| 479 | void cxios_set_domaingroup_zoom_nj(domaingroup_Ptr domaingroup_hdl, int zoom_nj) |
---|
| 480 | { |
---|
[347] | 481 | CTimer::get("XIOS").resume(); |
---|
[325] | 482 | domaingroup_hdl->zoom_nj.setValue(zoom_nj); |
---|
| 483 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_nj); |
---|
[347] | 484 | CTimer::get("XIOS").suspend(); |
---|
[325] | 485 | } |
---|
| 486 | |
---|
| 487 | void cxios_get_domaingroup_zoom_nj(domaingroup_Ptr domaingroup_hdl, int* zoom_nj) |
---|
| 488 | { |
---|
| 489 | *zoom_nj = domaingroup_hdl->zoom_nj.getValue(); |
---|
| 490 | } |
---|
| 491 | |
---|
| 492 | |
---|
| 493 | void cxios_set_domaingroup_zoom_nj_loc(domaingroup_Ptr domaingroup_hdl, int zoom_nj_loc) |
---|
| 494 | { |
---|
[347] | 495 | CTimer::get("XIOS").resume(); |
---|
[325] | 496 | domaingroup_hdl->zoom_nj_loc.setValue(zoom_nj_loc); |
---|
| 497 | domaingroup_hdl->sendAttributToServer(domaingroup_hdl->zoom_nj_loc); |
---|
[347] | 498 | CTimer::get("XIOS").suspend(); |
---|
[325] | 499 | } |
---|
| 500 | |
---|
| 501 | void cxios_get_domaingroup_zoom_nj_loc(domaingroup_Ptr domaingroup_hdl, int* zoom_nj_loc) |
---|
| 502 | { |
---|
| 503 | *zoom_nj_loc = domaingroup_hdl->zoom_nj_loc.getValue(); |
---|
| 504 | } |
---|
| 505 | |
---|
| 506 | |
---|
| 507 | |
---|
| 508 | } |
---|