%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| 158 | |
| 159 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 160 | void JSBSimInterface::Update() |
| 161 | { |
| 162 | try { |
| 163 | fdmExec->Run(); |
| 164 | } catch (const LogException& e) { |
| 165 | snprintf(error_msg, sizeof(error_msg), "%s", e.what()); |
| 166 | ssSetErrorStatus(S, error_msg); |
| 167 | throw BaseException(error_msg); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 172 | bool JSBSimInterface::AddInputPropertyNode(std::string property) |