| Package | Description |
|---|---|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.bus.states |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StatusStateBundle.getFullState()
Get the full state of the Agent.
|
StateBundle |
StatusStateChangeNotification.getNewState()
Get the new state of the Agent.
|
StateBundle |
StatusStateChangeNotification.getOldState()
Get the old state of the Agent.
|
StateBundle |
StatusMessage.getState()
Get the published State object that contains the Agent's internal state
at the moment the StatusMessage was published.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
StatusStateBundle.encodeObject(StateBundle obj) |
protected Object |
StatusStateChangeNotification.encodeObject(StateBundle obj) |
void |
StatusMessage.setState(StateBundle state)
Set the StateBundle of this StatusMessage.
|
| Constructor and Description |
|---|
StatusEnum(T obj,
StateBundle state) |
StatusStateBundle(StateBundle fullState)
Create a StatusStateBundle object.
|
StatusStateChangeNotification(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle oldState)
Create a StatusStateChangeNotification object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnmodifiableStateBundle
A version of the StateBundle that cannot be modified.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,StateBundle> |
StateBundle.componentStates |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.clone() |
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
StateBundle |
StateBundle.getComponentStateBundle(String component)
Get the StateBundle for the given component.
|
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
boolean |
StateBundle.isComponentInState(String component,
StateBundle stateBundle)
Check if this component is in all the states of a given StateBundle.
|
boolean |
StateBundle.isInState(StateBundle stateBundle)
Check if this StateBundle is in all the states of a given StateBundle.
|
static boolean |
AgentState.isLegal(StateBundle bundle)
Returns
true if Agent internal states in the specified bundle are consistent. |
static boolean |
AgentState.isLegal(StateBundle before,
StateBundle after)
Returns
true if the transition between Agent internal states specified
by the two bundles is allowed. |
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
| Constructor and Description |
|---|
UnmodifiableStateBundle(StateBundle originalStateBundle)
Constructs an UnmodifiableStateBundle from the original StateBundle.
|
Copyright © 2023 LSST. All rights reserved.