Added requiresStoppedTargetState() member function to TargetController command classes.
The TargetController will use this to determine whether to stop the target before handling a given command.
This commit is contained in:
@@ -36,6 +36,10 @@ namespace Bloom::TargetController::Commands
|
||||
return Command::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] virtual bool requiresStoppedTargetState() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
static inline std::atomic<CommandIdType> lastCommandId = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user