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

#include <DisableCommand.h>

Inheritance diagram for LSST::M1M3::SS::DisableCommand:
Inheritance graph
[legend]
Collaboration diagram for LSST::M1M3::SS::DisableCommand:
Collaboration graph
[legend]

Public Member Functions

 DisableCommand (int32_t commandID)
 
void execute () override
 Executes the command.
 
void ackInProgress (const char *description, double timeout) override
 Acknowledges the command is in progress.
 
void ackComplete () override
 Acknowledges the command has completed successfully.
 
void ackFailed (std::string reason) override
 Acknowledges the command has failed.
 
- Public Member Functions inherited from LSST::M1M3::SS::Command
 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

- Protected Attributes inherited from LSST::M1M3::SS::Command
int32_t _commandID
 

Detailed Description

This command is responsible for transitioning the state machine from the enabled state to the disabled state. This is an external command and can be issued via SAL.

Member Function Documentation

◆ ackComplete()

void DisableCommand::ackComplete ( )
overridevirtual

Acknowledges the command has completed successfully.

Reimplemented from LSST::M1M3::SS::Command.

Here is the call graph for this function:

◆ ackFailed()

void DisableCommand::ackFailed ( std::string reason)
overridevirtual

Acknowledges the command has failed.

Parameters
[in]reasonThe reason why the command has failed.

Reimplemented from LSST::M1M3::SS::Command.

Here is the call graph for this function:

◆ ackInProgress()

void DisableCommand::ackInProgress ( const char * description,
double timeout )
overridevirtual

Acknowledges the command is in progress.

Parameters
descriptionTextual description send with the command.
timeout

Reimplemented from LSST::M1M3::SS::Command.

Here is the call graph for this function:

◆ execute()

void DisableCommand::execute ( )
overridevirtual

Executes the command.

Reimplemented from LSST::M1M3::SS::Command.

Here is the call graph for this function:

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