org.lucci.madhoc.network.monitor.measure
Class StationCountSensor

java.lang.Object
  extended by org.lucci.madhoc.simulation.measure.Sensor
      extended by org.lucci.madhoc.simulation.measure.NumericalSensor
          extended by org.lucci.madhoc.simulation.measure.NaturalNumberSensor
              extended by org.lucci.madhoc.simulation.measure.NaturalIntegerSensor
                  extended by org.lucci.madhoc.network.monitor.measure.StationCountSensor

public class StationCountSensor
extends NaturalIntegerSensor

Author:
luc.hogie

Constructor Summary
StationCountSensor()
           
 
Method Summary
 java.lang.String getName()
           
 Unit getUnit()
           
 java.lang.Integer takeNewIntegerValue(Projection projection)
           
 
Methods inherited from class org.lucci.madhoc.simulation.measure.NaturalIntegerSensor
isValueValid, takeNewDoubleValue
 
Methods inherited from class org.lucci.madhoc.simulation.measure.NaturalNumberSensor
isValueValid
 
Methods inherited from class org.lucci.madhoc.simulation.measure.NumericalSensor
createMeasureHistory, getPrecision, getValueClass, setPrecision, takeNewValue
 
Methods inherited from class org.lucci.madhoc.simulation.measure.Sensor
equals, getMonitor, hashCode, setMonitor
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StationCountSensor

public StationCountSensor()
Method Detail

takeNewIntegerValue

public java.lang.Integer takeNewIntegerValue(Projection projection)
Specified by:
takeNewIntegerValue in class NaturalIntegerSensor

getName

public java.lang.String getName()
Specified by:
getName in class Sensor

getUnit

public Unit getUnit()
Specified by:
getUnit in class NumericalSensor