-
Notifications
You must be signed in to change notification settings - Fork 399
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
Iox #27 add untyped client and server api [stacked PR #4] #1091
Iox #27 add untyped client and server api [stacked PR #4] #1091
Conversation
cafa071
to
23359fb
Compare
5a5212b
to
e964cf2
Compare
23359fb
to
f346fb0
Compare
e964cf2
to
41e3fd9
Compare
f346fb0
to
1cbc765
Compare
41e3fd9
to
af415c1
Compare
1cbc765
to
601edf6
Compare
af415c1
to
31d1487
Compare
891b47e
to
e74429c
Compare
31d1487
to
26e1326
Compare
f20bad9
to
c02c9f5
Compare
26e1326
to
4f7cb9c
Compare
c02c9f5
to
9cf7047
Compare
4f7cb9c
to
80fecba
Compare
9cf7047
to
587970e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add nullptr
tests for the methods which have a pointer argument and where there is a potential segfault hidden.
For those methods which also return a pointer I would return a nullptr
when they are called with a nullptr
then we would be at least consistent with the remaining code base.
/// @brief Get the service description of the client. | ||
/// @return The service description. | ||
/// | ||
capro::ServiceDescription getServiceDescription() const noexcept; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to return here const capro::ServiceDescription &
. After creation it should not change anymore or do we run then into consistency issues with the other ports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think it is save to return a reference. Shall I also change it for the publisher and subscriber?
iceoryx_posh/include/iceoryx_posh/internal/popo/base_client.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/include/iceoryx_posh/internal/popo/base_client.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/include/iceoryx_posh/internal/popo/base_server.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/include/iceoryx_posh/internal/popo/untyped_client_impl.inl
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice reading
iceoryx_posh/include/iceoryx_posh/internal/popo/ports/client_server_port_types.hpp
Show resolved
Hide resolved
80fecba
to
b6dea2e
Compare
587970e
to
f1198bd
Compare
b6dea2e
to
cdafb14
Compare
f1198bd
to
167c233
Compare
…r and ResponseHeader
7947926
to
b73bbcc
Compare
b73bbcc
to
432dd56
Compare
Codecov Report
@@ Coverage Diff @@
## master #1091 +/- ##
==========================================
- Coverage 76.29% 76.21% -0.08%
==========================================
Files 346 346
Lines 13585 13603 +18
Branches 1935 1939 +4
==========================================
+ Hits 10364 10367 +3
- Misses 2589 2607 +18
+ Partials 632 629 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Pre-Review Checklist for the PR Author
iox-#123-this-is-a-branch
)iox-#123 commit text
)git commit -s
)task-list-completed
)Notes for Reviewer
This PR add the untyped API for the Client and Server. The functionality is complete.
The changelog will be updated once the feature is finished.
Test will be added in PR #1138
Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References