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