-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated dataflow semantics ConnPolicy #118
Updated dataflow semantics ConnPolicy #118
Conversation
In the meantime we had some discussions about the naming of the new policy fields and the corresponding constants. Even during internal discussions the current naming scheme leads to some confusion, especially because it is not clear to the user what exactly is shared in a We therefore consider to unify the
What do you think? |
👍 looks less confusing indeed. |
👍 |
1 similar comment
👍 |
See #118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu> Conflicts: rtt/transports/corba/CorbaConnPolicy.cpp
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu> Conflicts: rtt/transports/corba/CorbaConnPolicy.cpp
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu> Conflicts: rtt/transports/corba/CorbaConnPolicy.cpp
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu> Conflicts: rtt/transports/corba/CorbaConnPolicy.cpp
See orocos-toolchain#118 (comment). Signed-off-by: Johannes Meyer <johannes@intermodalics.eu> Conflicts: rtt/transports/corba/CorbaConnPolicy.cpp
This pull request is part of a bigger effort to add support for new connection semantics to RTT (see #114).
The new fields added to the
ConnPolicy
struct are:read_policy
(of enum typeReadPolicy
)write_policy
(of enum typeWritePolicy
)mandatory
(of type bool)max_threads
(of type int).We also added a global ConnPolicy instance which serves as a template for new default-constructed instances. It can be accessed from scripting through the GlobalsRepository as
DefaultConnPolicy
.Please check the source code documentation in ConnPolicy.hpp or the design document for more details.