IOutput.h 550 B

123456789101112131415161718192021222324
  1. #ifndef MDD_IOUTPUT_H
  2. #define MDD_IOUTPUT_H
  3. #include "json.hpp"
  4. #include <memory>
  5. #include "IUnique.h"
  6. #include "IState.h"
  7. //#include "IInput.h"
  8. #include "IConnector.h"
  9. namespace mdd
  10. {
  11. class IInput;
  12. class IModule;
  13. class IOutput : public IUnique, public IState, public IConnector<IInput>{
  14. public:
  15. virtual const json& getValue() = 0;
  16. virtual json& getValueInternal() = 0;
  17. virtual std::vector<std::shared_ptr<IInput>> getConnections() = 0;
  18. virtual ~IOutput() = default;
  19. };
  20. }
  21. #endif //MDD_IOUTPUT_H