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