org.lucci.madhoc.simulation.measure
Class Sensor

java.lang.Object
  extended by org.lucci.madhoc.simulation.measure.Sensor
Direct Known Subclasses:
DistributionSensor, NumericalSensor

public abstract class Sensor
extends java.lang.Object

Author:
luc.hogie

Constructor Summary
Sensor()
           
 
Method Summary
 MeasureHistory createMeasureHistory()
           
 boolean equals(java.lang.Object o)
           
 Monitor getMonitor()
           
abstract  java.lang.String getName()
           
abstract  java.lang.Class getValueClass()
           
 int hashCode()
           
 boolean isValueValid(java.lang.Object value)
           
 void setMonitor(Monitor simulationApplication)
           
abstract  java.lang.Object takeNewValue(Projection projection)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sensor

public Sensor()
Method Detail

getName

public abstract java.lang.String getName()

getValueClass

public abstract java.lang.Class getValueClass()

takeNewValue

public abstract java.lang.Object takeNewValue(Projection projection)

isValueValid

public boolean isValueValid(java.lang.Object value)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

createMeasureHistory

public MeasureHistory createMeasureHistory()

getMonitor

public Monitor getMonitor()

setMonitor

public void setMonitor(Monitor simulationApplication)