#ifndef MDD_PROCESSORBASE_H #define MDD_PROCESSORBASE_H #include "Input.h" #include "IProcessor.h" #include "HandlerModule.h" namespace mdd { class ProcessorBase : IProcessor{ std::vector _inputs; std::vector _outputs; std::vector> _modules; public: int addModule(std::shared_ptr module) override ; int addInput(int moduleHandler, int inputHandler); json& setInputDefaultValue(int handle) override; const json& getInputValue(int handle) override; bool connectInput(int handle, std::shared_ptr output) override; std::vector getInputs() override; std::vector getOutputs() override; std::shared_ptr getOutput(int handle) override; int addOutput(int moduleHandler, int outputHandler); }; } #endif