Support for TargetController commands that do not require the TargetController to be in an active state

This commit is contained in:
Nav
2022-08-14 17:39:35 +01:00
parent aa0694196a
commit 0665ef2927
2 changed files with 94 additions and 102 deletions

View File

@@ -36,6 +36,10 @@ namespace Bloom::TargetController::Commands
return Command::type;
}
[[nodiscard]] virtual bool requiresActiveState() const {
return true;
}
[[nodiscard]] virtual bool requiresStoppedTargetState() const {
return false;
}