#pragma once #include "interfaces/subscriber.hpp" #include class ICommand : public ISubscriber { public: ~ICommand() override = default; virtual void execute() noexcept = 0; void update(const std::nullptr_t & /*context*/) noexcept override { execute(); }; };