M1M3 Support System
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
LSST::M1M3::SS::Context Class Reference

The context used to execute commands against the current state. More...

#include <Context.h>

Public Member Functions

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

Static Public Member Functions

static Contextget ()
 Retrieve Context singleton.
 

Detailed Description

The context used to execute commands against the current state.

This singleton merges the model (has no concept of state) and the state (has no knowledge of how to do things) to provide state based functionality.

State objects, child of State, are responsible for verification the Command is allowed at given state.

Member Function Documentation

◆ enterControl()

void LSST::M1M3::SS::Context::enterControl ( EnterControlCommand * command)

Executes EnterControlCommand actions.

Parameters
commandpointer to command to execute
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

Context & LSST::M1M3::SS::Context::get ( )
static

Retrieve Context singleton.

Returns
Context singleton

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