com.yobotics.simulationconstructionset
Class DataFileReader

java.lang.Object
  extended by com.yobotics.simulationconstructionset.DataFileReader

public class DataFileReader
extends java.lang.Object


Constructor Summary
DataFileReader(java.io.File file)
           
DataFileReader(java.net.URL url)
           
 
Method Summary
 double getRecordDT()
           
 int readData(VarList newVars, YoVariableRegistry rootRegistryToAddNewVariablesTo, DataBuffer dataBuffer)
           
 int readData(VarList newVars, YoVariableRegistry rootRegistryToAddNewVariablesTo, DataBuffer dataBuffer, SimulationConstructionSet sim)
           
 int readData(YoDataInputStream dataStream, VarList newVars, YoVariableRegistry rootRegistryToAddNewVariablesTo, DataBuffer dataBuffer, SimulationConstructionSet sim)
           
 void readState(VarList varList)
           
 void readState(VarList varList, boolean createMissingVariables, YoVariableRegistry registry)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFileReader

public DataFileReader(java.io.File file)

DataFileReader

public DataFileReader(java.net.URL url)
Method Detail

getRecordDT

public double getRecordDT()

readData

public int readData(VarList newVars,
                    YoVariableRegistry rootRegistryToAddNewVariablesTo,
                    DataBuffer dataBuffer)
             throws java.io.IOException
Throws:
java.io.IOException

readData

public int readData(VarList newVars,
                    YoVariableRegistry rootRegistryToAddNewVariablesTo,
                    DataBuffer dataBuffer,
                    SimulationConstructionSet sim)
             throws java.io.IOException
Throws:
java.io.IOException

readData

public int readData(YoDataInputStream dataStream,
                    VarList newVars,
                    YoVariableRegistry rootRegistryToAddNewVariablesTo,
                    DataBuffer dataBuffer,
                    SimulationConstructionSet sim)
             throws java.io.IOException
Throws:
java.io.IOException

readState

public void readState(VarList varList)
               throws java.io.IOException
Throws:
java.io.IOException

readState

public void readState(VarList varList,
                      boolean createMissingVariables,
                      YoVariableRegistry registry)
               throws java.io.IOException
Throws:
java.io.IOException