M1M3 Support System
|
#include <EnableCommand.h>
Public Member Functions | |
EnableCommand (int32_t commandID) | |
void | execute () |
Executes the command. | |
void | ackInProgress (const char *description, double timeout) |
Acknowledges the command is in progress. | |
void | ackComplete () |
Acknowledges the command has completed successfully. | |
void | ackFailed (std::string reason) |
Acknowledges the command has failed. | |
![]() | |
Command (int32_t commandID) | |
int32_t | getCommandID () |
Gets the command ID. | |
virtual double | getDefaultTimeout () |
virtual bool | validate () |
Validates the command. | |
virtual void | ackInProgress () |
Additional Inherited Members | |
![]() | |
int32_t | _commandID |
This command is responsible for transitioning the state machine from the disabled state to the enabled state. This is an external command and can be issued via SAL.
|
virtual |
Acknowledges the command has completed successfully.
Reimplemented from LSST::M1M3::SS::Command.
|
virtual |
Acknowledges the command has failed.
[in] | reason | The reason why the command has failed. |
Reimplemented from LSST::M1M3::SS::Command.
|
virtual |
Acknowledges the command is in progress.
description | Textual description send with the command. |
timeout |
Reimplemented from LSST::M1M3::SS::Command.
|
virtual |
Executes the command.
Reimplemented from LSST::M1M3::SS::Command.