Class NetworkTablesWriter

java.lang.Object
dev.doglog.internal.log_thread.writers.NetworkTablesWriter
All Implemented Interfaces:
LogWriterBase, LogWriterLowLevel, AutoCloseable

@NullMarked public class NetworkTablesWriter extends Object implements AutoCloseable, LogWriterLowLevel
Logs to NetworkTables.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    log(long timestamp, String key, boolean forceNt, boolean value)
     
    void
    log(long timestamp, String key, boolean forceNt, boolean[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, double value)
     
    void
    log(long timestamp, String key, boolean forceNt, double[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, double[] value, String unit)
     
    void
    log(long timestamp, String key, boolean forceNt, double value, String unit)
     
    void
    log(long timestamp, String key, boolean forceNt, float value)
     
    void
    log(long timestamp, String key, boolean forceNt, float[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, float[] value, String unit)
     
    void
    log(long timestamp, String key, boolean forceNt, float value, String unit)
     
    void
    log(long timestamp, String key, boolean forceNt, long value)
     
    void
    log(long timestamp, String key, boolean forceNt, long[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, long[] value, String unit)
     
    void
    log(long timestamp, String key, boolean forceNt, long value, String unit)
     
    <T> void
    log(long timestamp, String key, boolean forceNt, Struct<T> struct, T value)
     
    <T> void
    log(long timestamp, String key, boolean forceNt, Struct<T> struct, T[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, String value)
     
    void
    log(long timestamp, String key, boolean forceNt, String[] value)
     
    void
    log(long timestamp, String key, boolean forceNt, String value, String customTypeString)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NetworkTablesWriter

      public NetworkTablesWriter(String logTable)
  • Method Details

    • log

      public void log(long timestamp, String key, boolean forceNt, boolean[] value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, boolean value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, double[] value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, double[] value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, double value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, double value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, float[] value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, float[] value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, float value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, float value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, long[] value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, long[] value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, long value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, long value, String unit)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, String[] value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, String value)
      Specified by:
      log in interface LogWriterBase
    • log

      public void log(long timestamp, String key, boolean forceNt, String value, String customTypeString)
      Specified by:
      log in interface LogWriterBase
    • log

      public <T> void log(long timestamp, String key, boolean forceNt, Struct<T> struct, T[] value)
      Specified by:
      log in interface LogWriterLowLevel
    • log

      public <T> void log(long timestamp, String key, boolean forceNt, Struct<T> struct, T value)
      Specified by:
      log in interface LogWriterLowLevel
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable