RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
TelemetryBackend.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.telemetry;
6
14public interface TelemetryBackend extends AutoCloseable {
26
37 @SuppressWarnings("PMD.CompareObjectsWithEquals")
38 default boolean ownsBackend(TelemetryBackend backend) {
39 return this == backend;
40 }
41
52 default boolean sharesBackendWith(TelemetryBackend backend) {
53 return ownsBackend(backend) || backend.ownsBackend(this);
54 }
55
63 default void removeEntry(String path) {}
64}
TelemetryEntry getEntry(String path)
default boolean ownsBackend(TelemetryBackend backend)
default boolean sharesBackendWith(TelemetryBackend backend)