Class DataLogTelemetryBackend
java.lang.Object
org.wpilib.backend.DataLogTelemetryBackend
- All Implemented Interfaces:
AutoCloseable, TelemetryBackend
A telemetry backend that sends logged data to a DataLog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Create an entry for the given path.voidremoveEntry(String path) Removes an entry for the given path.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TelemetryBackend
ownsBackend, sharesBackendWith
-
Constructor Details
-
DataLogTelemetryBackend
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getEntry
Description copied from interface:TelemetryBackendCreate an entry for the given path.Backend implementations must not throw from this method. Recoverable failures should be reported through
TelemetryRegistry.reportWarning(String, String)and represented with a discard entry.- Specified by:
getEntryin interfaceTelemetryBackend- Parameters:
path- full name- Returns:
- telemetry entry
-
removeEntry
Description copied from interface:TelemetryBackendRemoves an entry for the given path.Backend implementations must not throw from this method.
- Specified by:
removeEntryin interfaceTelemetryBackend- Parameters:
path- normalized full name
-