IModule.h 425 B

1234567891011121314151617
  1. #ifndef MDD_IMODULE_H
  2. #define MDD_IMODULE_H
  3. #include "IOutput.h"
  4. #include <string>
  5. #include <vector>
  6. #include <memory>
  7. class IModule{
  8. public:
  9. virtual bool connectInput(std::string input_name, std::shared_ptr<IOutput> output) = 0;
  10. virtual std::vector<std::string> getInputs() = 0;
  11. virtual void setInput(std::string name, std::shared_ptr<IOutput> output) = 0;
  12. virtual ~IModule(){};
  13. };
  14. #endif //MDD_IMODULE_H