|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.pc.charting.DataLogger
public class DataLogger
This class provides the PC side of the lejos.util.NXTDataLogger
counterpart running on the NXT.
One instance per log session. The session ends when the NXT ends the connection.
LoggerComms
,
lejos.util.NXTDataLogger
Constructor Summary | |
---|---|
DataLogger(LoggerProtocolManager lpm,
java.io.File logFile,
boolean fileAppend)
Create a DataLogger instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataLogger(LoggerProtocolManager lpm, java.io.File logFile, boolean fileAppend)
DataLogger
instance. If valid, the passed passed logfile
is opened and the
logging output is written to it.
This class registers an internal LoggerListener
implementation to receive the logging events from
LoggerProtocolManager
.
lpm
- The LoggerProtocolManager
instance that is managing the NXT communicationlogFile
- The log file File
to write output to.fileAppend
- If false
, the specified file will be overwritten if exists.LoggerComms
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |