| 333 | } |
| 334 | |
| 335 | fmi2Status fmi2SetInteger( |
| 336 | fmi2Component c, |
| 337 | const fmi2ValueReference vr[], |
| 338 | size_t nvr, |
| 339 | const fmi2Integer value[]) |
| 340 | { |
| 341 | const auto component = static_cast<Fmi2Component*>(c); |
| 342 | try { |
| 343 | component->slave->SetInteger(vr, nvr, value); |
| 344 | return fmi2OK; |
| 345 | } catch (const pythonfmu::fatal_error& e) { |
| 346 | component->logger->log(fmi2Fatal, e.what()); |
| 347 | return fmi2Fatal; |
| 348 | } catch (const std::exception& e) { |
| 349 | component->logger->log(fmi2Error, e.what()); |
| 350 | return fmi2Error; |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | fmi2Status fmi2SetBoolean( |
| 355 | fmi2Component c, |
nothing calls this directly
no test coverage detected