| 352 | } |
| 353 | |
| 354 | fmi2Status fmi2SetBoolean( |
| 355 | fmi2Component c, |
| 356 | const fmi2ValueReference vr[], |
| 357 | size_t nvr, |
| 358 | const fmi2Boolean value[]) |
| 359 | { |
| 360 | const auto component = static_cast<Fmi2Component*>(c); |
| 361 | try { |
| 362 | component->slave->SetBoolean(vr, nvr, value); |
| 363 | return fmi2OK; |
| 364 | } catch (const pythonfmu::fatal_error& e) { |
| 365 | component->logger->log(fmi2Fatal, e.what()); |
| 366 | return fmi2Fatal; |
| 367 | } catch (const std::exception& e) { |
| 368 | component->logger->log(fmi2Error, e.what()); |
| 369 | return fmi2Error; |
| 370 | } |
| 371 | } |
| 372 | |
| 373 | fmi2Status fmi2SetString( |
| 374 | fmi2Component c, |
nothing calls this directly
no test coverage detected