Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8577,6 +8577,7 @@ version = "0.28.0-alpha.1+dev"
dependencies = [
"arrow",
"egui",
"egui_dnd",
"egui_extras",
"egui_kittest",
"egui_plot",
Expand Down Expand Up @@ -10145,6 +10146,7 @@ dependencies = [
"re_chunk_store",
"re_data_ui",
"re_entity_db",
"re_log",
"re_log_types",
"re_query",
"re_renderer",
Expand All @@ -10154,6 +10156,7 @@ dependencies = [
"re_ui",
"re_view",
"re_viewer_context",
"re_viewport_blueprint",
]

[[package]]
Expand Down
1 change: 1 addition & 0 deletions crates/build/re_types_builder/src/codegen/cpp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ impl QuotedObject {

hpp_includes.insert_system("utility"); // std::move
hpp_includes.insert_system("cstring"); // std::memcpy
hpp_includes.insert_system("cassert"); // assert

let mut cpp_includes = Includes::new(obj.fqname.clone(), obj.scope());
let mut hpp_declarations = ForwardDecls::default();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace rerun.blueprint.archetypes;


/// Configuration of the text log columns.
table TextLogColumns (
"attr.rerun.scope": "blueprint"
) {
// --- Optional ---

/// All columns to be displayed.
text_log_columns: rerun.blueprint.components.TextLogColumnList ("attr.rerun.component_optional", order: 1000);

/// What timeline the timeline column should show.
timeline: rerun.blueprint.components.TimelineName ("attr.rerun.component_optional", order: 2000);
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace rerun.blueprint.archetypes;


/// Configuration of the text log rows.
table TextLogRows (
"attr.rerun.scope": "blueprint"
) {
// --- Optional ---

/// Log levels to display.
filter_by_log_level: rerun.blueprint.components.TextLogLevelList ("attr.rerun.component_optional", order: 100);
}


Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace rerun.blueprint.components;

// ---

/// A list of columns in a text log view.
table TextLogColumnList (
"attr.rust.derive": "PartialEq, Eq",
"attr.rerun.scope": "blueprint",
"attr.rust.repr": "transparent",
"attr.rust.tuple_struct"
) {
/// The list of columns.
text_log_columns: rerun.blueprint.datatypes.TextLogColumnList (order: 100);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace rerun.blueprint.components;

// ---

/// A list of text log levels to display.
table TextLogLevelList (
"attr.rust.derive": "PartialEq, Eq",
"attr.rerun.scope": "blueprint",
"attr.rust.repr": "transparent",
"attr.rust.tuple_struct"
) {
/// The list of log levels.
log_levels: rerun.blueprint.datatypes.TextLogLevelList (order: 100);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
namespace rerun.blueprint.datatypes;

/// A text log column kind.
enum TextLogColumnKind: ubyte (
"attr.rerun.scope": "blueprint"
) {
/// Invalid value. Won't show up in generated types.
Invalid = 0,
/// The logs timepoint on a specific timeline.
Timeline,

/// Which entity path this was logged to.
EntityPath (default),

/// The log level, i.e INFO, WARN, ERROR.
LogLevel,

/// The text message the log has.
Body,
}

/// A text log column.
table TextLogColumn (
"attr.rust.derive": "PartialEq, Eq, Hash",
"attr.rerun.scope": "blueprint",
"attr.docs.unreleased"
) {
/// Is this column visible?
visible: rerun.datatypes.Bool (order: 100);

/// What kind of column is this?
kind: TextLogColumnKind (order: 200);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace rerun.blueprint.datatypes;


/// A list of text log columns.
table TextLogColumnList (
"attr.rust.derive": "Default, PartialEq, Eq",
"attr.rerun.scope": "blueprint",
"attr.docs.unreleased"
) {
/// All columns to be displayed.
text_log_columns: [rerun.blueprint.datatypes.TextLogColumn] (order: 100);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace rerun.blueprint.datatypes;


/// A list of text log levels.
table TextLogLevelList (
"attr.rust.derive": "Default, PartialEq, Eq",
"attr.rerun.scope": "blueprint",
"attr.docs.unreleased"
) {
/// Log levels to display.
log_levels: [rerun.datatypes.Utf8] (order: 100);
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ namespace rerun.blueprint.views;
table TextLogView (
"attr.rerun.view_identifier": "TextLog"
) {
/// The columns to display in the view.
columns: rerun.blueprint.archetypes.TextLogColumns (order: 1000);

/// Filter for rows to display in the view.
rows: rerun.blueprint.archetypes.TextLogRows (order: 2000);
}
2 changes: 1 addition & 1 deletion crates/store/re_types/definitions/rerun/datatypes/bool.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace rerun.datatypes;
struct Bool (
"attr.arrow.transparent",
"attr.python.aliases": "bool",
"attr.rust.derive": "Copy, Default, PartialEq, Eq, PartialOrd, Ord",
"attr.rust.derive": "Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash",
"attr.rust.override_crate": "re_types_core",
"attr.rust.repr": "transparent",
"attr.rust.tuple_struct"
Expand Down
2 changes: 2 additions & 0 deletions crates/store/re_types/src/blueprint/archetypes/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crates/store/re_types/src/blueprint/archetypes/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading