Package org.lsst.ccs
package org.lsst.ccs
This package deals with core classes for subsystems.
The Subsystem class is the parent class for subsystems that operate on the buses:
NodeModularSubsystem:
this class is used for Modular ("worker") subsystems
BusMaster:
for "active" subsystems that invoke commands to be executed by other subsystems.
-
the "buses" sub-project (in package org.lsst.ccs.bus (defines data to be used for exchange between subsystems)
in the "command" sub-project (the structure of the data exchanged when dealing with commands)
in "messaging-layer" definition (how to exchange data)
in "utilities"
org.lsst.ccs.Subsystem.State. This class combines different enums to define the state of the subsystem
-
The
Phase : describe the current phase of subsystem life (such as initialization, operational, closing,..)
The Mode : expresses the context in which and action may take place (such as normal or engineering)
The CommandState : (such as ready to accept any command or off)
the AlertState : (such as warning, alarm or none).
CurrentCommandContext object that can be queried by codes running in the context of this subsystem and want to be aware of the context in which they are invoked.
The execution of command should be aware of instances
of InvocationListener that may veto the execution of a command.
Other classes deal with standard Exceptions.- Author:
- bamade
-
ClassDescriptionMinimal component able to communicate on the buses.While trying to return the subsystem to normal mode it appears that alarms have not been cleared.A collection of static utilities linked to boot operations.A utility class to evaluate the checksum of an object.A class to make it easier to execute commands while correctly handling ACKS, NACKS, and exceptions.Exception thrown if the target of the action method throws an exception.An interface similar to Runnable but which allows exceptions to be generated and handled.Utility class to provide access to the Configuration API for a given component.A Configuration listener interface.The type of configuration operation that lead to the ConfigurationListener notification.Provides the Configuration API to the subsystem it stands for.Deprecated.This exception is only used by doorman and motorplatform subsystems.This objects is responsible for keeping track of fields annotated with
Persistand to write them into a local file at subsystem shutdown or at regular time intervals.Thread-safe modifiableRaisedAlertSummary.An application to scan groovy files to see if they work properly.Extension ofHasLifecycle.While trying to return to normal (ready) mode it appears that some SIGNAL (signal) command is still running.An internal listener to state changes.The base class for a CCS subsystem.Base class for reporting subsystem state anomalies.