Skip to content

Commit

Permalink
huh?
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Oct 25, 2024
1 parent 48aabdc commit 48878f6
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/snippets/all/concepts/app-model/native-sync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ int main() {
// Connect to the Rerun TCP server using the default address and
// port: localhost:9876
const auto rec = rerun::RecordingStream("rerun_example_native_sync");
rec.connect().exit_on_failure();
rec.connect_tcp().exit_on_failure();

// Log data as usual, thereby pushing it into the TCP socket.
while (true) {
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/all/concepts/app-model/native-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Connect to the Rerun TCP server using the default address and
# port: localhost:9876
rr.connect()
rr.connect_tcp()

# Log data as usual, thereby pushing it into the TCP socket.
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/all/concepts/app-model/native-sync.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Connect to the Rerun TCP server using the default address and
// port: localhost:9876
let rec = rerun::RecordingStreamBuilder::new("rerun_example_native_sync").connect()?;
let rec = rerun::RecordingStreamBuilder::new("rerun_example_native_sync").connect_tcp()?;

// Log data as usual, thereby pushing it into the TCP socket.
loop {
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/all/tutorials/data_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# Connect to the viewer
rr.init(recording.application_id(), recording_id=recording.recording_id())
rr.connect()
rr.connect_tcp()

# log the jaw open state signal as a scalar
rr.send_columns(
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/log_file/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main(int argc, char** argv) {
if (args["spawn"].as<bool>()) {
rec.spawn().exit_on_failure();
} else if (args["connect"].as<bool>()) {
rec.connect().exit_on_failure();
rec.connect_tcp().exit_on_failure();
} else if (args["stdout"].as<bool>()) {
rec.to_stdout().exit_on_failure();
} else if (args.count("save")) {
Expand Down
2 changes: 1 addition & 1 deletion examples/python/multiprocess_logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The function `task` is decorated with `@rr.shutdown_at_exit`. This decorator ens
def task(child_index: int) -> None:
rr.init("rerun_example_multiprocessing")

rr.connect()
rr.connect_tcp()

title = f"task_{child_index}"
rr.log(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def task(child_index: int) -> None:
rr.init("rerun_example_multiprocessing")

# We then have to connect to the viewer instance.
rr.connect()
rr.connect_tcp()

title = f"task_{child_index}"
rr.log(
Expand Down
4 changes: 2 additions & 2 deletions examples/rust/chess_robby_fischer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let app_id = "RobbyFischer";
let rec_id = uuid::Uuid::new_v4().to_string();
let rec = rerun::RecordingStreamBuilder::new(app_id)
.recording_id(&rec_id)
.connect()
.connect_tcp()
.unwrap();

//
Expand Down Expand Up @@ -323,7 +323,7 @@ parser.add_argument("--application-id", type=str)

args = parser.parse_args()
rr.init(args.application_id, recording_id=args.recording_id)
rr.connect()
rr.connect_tcp()
rr.send_blueprint(blueprint)
```

Expand Down

0 comments on commit 48878f6

Please sign in to comment.