You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess my question is, what does declaring those tags as read/write do? Are they unavailable to the code within the system without first declaring them as read/write?
Thanks !!
The text was updated successfully, but these errors were encountered:
Getting a mutable or const reference to a component is statically checked
at compile-time, producing an error in case the component access does not
fulfill what was specified in the system signature;
It seems this is a feature, am I correct in my understanding?
I'm wondering if you can help me understand what this is for
.read(x0, x1, ...) and .write(x0, x1, ...) specify what component types a system is allowed to read or write. (Write implies read.)
If the component are not explicitly listed in the read/write lists then trying to access them in the system implementation will cause a compile-time error. Similarly, trying to access a component listed in read from a non-const reference will cause a compile-time error as well.
Ooops, forgot to leave a comment. This makes perfect sense, it just wasn't obvious when I was reading through the example code until I read your (entire) thesis. Nice work btw!
First, thanks for writing this library. It's really interesting to me, it would be nice if this became a solved problem. Anyways, moving onto my question, I'm wondering if you can help me understand what this is for:
https://github.com/SuperV1234/ecst/blob/master/example/pres_code.cpp#L720-L721
when inside the system definition this code is found:
https://github.com/SuperV1234/ecst/blob/master/example/pres_code.cpp#L211-L212
I guess my question is, what does declaring those tags as read/write do? Are they unavailable to the code within the system without first declaring them as read/write?
Thanks !!
The text was updated successfully, but these errors were encountered: