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

Changes to facilitate bindings to python #2195

Merged
merged 6 commits into from
Sep 17, 2021

Conversation

IkerLuengo
Copy link
Contributor

No description provided.

Although these lines are legal, these 'using' structures get a parsing error in SWIG.
And since the operators are already inherited from the base class, they
are redundant, and can be removed to simplify our lives in the binding
process

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
This facilitates the binding to Python

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
@IkerLuengo IkerLuengo force-pushed the feature/python-bindings-changes branch from fc93151 to 989b999 Compare September 7, 2021 10:57
@IkerLuengo IkerLuengo marked this pull request as ready for review September 9, 2021 07:46
@EduPonz EduPonz added this to the v2.4.0 milestone Sep 9, 2021
include/fastdds/rtps/common/EntityId_t.hpp Outdated Show resolved Hide resolved
include/fastdds/dds/topic/TypeSupport.hpp Outdated Show resolved Hide resolved
include/fastdds/dds/topic/TypeSupport.hpp Show resolved Hide resolved
include/fastdds/rtps/common/Guid.h Outdated Show resolved Hide resolved
include/fastdds/rtps/common/Guid.h Outdated Show resolved Hide resolved
include/fastdds/rtps/common/Time_t.h Outdated Show resolved Hide resolved
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
include/fastdds/dds/topic/InstanceHandle.hpp Outdated Show resolved Hide resolved
include/fastdds/dds/topic/InstanceHandle.hpp Outdated Show resolved Hide resolved
include/fastdds/rtps/common/Time_t.h Outdated Show resolved Hide resolved
include/fastdds/rtps/common/Time_t.h Outdated Show resolved Hide resolved
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
include/fastdds/dds/common/InstanceHandle.hpp Outdated Show resolved Hide resolved
include/fastdds/dds/common/InstanceHandle.hpp Outdated Show resolved Hide resolved
include/fastdds/dds/topic/TypeSupport.hpp Show resolved Hide resolved
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
@MiguelCompany
Copy link
Member

@richiprosima Please test mac

MiguelCompany
MiguelCompany previously approved these changes Sep 17, 2021
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

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

LGTM

@MiguelCompany
Copy link
Member

@richiprosima Please test this

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

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

LGTM with green CI

@MiguelCompany
Copy link
Member

All failures unrelated.

@MiguelCompany MiguelCompany merged commit e40eba2 into master Sep 17, 2021
@MiguelCompany MiguelCompany deleted the feature/python-bindings-changes branch September 17, 2021 11:12
SamuelWHalodi pushed a commit to SamuelWHalodi/Fast-DDS that referenced this pull request Oct 4, 2021
* Operators are inherited

Although these lines are legal, these 'using' structures get a parsing error in SWIG.
And since the operators are already inherited from the base class, they
are redundant, and can be removed to simplify our lives in the binding
process

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* Define operators inside the classes

This facilitates the binding to Python

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* Requested changes

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* Requested changes

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* More requested changes

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* Reverting changes on rtps/common headers.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>

Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
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.

3 participants