Skip to content

Conversation

@serges147
Copy link
Contributor

@serges147 serges147 commented Nov 8, 2024

  • For issue Rework TypeId stuff at SubscriberImpl to be dynamic modules friendly. #380 reworked subscriber's message type id generation - now Nunavut's FullNameAndVersion const string is in use to generate type id (string hash). No more unsafe (dynamic modules non-friendly) conversion of address of template static variable to std::uintptr_t.
    Also:
  • Added several GetInfoProvider::setXxx setters
  • DSDL generated <Type>::_traits_::ArrayCapacity::<field> now in use

serges147 and others added 30 commits August 26, 2024 07:45
# Conflicts:
#	docs/examples/1_presentation/example_10_posix_udp.cpp
#	include/libcyphal/presentation/presentation.hpp
Simplified registry implementation by...
- removing user specific coercion logic - now API based on either the
Nunavut's `Value` type or one of its variants;
- only `Registry::route` method left - `expose` and `parameterize` were
removed (b/c they depend on the coercion)
- Defined abstract key-value storage interface; plus its mock under unit
tests.
- Added `load` & `save` methods for persisting registry in a storage;
its unit test coverage (100%).
- Extended example_2_app_0 with registry persisting.
…tor` stays with specific memory resource (instead of default "new/delete" one) #verification #docs #sonar
Set default PMR, so that default behavior of
`std::pmr::polymorphic_allocator` stays with specific memory resource
(instead of default "new/delete" one) #verification #docs #sonar
# Conflicts:
#	.github/workflows/sonar.yml
#	.github/workflows/tests.yml
# Conflicts:
#	.github/workflows/sonar.yml
#	.github/workflows/tests.yml
#	docs/examples/1_presentation/example_1_presentation_1_ping_user_service_udp.cpp
#	docs/examples/2_application/example_2_application_0_node_hb_getinfo_udp.cpp
#	include/libcyphal/application/registry/register.hpp
#	include/libcyphal/presentation/client.hpp
#	include/libcyphal/presentation/publisher.hpp
#	include/libcyphal/presentation/server.hpp
#	test/unittest/application/node/test_get_info_provider.cpp
@serges147 serges147 self-assigned this Nov 8, 2024
@serges147 serges147 marked this pull request as ready for review November 8, 2024 14:04
@serges147 serges147 changed the title Rework TypeId" stuff at SubscriberImpl to be dynamic modules friendly Rework TypeId stuff at SubscriberImpl to be dynamic modules friendly Nov 9, 2024
@sonarqubecloud
Copy link

@serges147 serges147 added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit fee548f Nov 13, 2024
@serges147 serges147 deleted the sshirokov/type_name branch November 13, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants