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