Crate custom_store_subscriber
source ยทExpand description
This example demonstrates how to use ChunkStoreSubscriber
s and ChunkStoreEvent
s to implement both
custom secondary indices and trigger systems.
Usage:
# Start the Rerun Viewer with our custom view in a terminal:
$ cargo r -p custom_store_subscriber
# Log any kind of data from another terminal:
$ cargo r -p objectron -- --connect
Structsยง
- A
ChunkStoreSubscriber
that maintains a secondary index that keeps count of the number of occurrences of each component in eachrerun::ChunkStore
. - Orchestrator ๐A meta
ChunkStoreSubscriber
that distributes work to our other views. - TimeRangesPerEntity ๐A
ChunkStoreSubscriber
that maintains a secondary index of the time ranges covered by each entity, on every timeline, across all recordings (i.e.rerun::ChunkStore
s).
Functionsยง
- main ๐