Skip to content
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

XTypes: fixed XCDR2 encoding used for TypeObject #2749

Merged
merged 14 commits into from Jun 27, 2021

Conversation

mitza-oci
Copy link
Member

No description provided.

Generated code that needs these always includes Serializer.h
Requires a phased migration if not all participants change together:
- Normal (default) is to be compliant with spec
- if some older OpenDDS versions need to interop, set to WriteOldFormat
 (so they recognize our TypeIdentifiers and we recognize either kind)
- once older OpenDDS versions are phased out, set to ReadOldFormat
 (so correct version is written but incorrect one still understood)
- once all participants are on ReadOldFormat, change to Normal (default)

Along the way normalized the TypeSupportImpl/TypeLookupService
dependency so that the logic of this setting is in one place
@mitza-oci mitza-oci marked this pull request as ready for review June 21, 2021 23:30
@mitza-oci mitza-oci changed the title XTypes: Type Lookup Service and TypeObject updates XTypes: fixed XCDR2 encoding used for TypeObject Jun 21, 2021
dds/DCPS/RTPS/RtpsRpc.idl Outdated Show resolved Hide resolved
dds/DCPS/TypeSupportImpl.cpp Outdated Show resolved Hide resolved
dds/DCPS/XTypes/TypeObject.h Outdated Show resolved Hide resolved
dds/DCPS/XTypes/TypeObject.h Outdated Show resolved Hide resolved
dds/DCPS/Service_Participant.h Show resolved Hide resolved
@mitza-oci mitza-oci merged commit cf493b4 into OpenDDS:master Jun 27, 2021
@mitza-oci mitza-oci deleted the typelookup branch June 27, 2021 02:52
mitza-oci added a commit that referenced this pull request Dec 14, 2021
This reverts commit cf493b4, reversing
changes made to 37e64fe.

# Conflicts:
#	dds/DCPS/Serializer.cpp
#	dds/DCPS/Serializer.h
#	dds/DCPS/Service_Participant.cpp
#	dds/DCPS/Service_Participant.h
#	dds/DCPS/TypeSupportImpl.cpp
#	dds/DCPS/TypeSupportImpl.h
#	dds/DCPS/XTypes/TypeLookupService.cpp
#	dds/DCPS/XTypes/TypeLookupService.h
#	dds/DCPS/XTypes/TypeObject.h
#	tests/unit-tests/dds/DCPS/XTypes/TypeObject.cpp
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.

None yet

4 participants