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