public abstract class GeneralGUISubsystem
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.bus.DataStatusListener, org.lsst.ccs.bus.StatusListener
| Modifier and Type | Class and Description |
|---|---|
class |
GeneralGUISubsystem.CommandSwingWorker
To send command which takes time from a JButton.
|
| Modifier and Type | Field and Description |
|---|---|
long |
abortTimeout |
protected String |
destination |
protected static org.lsst.ccs.utilities.logging.Logger |
fcslog |
long |
initializationTimeout |
protected boolean |
initialized |
protected PrintWriter |
out |
JScrollPane |
pane |
protected TopPanel |
topPanel |
long |
updateStateWithSensorsTimeout |
actionMonitor, ancillaryGroup, closing, commandBuilder, commandBusSelector, commandGroup, commandMonitor, configurationProxy, currentSubsystem, fac, forceShutdown, initializing, initThread, innerState, inTestContext, LOCAL_EXECUTION_INFO, locks, log, logBusHandler, signalsMonitor, startInEngineeringMode, statusBroadcasterLock, statusBroadcasterThread, statusBusSelector, waitingForCommandTermination| Constructor and Description |
|---|
GeneralGUISubsystem(String name,
org.lsst.ccs.bus.Agent.AgentType type,
String destination) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortMyDestinationSubsystem() |
void |
completeInitialization() |
JComponent |
getGuiLayout() |
void |
initGui() |
Object |
newSendCommand(org.lsst.ccs.bus.ModuleInvokerCommand cmd,
String commandDestination,
long timeout) |
void |
onStatus(org.lsst.ccs.bus.BusMessage s) |
void |
resetGui() |
void |
sendAsynchronousCommand(org.lsst.ccs.bus.ModuleInvokerCommand cmd) |
void |
sendCommandSwingWorker(String commandName,
long timeout) |
void |
sendCommandSwingWorker(String commandName,
long timeout,
String moduleName) |
void |
setPrintWriter(PrintWriter out) |
void |
shutdownMyDestinationSubsystem() |
void |
stopMyDestinationSubsystem() |
void |
updateStateWithSensors() |
abort, abort, addLock, broadcastAlarm, broadcastAlarm, broadcastAlarmClear, broadcastStatus, broadcastStatus, checkAllHardwareStarted, checkAllHardwareStopped, checkHardware, clearAlarms, completeInitialisation, createState, doShutdown, doStart, executeCommandSingleThread, fillStatus, forceShutdown, getAgentPresenceManager, getAncillaryGroup, getCommandBuilder, getCommandBusSelector, getConfiguration, getConfigurationProxy, getCurrentActionThread, getCurrentSubsystemName, getDefaultSelector, getEthHardAddress, getInnerState, getLogger, getMessagingAccess, getName, getNumberCommandThreads, getSoftwareRevision, getStateForPublication, getStatus, getStatusBroadcastPeriod, getStatusBusSelector, getSystemDictionary, getTag, initialisationEndPhase, initLogBusHandler, interruptActionThread, interruptAllRunningCommands, interruptAllSignalThreads, interruptAncillaryThreads, interruptInitThread, isInEngineeringMode, isInTestContext, isListenToStatus, isMaster, isMultithreaded, isSlave, isStartedInEngineeringMode, lockUpdate, onAck, onCommand, onReply, ping, postStart, printRunningCommands, publishData, publishData, publishData, publishData, publishData, publishData, publishData, publishMetaData, publishReply, publishStateChange, publishStatus, publishStatus, publishStatus, publishStatus, publishStatus, publishStatus, publishStatusData, publishTrendingStatus, raiseAlarm, rawCommandExecution, registerAsBusMaster, removeLock, removeLogPanicState, searchForDictionary, searchForDictionary, sendRawStatus, setBusLogHandlerLevel, setCommandBusSelector, setConfigurationProxy, setListenToStatus, setLogFormat, setLogLevel, setMultithreaded, setName, setStackTraceDepth, setStatusBroadcastPeriod, setStatusBusSelector, shutdown, start, startStatusBroadcasting, stayAlive, stop, stopStatusBroadcasting, switchToEngineeringMode, switchToErrorState, switchToNormalMode, switchToShutdownState, tryReadyState, updateCurrentSubsystem, updateState, updateState, waitForCommandExecution, waitForReadyState, warningprotected static final org.lsst.ccs.utilities.logging.Logger fcslog
protected final String destination
protected PrintWriter out
protected TopPanel topPanel
protected boolean initialized
public JScrollPane pane
public long abortTimeout
public long updateStateWithSensorsTimeout
public long initializationTimeout
public void initGui()
public JComponent getGuiLayout()
public void resetGui()
public void shutdownMyDestinationSubsystem()
public void abortMyDestinationSubsystem()
public void stopMyDestinationSubsystem()
public void updateStateWithSensors()
public void completeInitialization()
public void sendCommandSwingWorker(String commandName, long timeout, String moduleName)
public void sendCommandSwingWorker(String commandName, long timeout)
public void setPrintWriter(PrintWriter out)
public void sendAsynchronousCommand(org.lsst.ccs.bus.ModuleInvokerCommand cmd)
public Object newSendCommand(org.lsst.ccs.bus.ModuleInvokerCommand cmd, String commandDestination, long timeout)
public void onStatus(org.lsst.ccs.bus.BusMessage s)
onStatus in interface org.lsst.ccs.bus.StatusListeneronStatus in class org.lsst.ccs.SubsystemCopyright © 2015 LSST. All rights reserved.