IInput.h 408 B

12345678910111213141516
  1. #ifndef MDD_IINPUT_H
  2. #define MDD_IINPUT_H
  3. #include "IUnique.h"
  4. #include "IOutput.h"
  5. namespace mdd{
  6. class IInput : public IUnique{
  7. public:
  8. virtual const json& getValue() = 0;
  9. virtual json& setDefaultValue() = 0;
  10. virtual bool verify(const json & data) = 0;
  11. virtual bool connect(std::shared_ptr<IOutput> output) = 0;
  12. virtual ~IInput() = default;
  13. };
  14. }
  15. #endif