IOutput.h 388 B

1234567891011121314151617181920
  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 hasChanged() = 0;
  13. virtual void resetChange() = 0;
  14. virtual ~IOutput() = default;
  15. };
  16. }
  17. #endif //MDD_IOUTPUT_H