| | 71241 | SWIGINTERN PyObject *_wrap_iPcWheeled_SetAntiSway(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71242 | PyObject *resultobj = 0; |
| | 71243 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71244 | bool arg2 ; |
| | 71245 | void *argp1 = 0 ; |
| | 71246 | int res1 = 0 ; |
| | 71247 | bool val2 ; |
| | 71248 | int ecode2 = 0 ; |
| | 71249 | PyObject * obj0 = 0 ; |
| | 71250 | PyObject * obj1 = 0 ; |
| | 71251 | |
| | 71252 | if (!PyArg_ParseTuple(args,(char *)"OO:iPcWheeled_SetAntiSway",&obj0,&obj1)) SWIG_fail; |
| | 71253 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71254 | if (!SWIG_IsOK(res1)) { |
| | 71255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_SetAntiSway" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71256 | } |
| | 71257 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71258 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
| | 71259 | if (!SWIG_IsOK(ecode2)) { |
| | 71260 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPcWheeled_SetAntiSway" "', argument " "2"" of type '" "bool""'"); |
| | 71261 | } |
| | 71262 | arg2 = static_cast< bool >(val2); |
| | 71263 | (arg1)->SetAntiSway(arg2); |
| | 71264 | resultobj = SWIG_Py_Void(); |
| | 71265 | return resultobj; |
| | 71266 | fail: |
| | 71267 | return NULL; |
| | 71268 | } |
| | 71269 | |
| | 71270 | |
| | 71271 | SWIGINTERN PyObject *_wrap_iPcWheeled_SetAntiSwayFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71272 | PyObject *resultobj = 0; |
| | 71273 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71274 | float arg2 ; |
| | 71275 | void *argp1 = 0 ; |
| | 71276 | int res1 = 0 ; |
| | 71277 | float val2 ; |
| | 71278 | int ecode2 = 0 ; |
| | 71279 | PyObject * obj0 = 0 ; |
| | 71280 | PyObject * obj1 = 0 ; |
| | 71281 | |
| | 71282 | if (!PyArg_ParseTuple(args,(char *)"OO:iPcWheeled_SetAntiSwayFactor",&obj0,&obj1)) SWIG_fail; |
| | 71283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71284 | if (!SWIG_IsOK(res1)) { |
| | 71285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_SetAntiSwayFactor" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71286 | } |
| | 71287 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71288 | ecode2 = SWIG_AsVal_float(obj1, &val2); |
| | 71289 | if (!SWIG_IsOK(ecode2)) { |
| | 71290 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPcWheeled_SetAntiSwayFactor" "', argument " "2"" of type '" "float""'"); |
| | 71291 | } |
| | 71292 | arg2 = static_cast< float >(val2); |
| | 71293 | (arg1)->SetAntiSwayFactor(arg2); |
| | 71294 | resultobj = SWIG_Py_Void(); |
| | 71295 | return resultobj; |
| | 71296 | fail: |
| | 71297 | return NULL; |
| | 71298 | } |
| | 71299 | |
| | 71300 | |
| | 71301 | SWIGINTERN PyObject *_wrap_iPcWheeled_SetAntiSwayLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71302 | PyObject *resultobj = 0; |
| | 71303 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71304 | float arg2 ; |
| | 71305 | void *argp1 = 0 ; |
| | 71306 | int res1 = 0 ; |
| | 71307 | float val2 ; |
| | 71308 | int ecode2 = 0 ; |
| | 71309 | PyObject * obj0 = 0 ; |
| | 71310 | PyObject * obj1 = 0 ; |
| | 71311 | |
| | 71312 | if (!PyArg_ParseTuple(args,(char *)"OO:iPcWheeled_SetAntiSwayLimit",&obj0,&obj1)) SWIG_fail; |
| | 71313 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71314 | if (!SWIG_IsOK(res1)) { |
| | 71315 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_SetAntiSwayLimit" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71316 | } |
| | 71317 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71318 | ecode2 = SWIG_AsVal_float(obj1, &val2); |
| | 71319 | if (!SWIG_IsOK(ecode2)) { |
| | 71320 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPcWheeled_SetAntiSwayLimit" "', argument " "2"" of type '" "float""'"); |
| | 71321 | } |
| | 71322 | arg2 = static_cast< float >(val2); |
| | 71323 | (arg1)->SetAntiSwayLimit(arg2); |
| | 71324 | resultobj = SWIG_Py_Void(); |
| | 71325 | return resultobj; |
| | 71326 | fail: |
| | 71327 | return NULL; |
| | 71328 | } |
| | 71329 | |
| | 71330 | |
| | 71347 | return resultobj; |
| | 71348 | fail: |
| | 71349 | return NULL; |
| | 71350 | } |
| | 71351 | |
| | 71352 | |
| | 71353 | SWIGINTERN PyObject *_wrap_iPcWheeled_GetAntiSway(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71354 | PyObject *resultobj = 0; |
| | 71355 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71356 | bool result; |
| | 71357 | void *argp1 = 0 ; |
| | 71358 | int res1 = 0 ; |
| | 71359 | PyObject * obj0 = 0 ; |
| | 71360 | |
| | 71361 | if (!PyArg_ParseTuple(args,(char *)"O:iPcWheeled_GetAntiSway",&obj0)) SWIG_fail; |
| | 71362 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71363 | if (!SWIG_IsOK(res1)) { |
| | 71364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_GetAntiSway" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71365 | } |
| | 71366 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71367 | result = (bool)(arg1)->GetAntiSway(); |
| | 71368 | resultobj = SWIG_From_bool(static_cast< bool >(result)); |
| | 71369 | return resultobj; |
| | 71370 | fail: |
| | 71371 | return NULL; |
| | 71372 | } |
| | 71373 | |
| | 71374 | |
| | 71375 | SWIGINTERN PyObject *_wrap_iPcWheeled_GetAntiSwayFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71376 | PyObject *resultobj = 0; |
| | 71377 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71378 | float result; |
| | 71379 | void *argp1 = 0 ; |
| | 71380 | int res1 = 0 ; |
| | 71381 | PyObject * obj0 = 0 ; |
| | 71382 | |
| | 71383 | if (!PyArg_ParseTuple(args,(char *)"O:iPcWheeled_GetAntiSwayFactor",&obj0)) SWIG_fail; |
| | 71384 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71385 | if (!SWIG_IsOK(res1)) { |
| | 71386 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_GetAntiSwayFactor" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71387 | } |
| | 71388 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71389 | result = (float)(arg1)->GetAntiSwayFactor(); |
| | 71390 | resultobj = SWIG_From_float(static_cast< float >(result)); |
| | 71391 | return resultobj; |
| | 71392 | fail: |
| | 71393 | return NULL; |
| | 71394 | } |
| | 71395 | |
| | 71396 | |
| | 71397 | SWIGINTERN PyObject *_wrap_iPcWheeled_GetAntiSwayLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| | 71398 | PyObject *resultobj = 0; |
| | 71399 | iPcWheeled *arg1 = (iPcWheeled *) 0 ; |
| | 71400 | float result; |
| | 71401 | void *argp1 = 0 ; |
| | 71402 | int res1 = 0 ; |
| | 71403 | PyObject * obj0 = 0 ; |
| | 71404 | |
| | 71405 | if (!PyArg_ParseTuple(args,(char *)"O:iPcWheeled_GetAntiSwayLimit",&obj0)) SWIG_fail; |
| | 71406 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPcWheeled, 0 | 0 ); |
| | 71407 | if (!SWIG_IsOK(res1)) { |
| | 71408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPcWheeled_GetAntiSwayLimit" "', argument " "1"" of type '" "iPcWheeled *""'"); |
| | 71409 | } |
| | 71410 | arg1 = reinterpret_cast< iPcWheeled * >(argp1); |
| | 71411 | result = (float)(arg1)->GetAntiSwayLimit(); |
| | 71412 | resultobj = SWIG_From_float(static_cast< float >(result)); |