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

#include <StartCommand.h>

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

Public Member Functions

 StartCommand (int32_t commandID, MTM1M3_command_startC *data)
 
std::string getConfigurationOverride ()
 
virtual double getDefaultTimeout () override
 
bool validate () override
 Validates the command.
 
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 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 standby state to the disabled state. This is an external command and can be issued via SAL.

The command should be executed with settingsToApply, describing which settings should be applied.

Member Function Documentation

◆ ackComplete()

void StartCommand::ackComplete ( )
overridevirtual

Acknowledges the command has completed successfully.

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

Here is the call graph for this function:

◆ ackFailed()

void StartCommand::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 StartCommand::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:
Here is the caller graph for this function:

◆ execute()

void StartCommand::execute ( )
overridevirtual

Executes the command.

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

Here is the call graph for this function:

◆ getDefaultTimeout()

double StartCommand::getDefaultTimeout ( )
overridevirtual

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

◆ validate()

bool StartCommand::validate ( )
overridevirtual

Validates the command.

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


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