Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Design of Particle and Path #32

Open
alicerobson opened this issue May 4, 2017 · 0 comments
Open

Design of Particle and Path #32

alicerobson opened this issue May 4, 2017 · 0 comments

Comments

@alicerobson
Copy link
Contributor

At present the particle points to a path via a shared-ptr- This is not as clean as it could be. If the path gets changed then the particle is not logically const as one would like. NB At the moment the particle is physically const as the shared_ptr does not change, but this is not ideal.

Goal would be to allow particle to be const once created and keep path more separate.

One suggestion is to store the paths into a collection in the papas Event and for the paths to know about their particles. The particle may have to figure out which path is attached to it by looking at the history.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant