Class GenericNameValueRecordingFrame

java.lang.Object
zombie.core.skinnedmodel.animation.debug.GenericNameValueRecordingFrame
Direct Known Subclasses:
AnimationEventRecordingFrame, AnimationVariableRecordingFrame, GameProfileRecording, GenericNameWeightRecordingFrame

public abstract class GenericNameValueRecordingFrame extends Object
  • Field Details

    • m_columnNames

      protected String[] m_columnNames
    • m_nameIndices

      protected final HashMap<String,Integer> m_nameIndices
    • m_headerDirty

      protected boolean m_headerDirty
    • m_fileKey

      protected final String m_fileKey
    • m_outHeader

      protected PrintStream m_outHeader
    • m_outHeaderFile

      protected PrintStream m_outHeaderFile
    • m_outValues

      protected PrintStream m_outValues
    • m_firstFrameNumber

      protected int m_firstFrameNumber
    • m_frameNumber

      protected int m_frameNumber
    • delim

      protected static final String delim
      See Also:
    • m_valuesFileNameSuffix

      protected final String m_valuesFileNameSuffix
    • m_lineBuffer

      protected final StringBuilder m_lineBuffer
  • Constructor Details

    • GenericNameValueRecordingFrame

      public GenericNameValueRecordingFrame(String fileKey, String valuesFileNameSuffix)
  • Method Details

    • addColumnInternal

      protected int addColumnInternal(String string)
    • getOrCreateColumn

      public int getOrCreateColumn(String nodeName)
    • setFrameNumber

      public void setFrameNumber(int frameNumber)
    • getColumnCount

      public int getColumnCount()
    • getNameAt

      public String getNameAt(int i)
    • getValueAt

      public abstract String getValueAt(int i)
    • openHeader

      protected void openHeader()
    • flushHeaderToFile

      protected void flushHeaderToFile()
    • openValuesFile

      protected void openValuesFile(boolean boolean0)
    • writeLine

      public void writeLine()
    • close

      public void close()
    • closeAndDiscard

      public void closeAndDiscard()
    • onColumnAdded

      protected abstract void onColumnAdded()
    • reset

      public abstract void reset()
    • writeHeaderToMemory

      protected void writeHeaderToMemory()
    • buildHeader

      protected void buildHeader(StringBuilder stringBuilder)
    • writeData

      protected void writeData()
    • writeData

      protected void writeData(StringBuilder stringBuilder)
    • appendCell

      public static StringBuilder appendCell(StringBuilder logLine)
      Append empty cell
    • appendCell

      public static StringBuilder appendCell(StringBuilder logLine, String cell)
      Append text cell, no quotes
    • appendCell

      public static StringBuilder appendCell(StringBuilder logLine, float cell)
      Append numeric cell
    • appendCell

      public static StringBuilder appendCell(StringBuilder logLine, int cell)
      Append numeric cell
    • appendCell

      public static StringBuilder appendCell(StringBuilder logLine, long cell)
      Append numeric cell
    • appendCellQuot

      public static StringBuilder appendCellQuot(StringBuilder logLine, String cell)
      Append text cell, enclosed in quotes