IOutput.h 392 B

123456789101112131415161718192021222324
  1. #ifndef MDD_IOUTPUT_H
  2. #define MDD_IOUTPUT_H
  3. #include "json.hpp"
  4. #include <memory>
  5. namespace mdd
  6. {
  7. class IModule;
  8. class IOutput {
  9. public:
  10. virtual const json& getValue() = 0;
  11. virtual std::string getType() = 0;
  12. virtual bool hasChanges() = 0;
  13. virtual void resetChange() = 0;
  14. virtual ~IOutput() = default;
  15. };
  16. }
  17. #endif //MDD_IOUTPUT_H