24#ifndef TURNPOWEROFFCOMMAND_H_
25#define TURNPOWEROFFCOMMAND_H_
28#include <SAL_MTM1M3C.h>
29#include <cRIO/DataTypes.h>
35class TurnPowerOffCommand :
public Command {
37 TurnPowerOffCommand(int32_t commandID, MTM1M3_command_turnPowerOffC *data);
39 MTM1M3_command_turnPowerOffC *getData() {
return &_data; }
43 void ackInProgress(
const char *description,
double timeout)
override;
45 void ackFailed(std::string reason)
override;
48 MTM1M3_command_turnPowerOffC _data;
void ackComplete() override
Acknowledges the command has completed successfully.
Definition TurnPowerOffCommand.cpp:63
bool validate() override
Validates the command.
Definition TurnPowerOffCommand.cpp:45
void ackInProgress(const char *description, double timeout) override
Acknowledges the command is in progress.
Definition TurnPowerOffCommand.cpp:59
void ackFailed(std::string reason) override
Acknowledges the command has failed.
Definition TurnPowerOffCommand.cpp:67
void execute() override
Executes the command.
Definition TurnPowerOffCommand.cpp:57