Struct re_data_source::DataLoaderSettings
source · pub struct DataLoaderSettings {
pub application_id: Option<ApplicationId>,
pub opened_application_id: Option<ApplicationId>,
pub store_id: StoreId,
pub opened_store_id: Option<StoreId>,
pub entity_path_prefix: Option<EntityPath>,
pub timepoint: Option<TimePoint>,
}
Expand description
Recommended settings for the DataLoader
.
The loader is free to ignore some or all of these.
External DataLoader
s will be passed the following CLI parameters:
--application-id <application_id>
--opened-application-id <opened_application_id>
(if set)--recording-id <store_id>
--opened-recording-id <opened_store_id>
(if set)--entity-path-prefix <entity_path_prefix>
(if set)--timeless
(iftimepoint
is set to the timeless timepoint)--time <timeline1>=<time1> <timeline2>=<time2> ...
(iftimepoint
contains temporal data)--sequence <timeline1>=<seq1> <timeline2>=<seq2> ...
(iftimepoint
contains sequence data)
Fields§
§application_id: Option<ApplicationId>
The recommended re_log_types::ApplicationId
to log the data to, based on the surrounding context.
opened_application_id: Option<ApplicationId>
The re_log_types::ApplicationId
that is currently opened in the viewer, if any.
store_id: StoreId
The recommended re_log_types::StoreId
to log the data to, based on the surrounding context.
Log data to this recording if you want it to appear in a new recording shared by all data-loaders for the current loading session.
opened_store_id: Option<StoreId>
The re_log_types::StoreId
that is currently opened in the viewer, if any.
entity_path_prefix: Option<EntityPath>
What should the logged entity paths be prefixed with?
timepoint: Option<TimePoint>
At what time(s) should the data be logged to?
Implementations§
source§impl DataLoaderSettings
impl DataLoaderSettings
pub fn recommended(store_id: impl Into<StoreId>) -> Self
sourcepub fn to_cli_args(&self) -> Vec<String>
pub fn to_cli_args(&self) -> Vec<String>
Generates CLI flags from these settings, for external data loaders.
Trait Implementations§
source§impl Clone for DataLoaderSettings
impl Clone for DataLoaderSettings
source§fn clone(&self) -> DataLoaderSettings
fn clone(&self) -> DataLoaderSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more