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

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

public class SimuBridgeToCanOpenHardware
extends org.lsst.ccs.framework.Module
implements BridgeToHardware

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.framework.Module
environment, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuBridgeToCanOpenHardware()
           
 
Method Summary
 boolean isCWrapperConnected()
          This method returns true if the C-Wrapper is connected to the tcp proxy.
 boolean isHardwareReady()
          returns true if the hardware is booted, identified and initialized.
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, 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

SimuBridgeToCanOpenHardware

public SimuBridgeToCanOpenHardware()
Method Detail

isCWrapperConnected

public boolean isCWrapperConnected()
Description copied from interface: BridgeToHardware
This method returns true if the C-Wrapper is connected to the tcp proxy. The C-Wrapper has to send the tcpProxy clientName as a keyword before any communication can begin. So if the C-Wrapper doesn't send the good keyword or if it doesn't connect to the tcp proxy, this method returns false.

Specified by:
isCWrapperConnected in interface BridgeToHardware

isHardwareReady

public boolean isHardwareReady()
Description copied from interface: BridgeToHardware
returns true if the hardware is booted, identified and initialized.

Specified by:
isHardwareReady in interface BridgeToHardware


Copyright © 2013 LSST. All Rights Reserved.