ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
abstractDevice.h
Go to the documentation of this file.
1 #ifndef ABSTRACT_DEVICE_H
2 #define ABSTRACT_DEVICE_H
3 
4 #include <QWidget>
6 #include <azmq/socket.hpp>
7 #include <azmq/message.hpp>
8 
9 Q_DECLARE_METATYPE(azmq::message_vector)
10 
11 class AbstractDevice: public QWidget {
12 
13 public:
14 
15  virtual void Select() = 0;
16  virtual void Deselect() = 0;
17  virtual bool IsSelected() = 0;
18  virtual void GetMessage(modif::Fcs* fcs, bool ignoreChecked = false) = 0;
19  virtual void SetMessage(const azmq::message_vector& msg) = 0;
20  virtual void UpdateData(QList<QVariant>& data_list) = 0;
21  virtual std::vector<std::string> GetDbAttributes(std::string server_id) = 0;
22  virtual void Stop() = 0;
23 
24 
25 };
26 
27 #endif // ABSTRACT_DEVICE_H
optional string msg
Definition: topics.proto:7
Definition: requests.pb.h:5544
Definition: abstractDevice.h:11