M1M3 Support System
Loading...
Searching...
No Matches
LSST::M1M3::SS::OfflineState Class Reference

Offline state. More...

#include <OfflineState.h>

Inheritance diagram for LSST::M1M3::SS::OfflineState:
Collaboration diagram for LSST::M1M3::SS::OfflineState:

Public Member Functions

States::Type update (UpdateCommand *command) override
 Called to retrieve telemetry data.
 
States::Type enterControl (EnterControlCommand *command) override
 Executes EnterControlCommand.
 
- Public Member Functions inherited from LSST::M1M3::SS::State
 State (std::string name)
 
virtual States::Type start (StartCommand *command)
 
virtual States::Type enable (EnableCommand *command)
 
virtual States::Type disable (DisableCommand *command)
 
virtual States::Type standby (StandbyCommand *command)
 
virtual States::Type exitControl (ExitControlCommand *command)
 
virtual States::Type setSlewFlag (SetSlewFlagCommand *command)
 
virtual States::Type clearSlewFlag (ClearSlewFlagCommand *command)
 
virtual States::Type turnAirOn (TurnAirOnCommand *command)
 
virtual States::Type turnAirOff (TurnAirOffCommand *command)
 
virtual States::Type boosterValveOpen (BoosterValveOpenCommand *command)
 
virtual States::Type boosterValveClose (BoosterValveCloseCommand *command)
 
virtual States::Type applyOffsetForces (ApplyOffsetForcesCommand *command)
 
virtual States::Type clearOffsetForces (ClearOffsetForcesCommand *command)
 
virtual States::Type raiseM1M3 (RaiseM1M3Command *command)
 
virtual States::Type lowerM1M3 (LowerM1M3Command *command)
 
virtual States::Type pauseM1M3RaisingLowering (PauseM1M3RaisingLoweringCommand *command)
 
virtual States::Type resumeM1M3RaisingLowering (ResumeM1M3RaisingLoweringCommand *command)
 
virtual States::Type applyActiveOpticForces (ApplyActiveOpticForcesCommand *command)
 
virtual States::Type clearActiveOpticForces (ClearActiveOpticForcesCommand *command)
 
virtual States::Type enterEngineering (EnterEngineeringCommand *command)
 
virtual States::Type exitEngineering (ExitEngineeringCommand *command)
 
virtual States::Type testHardpoint (TestHardpointCommand *command)
 
virtual States::Type killHardpointTest (KillHardpointTestCommand *command)
 
virtual States::Type moveHardpointActuators (MoveHardpointActuatorsCommand *command)
 
virtual States::Type enableHardpointChase (EnableHardpointChaseCommand *command)
 
virtual States::Type disableHardpointChase (DisableHardpointChaseCommand *command)
 
virtual States::Type abortRaiseM1M3 (AbortRaiseM1M3Command *command)
 
virtual States::Type translateM1M3 (TranslateM1M3Command *command)
 
virtual States::Type stopHardpointMotion (StopHardpointMotionCommand *command)
 
virtual States::Type storeTMAAzimuthSample (TMAAzimuthSampleCommand *command)
 
virtual States::Type storeTMAElevationSample (TMAElevationSampleCommand *command)
 
virtual States::Type positionM1M3 (PositionM1M3Command *command)
 
virtual States::Type turnLightsOn (TurnLightsOnCommand *command)
 
virtual States::Type turnLightsOff (TurnLightsOffCommand *command)
 
virtual States::Type turnPowerOn (TurnPowerOnCommand *command)
 
virtual States::Type turnPowerOff (TurnPowerOffCommand *command)
 
virtual States::Type enableHardpointCorrections (EnableHardpointCorrectionsCommand *command)
 
virtual States::Type disableHardpointCorrections (DisableHardpointCorrectionsCommand *command)
 
virtual States::Type runMirrorForceProfile (RunMirrorForceProfileCommand *command)
 
virtual States::Type abortProfile (AbortProfileCommand *command)
 
virtual States::Type applyOffsetForcesByMirrorForce (ApplyOffsetForcesByMirrorForceCommand *command)
 
virtual States::Type updatePID (UpdatePIDCommand *command)
 
virtual States::Type resetPID (ResetPIDCommand *command)
 
virtual States::Type forceActuatorBumpTest (ForceActuatorBumpTestCommand *command)
 
virtual States::Type killForceActuatorBumpTest (KillForceActuatorBumpTestCommand *command)
 
virtual States::Type disableForceActuator (DisableForceActuatorCommand *command)
 
virtual States::Type enableForceActuator (EnableForceActuatorCommand *command)
 
virtual States::Type enableAllForceActuators (EnableAllForceActuatorsCommand *command)
 
virtual States::Type enableDisableForceComponent (EnableDisableForceComponentCommand *command)
 
virtual States::Type setSlewControllerSettings (SetSlewControllerSettingsCommand *command)
 

Additional Inherited Members

- Protected Member Functions inherited from LSST::M1M3::SS::State
States::Type rejectCommandInvalidState (Command *command, std::string cmd_name)
 
- Protected Attributes inherited from LSST::M1M3::SS::State
std::string name
 

Detailed Description

Offline state.

Only acceptable command is the enterControl command to switch state to StandbyState. Turns on air and mirror cell lights on transtion to StandbyState.

Member Function Documentation

◆ enterControl()

States::Type LSST::M1M3::SS::OfflineState::enterControl ( EnterControlCommand * command)
overridevirtual

Executes EnterControlCommand.

Parameters
commandEnterControlCommand to execute
Returns
next state if M1M3's state has changed or States::NoStateTransition for no M1M3's state change

Reimplemented from LSST::M1M3::SS::State.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

States::Type LSST::M1M3::SS::OfflineState::update ( UpdateCommand * command)
overridevirtual

Called to retrieve telemetry data.

This method is called from OuterLoopClockThread. As every concrete child class must provide update routine, it is pure virtual.

Parameters
commandUpdateCommand, ignored.
Returns
new state, or States::NoStateTransition if state doesn't change

Implements LSST::M1M3::SS::State.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: