SWDataNetworkLog

If data from a network has been recorded, the file can be played back, using this class.
*new ( fn, netw )
Create a new instance. fn is the filename. netw is the SWDataNetwork to set the data to. If none is given, the class will create a new instance.
play ( )
Start playing back the log data
stop ( )
Stop playing back the log data
reset ( )
Reset to the beginning of the log data
close ( )
Close the file. After this you cannot playback the data anymore.
network ( )
Access to the SWDataNetwork that is used to play the data to.
readHeader ( )
private - read the header of the file
readLine ( )
private - read one line of data from the file. Returns the delta time as recorded in the data.




Marije Baalman 2009-03-16