[DEV] update drain pipeline and add process output

This commit is contained in:
2015-02-08 15:11:02 +01:00
parent 8ee3cc7544
commit 8896c0b5de
5 changed files with 102 additions and 46 deletions

View File

@@ -65,13 +65,15 @@ namespace river {
return m_name;
}
private:
drain::IOFormatInterface m_interfaceFormat;
drain::Process m_process;
public:
const drain::IOFormatInterface& getInterfaceFormat() {
return m_interfaceFormat;
if (m_isInput == true) {
return m_process.getOutputConfig();
} else {
return m_process.getInputConfig();
}
}
private:
drain::IOFormatInterface m_hardwareFormat;
private:
bool m_isInput;
public: