de.fhg.igd.earth.observe
Class TracerManager

java.lang.Object
  extended byde.fhg.igd.earth.observe.TracerManager

public class TracerManager
extends Object

This class manages the tracers. It's the interface between the GUI and the tracer classes. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel

Field Summary
protected  ModelGraph model_
          The ModelGraph object (root)
private  Vector tracerList_
          A list of all tracers
 
Constructor Summary
TracerManager(ModelGraph model)
          Creates an instance of this class.
 
Method Summary
 void addTracer(Tracer t)
          Adds a tracer to the tracer list
 void createTraceList()
          Creates all tracelists of all tracers
 Tracer getTracer(String identName)
          Returns a special tracer
 Vector getTracerList()
          Returns a list of all tracers
 int numTracers()
          Returns the number of tracers
 void remove(Tracer t)
          Removes a given tracer
 void removeAll()
          Removes all tracers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tracerList_

private Vector tracerList_
A list of all tracers


model_

protected ModelGraph model_
The ModelGraph object (root)

Constructor Detail

TracerManager

public TracerManager(ModelGraph model)
Creates an instance of this class.

Parameters:
model - ModelGraph object
Method Detail

getTracerList

public Vector getTracerList()
Returns a list of all tracers

Returns:
tracerList;

getTracer

public Tracer getTracer(String identName)
Returns a special tracer

Parameters:
identName - name of the tracer
Returns:
Tracer;

addTracer

public void addTracer(Tracer t)
Adds a tracer to the tracer list

Parameters:
t - Tracer

numTracers

public int numTracers()
Returns the number of tracers

Returns:
number of tracers

remove

public void remove(Tracer t)
Removes a given tracer

Parameters:
t - Tracer

removeAll

public void removeAll()
Removes all tracers


createTraceList

public void createTraceList()
Creates all tracelists of all tracers



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.