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

[20335] DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation #4368

Conversation

JLBuenoLopez
Copy link
Contributor

Description

This PR implements DynamicTypeBuilderFactoryImpl::create_type_w_type_object method. It also uses this feature to fix the DDS SQL Filter and its tests.

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Any new/modified methods have been properly documented using Doxygen.
  • Changes are ABI compatible.
  • Changes are API compatible.
  • New feature has been added to the versions.md file (if applicable).
  • New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from ec10495 to 1fe00db Compare February 14, 2024 14:46
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from 1fe00db to 360cce3 Compare February 15, 2024 11:09
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from 360cce3 to 6e88e91 Compare February 15, 2024 11:55
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch 2 times, most recently from dca0920 to 68937b7 Compare February 15, 2024 15:42
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from 68937b7 to b64ca1c Compare February 16, 2024 10:34
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch 3 times, most recently from 10c39c2 to 863fd1d Compare February 19, 2024 14:34
@richiware richiware force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from 863fd1d to b5921d4 Compare February 20, 2024 07:28
@JLBuenoLopez
Copy link
Contributor Author

@richiprosima please test this

@EduPonz EduPonz added this to the v3.0.0 milestone Feb 21, 2024
@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch 6 times, most recently from c14efe2 to 6a71e49 Compare March 1, 2024 09:30
@richiware richiware force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from 6a71e49 to 2215995 Compare March 6, 2024 10:03
JLBuenoLopez and others added 7 commits March 25, 2024 14:20
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from d59e7f1 to b32c4f2 Compare March 25, 2024 13:20
Copy link
Contributor

@adriancampo adriancampo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Waiting for CI

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
@JLBuenoLopez JLBuenoLopez force-pushed the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch from b32c4f2 to e49f544 Compare March 26, 2024 07:35
@JLBuenoLopez JLBuenoLopez dismissed richiware’s stale review March 26, 2024 10:15

Rereviewed by Adrian

@JLBuenoLopez
Copy link
Contributor Author

JLBuenoLopez commented Mar 26, 2024

Manual CI:

  • Ubuntu: failures are unrelated or known to be flaky.
  • Windows: DDSSQLFilter tests are failing in the SetUp step while registering the TypeObject. It seems that Windows is running out of stack memory.
  • MacOS: failures are unrelated or known to be flaky.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
@JLBuenoLopez JLBuenoLopez merged commit a574750 into feature/xtypes1.3 Mar 27, 2024
2 of 4 checks passed
@JLBuenoLopez JLBuenoLopez deleted the feature/dynamic-type-builder-factory-create-type-w-type-object-impl branch March 27, 2024 15:33
richiware added a commit that referenced this pull request Apr 2, 2024
* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>
JLBuenoLopez pushed a commit that referenced this pull request Apr 2, 2024
* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>
richiware added a commit that referenced this pull request Apr 2, 2024
* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>
richiware added a commit that referenced this pull request Apr 3, 2024
DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>
EduPonz pushed a commit that referenced this pull request Apr 5, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Dy…
richiware added a commit that referenced this pull request Apr 11, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Dy…
JesusPoderoso pushed a commit that referenced this pull request Apr 12, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Dy…
github-actions bot pushed a commit that referenced this pull request Apr 16, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Dy…
EduPonz pushed a commit that referenced this pull request Apr 18, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Refactor monitor service

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix latency test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix compilation without statistics

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs …
EduPonz pushed a commit that referenced this pull request Apr 18, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Refactor monitor service

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix latency test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix compilation without statistics

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs …
EduPonz pushed a commit that referenced this pull request Apr 23, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Refactor monitor service

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix latency test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix compilation without statistics

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs …
EduPonz pushed a commit that referenced this pull request May 8, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Refactor monitor service

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix latency test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix compilation without statistics

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs …
EduPonz pushed a commit that referenced this pull request May 13, 2024
* Partial implementation of X-Types1.3

DDS ReturnCode_t generated from IDL file (#4041)

* Refs #19975. Implementation on library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix all compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix forgotten compilation errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19975. Fix old use of operator !

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerated IDL files with types header-only fastddsgen version (#4042)

* Refs #19971. Remove -cdr option in script

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Apply types header-only

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Fix compilation errors after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #19960. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixed error when compiling with FASTDDS_STATISTICS=OFF (#4059)

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New dynamic_language_binding.idl (#4058)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectUtils class (#3974)

* Refs #19648: XTypes v1.3 Annex B TypeObject IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate TypeObject.idl code with Fast DDS-Gen v3.0.1

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using bugfixes/warnings-regressions branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: build new TypeObject generated code. Update headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP, due to external annotation max serialized size is not correctly calculated

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include BuiltinAnnotations.idl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations already defined within Fast DDS-Gen: escape annotation name to redefine and generate TypeObject. Remove builtin annotations dependent on any block not yet supported

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update script to generate Builtin annotations TypeObject

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API proposal

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use xtypes1_3 namespace to avoid TypeInformation conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply design suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add exceptions based on DDS PSM CXX specification

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: API for bitmask flags, strings, sequences and arrays TypeIdentifiers. Consistency unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain maps TypeIdentifier API and unit tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: plain collections consistency methods and refactor corresponding tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register TypeObjectRegistry in DomainParticipantFactory and create accesor to the API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: register indirect hash TypeIdentifiers API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: refactor to prevent pointer use

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add register indirect hash TypeIdentifiers tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: AnnotationParameterValue API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add TypeObjectUtils API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: more API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate using external implementation. Refactor code to build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: include API to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: finish public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate BuiltinAnnotations types to check builtin annotations consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add API to access the builtin annotation complete TypeIdentifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: namespace. Include builtin annotations names and kinds and avoid conflict with extensibility kinds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: add consistency API: builtin annotations, complete struct members

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: union type consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: annotation cross consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: modify API for TypeLookupService

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix calls to TypeObjectRegistry

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: builtin annotations not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteAliasBody consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteEnumeratedLiteral consistency and fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: enum literal sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitflag consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitflag sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: CompleteBitfield consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: bitfield sequence consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: update versions.md

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate types using script (only IDLs introduced in this PR has been updated)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix wartnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove non-applicable TODO

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix build issue

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Clang warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: keyed members cannot be optional

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: fix MemberFlags consistency checks

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: leverage insert API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: improve error messages

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: check invalid union member name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: improve readability

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestions: imporvements to tests and map key consistency alias check

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion: ensure correct element order in sequences

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: apply review suggestion. Bitfield name might be empty. Method to check direct hash type identifiers consistency (pending implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use Fast DDS-Gen names

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: use IDL from specification (https://www.omg.org/spec/DDS-XTypes/20190301/dds-xtypes_typeobject.idl). Update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: migrate to DDS ReturnCode_t

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix IDL typo

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: generate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename TypeIdentifierParameter to avoid conflict

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: rename xtypes namespace

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix missing information from IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: remove warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19595: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: regenerate BuiltinAnnotation types without empty namespaces

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix uninitialized warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix test linkage

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: WIP

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix primitive type long double

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19648: fix windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Moved all typelookupservice files to src (#4053)

* Moved all typelookupservice files to src

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Renamed typelookupservice directory. Fix include order.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix include order. Uncrustify.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20043: Reordered includes. Fixed mock path.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New TypeDescriptor (#4074)

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update doxygen.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Remove forward class not used

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

TypeObjectRegistry implementation (#3996)

* Refs #19837: add TypeObjectRegistry::register_type_identifier test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_identifier implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: test fixes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObjectUtils::complete_type_object_consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_type_object skeleton

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_alias_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use const references in ranged for loops

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_annotation_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_struct_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_union_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitset_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_sequence_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_array_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_map_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_enumerated_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::build_minimal_from_complete_bitmask_type implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: fix tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObject::get_type_identifiers implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_identifiers test

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add TypeObject::get_type_objects tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_objects implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry constructor implementation. Register primitive TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::register_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: add precondition to public API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_information implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_builtin_annotation implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::is_type_identifier_known implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectRegistry::get_type_dependencies impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, protect against concurrent access to collections

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestion, rename to calculate_type_identifier

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: define NO_DEPENDENCIES constant

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions to TypeObjectRegistry implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: apply review suggestions, imporve TypeObjectRegistry tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: TypeObjectUtils::direct_hash_type_identifier_consistency impl

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: remove Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: regenerate code to avoid Clang warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19837: use ExtensibilityKind and TryConstructKind defined in DynamicType IDL

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

New MemberDescriptor API (#4096)

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate code with fastddsgen and fix idl files (#4080)

* Refs #20070. Regenerate source code and fix idl errors

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Fix missing include

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20070. Trying compile VS2017

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New AnnotationDescriptor API (#4121)

* Refs 17138. New AnnotationDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added idl file and generated types for typelookup service. (#4054)

* Added idl file and generated types for typelookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Fix directory name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Updated IDL. Removed old generated files.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to type generation script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Changes to make TypeLookup compile. Fix to type generation script.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustify

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated fastddsgen generated file

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions to update_generated_code_from_idl script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: fixed error in script

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added OMG idl for rpc types

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Uncrustified

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Added new rpc_typesPubSubTypes.cxx to CMakeLists

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated script idl and generated types after fastddsgen changes.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Updated generated code.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #19794: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Created TypeObjectRegistryObserver (#4092)

* Refs #20062: Created TypeObjectRegistryObserver class.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Chamges to TypeObjectUtils to work with TypeObjectRegistryObserver. Updated some generated types.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Removed TypeObjectFactory uses from discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Uses of TypeObjectRegistryObserver in discovery

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Changed TypeObjectRegistryObserver friend class for a virtual interface (tests not compiling).

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Fixed tests compilation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20062: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Undid uncrustify changes to TypeObjectUtils.cpp

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeMember API (#4138)

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicType API (#4141)

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Create async_get_type method and remove typelookup settings (#4126)

* Refs #20116: Removed TypeLookupSettings. Cleaned TypeLookupManager.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed auto_fill_type_object

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Crated instance of TypeLookupManager in BuiltinProtocols. Improved documentation of TypeLookupManager

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Added TODO for ReturnCodes of async_get_type

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Fixed DomainParticipantImpl mock

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed access to private api from mock.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed get_types and get_type_dependencies methods from DomainParticipant.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed the old methods related with TypeLookup service.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed tests from from ParticipantTests.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20116: Removed unnused member.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicTypeBuilder API (#4157)

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

New DynamicTypeBuilderFactory API (#4170)

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Apply suggestions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Move dds types (#4179)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Update TypeInformationParameter to contain xtype (#4140)

* Refs #20131: Updated TypeInformationParameter TypeInformation to xtypes

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old TypeObject header from QosPolicies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed old type validation.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Fixed windows warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Removed tests for private api.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20131: Included Types.hpp for DomainId_t

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Bugfix: fix feature/xtypes1.3 branch build (#4228)

* Refs #20129: fixes to build feature/xtypes1.3 branch

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix compilation with security

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestion

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after fixing union bug

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix for building without Statistics module

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Implement TypeLookupManager async_get_type (#4177)

* Refs #20130: Use TypeLookupManager in EDP

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: async_get_type implementation

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Moved parser functions and reception checks

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed typo

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Added functions to add and remove entries from maps. Change map keys to TypeIdentfierWithSize.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changeds to instance_name.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Applied suggestions

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed copyright date

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fixed warnings in release mode.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix CI warning.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix request instanceName check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Changes for smart_ptr ReaderProxyData and WriterProxyData.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Removed use of private header for TypeLookupManager inside the public one for BuiltinProtocols.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20130: Fix for remove_async_get_type_callback.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

New DynamicData API (#4189)

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Regenerate types after rebase.

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Type Object integration (#4239)

* Refs #19906: refactor annotation parameter value consistency method to deal with aliases

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: build wstring TypeIdentifiers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: fix long double name using Fast DDS-Gen defined name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove BuiltinAnnotations. Not required if not included in custom annotations sequence

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #19906: remove EquivalenceKindValue enum

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: support not applied annotation (extensibility/try_construct)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeIdentifier included in Minimal TypeObjects. Only explicit member flags

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: refactor bound consistency: unbounded collections have bound 0

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix map key type identifier consistency

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: register indirect hash TypeIdentifier correctly

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: bitfields must have a name

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal_from_complete TypeIdentifier method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fixes for maps

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: update script

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests: build TypeObject from DynamicType is not going to be implemented. TypeInformation is private API

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and ensure library builds

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: ensure examples build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove tests related to type compatibility/evolution

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid generating unnecessary TypeObjectSupport

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use new transport headers

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build DDS unit tests, including DDS Statistics

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove XTypes tests. Type evolution is not going to be supported yet and remote type discovery tests are being refactored

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: remove legacy ReturnCode and fix tests (pending DynamicTypesTests and RTPS Statistics tests)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: use another approach for unit test building: mock DomainParticipantFactory. Apply to DDSSQLFilter tests as proof of concept

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and register TypeObject support by default

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix tests compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix TypeObject tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix minimal annotation parameter sequence order. Fix minimal TypeIdentifier for map keys

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types and fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix test in Release mode

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase in Fast DDS-Gen

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix Python Bindings build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix old API blackbox test compilation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix build with TLS disabled

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types avoiding Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix windows max macro conflict in security tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types to avoid Windows warning

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: avoid code in test main method

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20129: fix CI warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Regenerate types after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Fixes for indirect hashes dependencies. (#4496)

* Refs #20572: Fixes for indirect hashes dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestion. Added tests for build_plain_map_s_type_defn_inconsistencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Fixes for plain_map_type_identifier_header_consistency.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Changed get_type_dependencies methods and aliases equiv_kind as map components.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Applied suggestions.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Combined map consistency methods.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20572: Removed redundant check.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

Regenerated files with last fastddsgen after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

Added Annotation dependencies (#4497)

* Refs #20565: Added Annotation dependencies

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Applied suggestions. Added missing enum and bitmask dependencies.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

* Refs #20565: Typo.

Signed-off-by: adriancampo <adriancampo@eprosima.com>

---------

Signed-off-by: adriancampo <adriancampo@eprosima.com>

DynamicType implementation (#4190)

* Refs 17138. DynamicTypePtr as shared_ptr alias

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Solve singleton initialization issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Updating DynamicTypeBuilder(Factory)

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor to follow standard guidelines

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed annotations issues on TypeObject generation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Natural conversion from DynamicTypeXXX to TypeDescriptor.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Ubuntu build issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Use type singletons for builder singletons

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. doxygen and testing works

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ScopeLogs ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData enum interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData bitmask interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix auto-id numbering

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. force explicit DynamicData creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing DynamicData serialization, comparisson and copy

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing map implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing struct implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing struct inheritance

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Trimming APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing union implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing xml profile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. debugging recursive structures serialization

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. index management refactor and testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fix enum xml parsing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. update serialization/deserialization to avoid runtime allocations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing union default testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing xml parsing tests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing bitsets ...

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. all tests fixed

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. moving dynamic tracker from runtime polymorphism to build time one

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing examples and blackbox testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. consistency fixes on type creation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. ostream support for annotations

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing dll export issues. New test binary to check them.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Completing doxygen. Fixing CI issues.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing performance tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Minor CI fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Make create_xxx_builder() return constants only for static members.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing fastdds cli to work on python venv on windows

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing doxygen.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. CI API fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Several test fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicType generation from TypeObjec

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor of MemberId and some serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API and serialization fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapting test & examples to the new MemberId. Avoiding fastcdr dependency.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Test fixes. Avoiding static_cast<MemberId>. @external allows adding members without explicit type.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Finishing doxygen

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing typos

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac/Windows CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fix Mac debug conditions

Refs 17138. Unifying attribute handling on config.h.in

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving the new API to types::v1_3 namespace. Fixing testing & examples.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing docs and gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroducing sources
            Fixing ambiguities and building fastrtps
            Fixing examples and tests.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Providing backwards compatibility with xtypes 1.1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Adapt test and examples to xtypes 1.1 restoration

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. GCC and MSVC toolset 141 fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Tests and doc tests fixes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixes testing DDSDynamicHelloWorld

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. Fix Mac CI warnings

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Reintroduced the TypeLookUpExample

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactoring TypeLookupService to support both xtypes versions. Debugging outcome.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DDSSimpleCommunicationTypeDiscovery.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Mac CI issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Linter pass

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing Copyright dates

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Applyig api changes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor type builder creation according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_sequence_type update according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_map_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. create_primitive_type updated according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Moving from create_xxx_type to get_xxxx_type according to review

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Renaming new headers using the .hpp convention

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Test fixes.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Add external reference counting ancillary

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Refactor interfaces to raw pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Introduced ancillary classes

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes...part 1

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes ... part 2

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. API update fixes .. part 3

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing gcc issues

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

REfs 17138. API update fixes .. ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "REfs 17138. API update fixes .. ongoing"

This reverts commit b6ae13fd24456ab971f390189487086c11559a2e.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Fixing gcc issues"

This reverts commit 5b37876037467e04b9cc3b36203dee70efdcd8b7.

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Spliting implementation from public APIs

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New TypeDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New MemberDescriptor implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. New Anotation & DynamicMembers implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing implementation details

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilder interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeBuilderFactory to DynamicTypeBuilderFactoryImpl mapping

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationManager interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. AnnotationDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. MemberDescriptor interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. TypeDescriptor fixes 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType interface

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Rethinking annotation interfaces 🛠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicType and builder missing members

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicTypeMember collections interfaces

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing smart pointers

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing TypeObjectFactory ... ongoing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixed TypeObjectFactory

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Splitting DynamicData into STL-free-interface+implementation

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataFactory refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData implementation done

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicData_ptr refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on release mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicDataImpl builds on debug mode

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. DynamicPubSub refactor

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target build

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing fastrtps target linking

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixing gcc errors

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. updating examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed examples

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. simplify loans

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fix DDSSQLFilterTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138: fixing ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed ParticipantTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed BlackboxTests_DDS_PIM

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

fixed DDSSimpleCommunicationDynamicPublisher

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. fixed DDSSimpleCommunicationDynamicSubscriber

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Creating mocks for XMLProfile testing

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Revert "Refs 17138. Creating mocks for XMLProfile testing"

This reverts commit 40c42c9937969fabd957e20768ab9e2c76976812.

Refs 17138. Fixed XMLProfileParserTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Propagate include dependencies with xtypes target

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs 17138. Fixing DynamicTypesTests

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>

Refs #18494. Making it compile

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applied new dynamic-types Types.hpp

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Applying new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Update after rebase new TypeDescriptor

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New MemberDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New AnnotationDescriptor impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeMember impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicType impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilder impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs 17138. New DynamicTypeBuilderFactory impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. New DynamicData impl

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Continue impl DynamicData

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. First approach XVCRv2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several:

- Support enum
- Fix clearing functions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support string types

* Refs #17138. Support string types

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Add primitive sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support sequences inside sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve structure support

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support unions.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of maps.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitmasks

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix rebase and remove use of old dynamic api

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove old code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor test to use DDS API

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Bring to live xml tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten use of template

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Support of bitsets

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

Implementation:

- serialize_key
- calculate_key_serialized_size
- calculate_max_serialized_size

Add extensibility check.
Fix serialization of key.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.  Testing calculate_max_serialized_size.

Also fix checking string bound.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement DynamicData::clone

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implement get_complex_data

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix aliases of enumerators

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move dynamictests to feature folder

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Implementation set_complex_value

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve alias management

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused file

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Change Bitmask behaviour

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on Windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Improve bitmask usage

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Removed examples

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix bitfield as boolean

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <correoricky@gmail.com>

* Refs #17138. Fix bitset

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove unused header

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Using new CdrSizeCalculator API for arrays

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Refactor xtypes interface library

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Improves reviewing

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix deserialization of unions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying changes after review

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Several fixes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Improve enumerations
- Fix reading bitset from XML
- Ordering function in some classes

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138.

- Fix sequence of strings
- Fix sequence of bitmask
- Add promotion on sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove obsolete test code

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fixing arrays and sequences

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Remove todos

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix accessing an empty sequence

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warning on windows

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings on windows

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix warnings

Signed-off-by: Ricardo González <ricardo@richiware.dev>

* Refs #17138. Fixes in maps

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 2

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix inheritance

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 3

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 4

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Forgotten suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 5

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Move test to other branch

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Applying suggestions 6

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 7

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestion 8

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Apply suggestions 9

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #17138. Fix uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20595: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20595: apply review suggestion and fix Mac warnings

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González <correoricky@gmail.com>
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: Miguel Barro <miguelbarro@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation (#4368)

* Refs #20335: add verbatim to DynamicTypeBuilder

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: check minimal TypeObject consistency. Check consistency before registering

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: DynamicTypeBuilderFactoryImpl::create_type_w_type_object implementation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: correctly pass reference to DynamicDataImpl::delete_data

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: create TypeObjectUtils and TypeObjectRegistry mock classes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test suite build

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix DDS Filter tests

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix warning by reverting changes

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: linters

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix bitmask generation

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: Fix content filter

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20335: fix after rebase

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: apply review suggestions

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: regenerate types

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

* Refs #20335: fix test after union refactor

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>

---------

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix after rebase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Refactor monitor service

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix latency test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Apply suggestions 1

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #20738. Fix compilation without statistics

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs …
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