ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
abstractDevice.h
Go to the documentation of this file.
1 
9 #ifndef ABSTRACT_DEVICE_H
10 #define ABSTRACT_DEVICE_H
11 
12 #include <QWidget>
13 
14 #include <mal/Cii.hpp>
15 #include <mal/Mal.hpp>
16 #include <mal/utility/LoadMal.hpp>
17 
18 #include <Fcfif.hpp>
19 
20 
21 class AbstractDevice: public QWidget {
22 
23 public:
24 
25  virtual void Select() = 0;
26  virtual void Deselect() = 0;
27  virtual bool IsSelected() = 0;
28  virtual void StartSubscription() = 0;
29  virtual void GetMessage(std::shared_ptr<::elt::mal::Mal> mal,
30  std::vector<std::shared_ptr<::fcfif::FcsUnion>>& setup_buffer,
31  bool ignoreChecked = false) = 0;
32  virtual void GetSubordinatedDevices(QStringList& dev_list) = 0;
33 
34  virtual void UpdateData(QList<QVariant>& data_list) = 0;
35  virtual std::vector<std::string> GetDbAttributes(std::string server_id) = 0;
36  virtual void Stop() = 0;
37 
38 
39 };
40 
41 #endif // ABSTRACT_DEVICE_H
virtual void UpdateData(QList< QVariant > &data_list)=0
virtual void GetMessage(std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer, bool ignoreChecked=false)=0
Definition: abstractDevice.h:21
virtual void GetSubordinatedDevices(QStringList &dev_list)=0
virtual bool IsSelected()=0
virtual void Select()=0
virtual void StartSubscription()=0
virtual void Deselect()=0
virtual void Stop()=0
virtual std::vector< std::string > GetDbAttributes(std::string server_id)=0