XORDE  v1.0
eXtensible Operational Robotic Development Environment
InputPacket.h
1 #ifndef INPUTPACKET_H
2 #define INPUTPACKET_H
3 
4 #include "IOClasses/IOBaseClass.h"
5 #include "tronostools_global.h"
6 
7 class TRONOSTOOLSSHARED_EXPORT InputPacket : public IOBaseClass
8 {
9 public:
10  InputPacket();
11 
12  virtual void popPacketFromInput(QString in_input_name);
13  virtual ONBPacket* getDataPointer(QString in_input_name);
14  virtual bool getData(QList<QSharedPointer<ONBPacket>>& out_list);
15 
16  virtual bool isEmptyInputs();
17  virtual void setInputName(QString in_names);
18  virtual void setData(QString in_input, QSharedPointer<ONBPacket> in_data);
19 protected:
20  QHash<QString, QSharedPointer<ONBPacket>> m_input;
21 };
22 
23 #endif // INPUTPACKET_H