Class DataLogEntry

java.lang.Object
edu.wpi.first.util.datalog.DataLogEntry
Direct Known Subclasses:
BooleanArrayLogEntry, BooleanLogEntry, DoubleArrayLogEntry, DoubleLogEntry, FloatArrayLogEntry, FloatLogEntry, IntegerArrayLogEntry, IntegerLogEntry, ProtobufLogEntry, RawLogEntry, StringArrayLogEntry, StringLogEntry, StructArrayLogEntry, StructLogEntry

public class DataLogEntry
extends Object
Log entry base class.
  • Field Details

  • Constructor Details

  • Method Details

    • setMetadata

      public void setMetadata​(String metadata, long timestamp)
      Updates the metadata for the entry.
      Parameters:
      metadata - New metadata for the entry
      timestamp - Time stamp (0 to indicate now)
    • setMetadata

      public void setMetadata​(String metadata)
      Updates the metadata for the entry.
      Parameters:
      metadata - New metadata for the entry
    • finish

      public void finish​(long timestamp)
      Finishes the entry.
      Parameters:
      timestamp - Time stamp (0 to indicate now)
    • finish

      public void finish()
      Finishes the entry.