IOutput.h 428 B

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