org.lsst.ccs.subsystems.fcs.simulation
Class SimuTruckModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.TruckModule
              extended by org.lsst.ccs.subsystems.fcs.simulation.SimuTruckModule
All Implemented Interfaces:
Serializable, Observer, org.lsst.ccs.framework.Configurable

public class SimuTruckModule
extends TruckModule

A simulated truck used by the simulated hardware control software.

Author:
virieux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable
org.lsst.ccs.framework.Configurable.Environment
 
Field Summary
 
Fields inherited from class org.lsst.ccs.subsystems.fcs.TruckModule
railSensorStandback, railSensorStandby
 
Fields inherited from class org.lsst.ccs.framework.Module
environment, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuTruckModule()
           
 
Method Summary
 void updateLocation(String hex)
          In the single filter test, the simultated presence filter sensor listens to the simulated truck so we have to notify our observers.
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.TruckModule
getRailSensorStandback, getRailSensorStandby, getTruckLocation, initModule, setRailSensorStandback, setRailSensorStandby
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimuTruckModule

public SimuTruckModule()
Method Detail

updateLocation

public void updateLocation(String hex)
                    throws org.lsst.ccs.bus.ErrorInCommandExecutionException
In the single filter test, the simultated presence filter sensor listens to the simulated truck so we have to notify our observers.

Overrides:
updateLocation in class TruckModule
Throws:
org.lsst.ccs.bus.ErrorInCommandExecutionException


Copyright © 2013 LSST. All Rights Reserved.