|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.nb.pogamut.unreal.timeline.records.TLLogRecorder
public class TLLogRecorder
Class for recording all log events that will come from source log. It stores the messages and handles the dispatch events.
| Nested Class Summary | |
|---|---|
static interface |
TLLogRecorder.TLLogRecorderListener
Listener for new log messages. |
| Method Summary | |
|---|---|
void |
addLogRecordListener(TLLogRecorder.TLLogRecorderListener listener)
|
protected void |
addRecord(LogRecord record)
Take new record, update last timestamp of entity and emit it to all listeners. |
int |
compareTo(Object o)
|
TLEntity |
getEntity()
|
protected HashSet<TLLogRecorder.TLLogRecorderListener> |
getListeners()
|
LogEvents |
getLogEvents()
Get all log events that were ever recorded/ing in this TLLogRecorder. |
MapEvents |
getMapEvents()
Get all map events that were ever recorded/ing in this TLLogRecorder. |
List<MapEvent> |
getMapEvents(long time)
Get all map events that were in progress at passed time. |
String |
getName()
|
Logger |
getSourceLogger()
|
void |
printInfo(PrintStream stream)
|
void |
removeLogRecordListener(TLLogRecorder.TLLogRecorderListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public List<MapEvent> getMapEvents(long time)
time - time from which we want map events
public String getName()
public TLEntity getEntity()
public Logger getSourceLogger()
protected void addRecord(LogRecord record)
record - protected HashSet<TLLogRecorder.TLLogRecorderListener> getListeners()
public void addLogRecordListener(TLLogRecorder.TLLogRecorderListener listener)
public void removeLogRecordListener(TLLogRecorder.TLLogRecorderListener listener)
public int compareTo(Object o)
compareTo in interface Comparablepublic void printInfo(PrintStream stream)
public MapEvents getMapEvents()
public LogEvents getLogEvents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||