Skip to content

Refactor Shape class to be pure virtual#2420

Merged
rishiso merged 1 commit intoros2from
shape-pure-virtual
Sep 22, 2025
Merged

Refactor Shape class to be pure virtual#2420
rishiso merged 1 commit intoros2from
shape-pure-virtual

Conversation

@rishiso
Copy link
Contributor

@rishiso rishiso commented Sep 22, 2025

Description

Refactoring the Shape class to be pure virtual. It was previously not possible due to some dependencies on Python bindings. Those bindings are gone, so we can make it pure virtual.

Testing

Nothing broken

@rishiso rishiso marked this pull request as ready for review September 22, 2025 00:29
/**
* The shape class provides the interface to all shapes that are subclasses.
*
* TODO(Kevin): do we use boost python anymore? more likely this docstring
Copy link
Contributor

Choose a reason for hiding this comment

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

finally

Copy link
Contributor

@Squid5678 Squid5678 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@jvogt23 jvogt23 left a comment

Choose a reason for hiding this comment

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

LGTM

@rishiso rishiso merged commit b7c8b58 into ros2 Sep 22, 2025
2 checks passed
@rishiso rishiso deleted the shape-pure-virtual branch September 22, 2025 01:27
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