1
0
forked from ROMEO/nexosim
Commit Graph

7 Commits

Author SHA1 Message Date
f4686af49a Finalize the Context and BuildContext API
The API style is now more uniform: both are passed by mutable ref, and
only expose accessors. Additionally, the methods that were initially
accessed through the scheduler field are now directly implemented on
`Context`.
2024-11-15 16:12:07 +01:00
ba1e668447 Report panics as errors + identify panicking model
The build context is now passed as a mutable reference due to the need
to mutate data when adding a model.

Contains small unrelated cleanups and documentation improvements too.
2024-11-13 19:40:58 +01:00
039fefad47 Introduce ProtoModel trait, remove Model::setup
The external_input example has been as well adapted and (at least
temporarily) simplifiedi/modified to remove the dependencies on
`atomic_wait` and `mio`.
2024-11-05 16:16:42 +01:00
195bcdceba Add instance name to model contexts 2024-05-10 14:32:07 +02:00
02eec1b277 Add test and improve example 2024-05-08 11:20:33 +02:00
0734dc2fac Implement clonable outputs and add submodels example 2024-04-29 21:00:12 +02:00
e84e802f09 Initial (g)RPC implementation 2024-04-25 11:12:54 +02:00