|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.earth.observe.trace.Tracer
This class is used by the AgentLoader to show a dialog to enter the nickname of the agent. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG
Field Summary | |
protected String |
datapath_
datapath for I/O (Logger) |
protected boolean |
enabled_
tracer status |
private Vector |
loggerList_
list of all loggers |
protected ModelGraph |
model_
The ModelGraph object (root) |
protected Vector |
traceList_
A list of all traceable history groups |
protected TriggerDelay |
trigger_
the trigger delay object |
Constructor Summary | |
Tracer()
Creates an instance of this class. |
Method Summary | |
void |
addLogger(Logger logger)
adds a logger to the logger list |
abstract int |
createTraceList()
Creates the trace list. |
abstract String |
getIdentName()
Returns the ident name |
Vector |
getLoggerList()
Returns the list of all loggers |
Vector |
getTraceList()
Returns the trace list. |
void |
setDatapath(String datapath)
sets the datapath |
void |
setModel(ModelGraph model)
sets the model graph |
void |
setTrigger(TriggerDelay trigger)
sets the trigger delay object |
void |
start()
starts the tracer |
void |
stop()
stops the tracer |
abstract void |
update()
Calles the trigger delay to update the viewer |
protected void |
writeLog(String text)
Sends a string to the logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ModelGraph model_
protected Vector traceList_
protected boolean enabled_
private Vector loggerList_
protected TriggerDelay trigger_
protected String datapath_
Constructor Detail |
public Tracer()
Method Detail |
public void setDatapath(String datapath)
datapath
- Stringpublic abstract String getIdentName()
public void setModel(ModelGraph model)
public Vector getTraceList()
public void setTrigger(TriggerDelay trigger)
trigger
- public Vector getLoggerList()
public void addLogger(Logger logger)
logger
- public void start()
public void stop()
public abstract int createTraceList()
public abstract void update()
protected void writeLog(String text)
text
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |