5 #include <QSharedPointer>
7 #include "Protocol/ONBPacket.h"
9 #include "tronostools_global.h"
11 class TRONOSTOOLSSHARED_EXPORT IOBaseClass
14 typedef QList<QSharedPointer<ONBPacket>> list_data;
15 typedef QHash<QString, list_data> io_list;
17 virtual ~IOBaseClass();
19 virtual void popPacketFromInput(QString in_input_name) = 0;
20 virtual ONBPacket* getDataPointer(QString in_input_name) = 0;
21 virtual bool getData(QList<QSharedPointer<ONBPacket>>& out_list) = 0;
23 virtual bool isEmptyInputs() = 0;
24 virtual void setInputName(QString in_names) = 0;
25 virtual void setData(QString in_input, QSharedPointer<ONBPacket> in_data) = 0;
28 #endif // TRONOSTOOLS_H