RNBO: common/RNBO_BaseInterface.h Source File 1 #ifndef _RNBO_BASEINTERFACE_H_ 2 #define _RNBO_BASEINTERFACE_H_ 3 4 #include "RNBO_Types.h" 5 #include "RNBO_ParameterInterface.h" 6 7 namespace RNBO { 8 12 class BaseInterface : public ParameterInterface { 13 14 public: 15 19 virtual void initialize() {} 20 24 virtual Index getNumMidiInputPorts() const = 0; 25 29 virtual Index getNumMidiOutputPorts() const = 0; 30 34 virtual Index getNumInputChannels() const = 0; 35 39 virtual Index getNumOutputChannels() const = 0; 40 41 protected: 42 43 ~BaseInterface() { } 44 45 }; 46 47 } // namespace RNBO 48 49 #endif // #ifndef _RNBO_BASEINTERFACE_H_