-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: MultiTrajectory improvements (#1061)
This does three things: 1. `MultiTrajectory` and it's internal column storage can be queried for their size and "cleared", meaning their logical size reduced to zero, while keeping their capacity 2. `ConstTrackStateProxy` is now (auto-)constructible from `TrackStateProxy`. This is necessary to enable interfaces for certain components to accept `ConstTrackStateProxy` and passing a non-const `TrackStateProxy` 3. Allows `MultiTrajectory::TrackStateProxy::copyFrom` to also copy regardless of underlying allocation. If this flag id set to `false`, the method will copy everyhing which has a valid index **potentially overwriting information in other track states via shared storage**
- Loading branch information
1 parent
a95b3f0
commit 7d0e02c
Showing
2 changed files
with
230 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters