-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Service RX/TX Request/Response sessions (#356)
- Added Svc RX & TX sessions (both for Request & Response). - Now that we have more sessions, `ContiguousPayload` building moved to transport impl: - less code duplication - less to verify by unit tests - sessions now more like facade for RX/TX - they do necessary params validation/conversion, but ultimately delegate to the transport - switch to `cetl::unbounded_variant` (instead of former `cetl::any`) Also: - minor changes for previous PR requests - more docs for stable api; excluding `*::detail::*` from generated docs Codo coverage: <img width="1723" alt="Screenshot 2024-05-02 at 09 53 11" src="https://github.com/OpenCyphal-Garage/libcyphal/assets/2915466/56c4ab26-177c-4cd8-806e-173cf38eb84c"> --------- Co-authored-by: Sergei Shirokov <[email protected]>
- Loading branch information
1 parent
ab7627e
commit e271e12
Showing
27 changed files
with
1,558 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Checks: >- | ||
boost-*, | ||
bugprone-*, | ||
cert-*, | ||
clang-analyzer-*, | ||
cppcoreguidelines-*, | ||
google-*, | ||
hicpp-*, | ||
llvm-*, | ||
misc-*, | ||
modernize-*, | ||
performance-*, | ||
portability-*, | ||
readability-*, | ||
-cppcoreguidelines-avoid-const-or-ref-data-members, | ||
-google-readability-todo, | ||
-readability-avoid-const-params-in-decls, | ||
-readability-identifier-length, | ||
-llvm-header-guard, | ||
-llvm-include-order, | ||
-*-use-trailing-return-type, | ||
-*-named-parameter, | ||
CheckOptions: | ||
- key: readability-function-cognitive-complexity.Threshold | ||
value: '90' | ||
- key: readability-magic-numbers.IgnoredIntegerValues | ||
value: '1;2;3;4;5;8;10;16;20;32;60;64;100;128;256;500;512;1000' | ||
WarningsAsErrors: '*' | ||
HeaderFilterRegex: '.*\.hpp' | ||
AnalyzeTemporaryDtors: false | ||
FormatStyle: file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.