Skip to content

feat: Access to whiteboard from Python#5158

Open
paulgessinger wants to merge 8 commits intoacts-project:mainfrom
paulgessinger:feat/python-whiteboard
Open

feat: Access to whiteboard from Python#5158
paulgessinger wants to merge 8 commits intoacts-project:mainfrom
paulgessinger:feat/python-whiteboard

Conversation

@paulgessinger
Copy link
Member

No description provided.

@github-actions github-actions bot added this to the next milestone Feb 24, 2026
@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module labels Feb 24, 2026
@paulgessinger paulgessinger force-pushed the feat/python-whiteboard branch 2 times, most recently from 8f8d3cf to c7780fd Compare February 25, 2026 09:25
@github-actions
Copy link
Contributor

📊: Physics performance monitoring for c7780fd

Full contents

physmon summary

@paulgessinger paulgessinger marked this pull request as ready for review February 26, 2026 13:25
Copy link
Member

@benjaminhuth benjaminhuth left a comment

Choose a reason for hiding this comment

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

Very cool! Some questions below:

class WhiteBoardRegistry {
public:
using DowncastFunction = std::function<pybind11::object(
const void* data, const pybind11::object& wbPy)>;
Copy link
Member

Choose a reason for hiding this comment

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

Hmm so we cannot use std::any here, that could contain T *?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can try. I'm not sure it'll work, given that we also have to use the type hash to do our type comparisons. std::any has to do those as well, let's see if they work.


namespace ActsPython {

class WhiteBoardRegistry {
Copy link
Member

Choose a reason for hiding this comment

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

I think for maintainability it would be great to summarize the purpose / concept / idea of this class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Core Affects the Core module Component - Examples Affects the Examples module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants