ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setupCmdWorker.h
Go to the documentation of this file.
1 
9 #ifndef SETUP_CMD_OBJECT_H
10 #define SETUP_CMD_OBJECT_H
11 
12 #include <QObject>
13 #include <QString>
14 
15 #include <Fcfif.hpp>
16 #include <rad/msgRequestor.hpp>
17 
18 class SetupCmdWorker : public QObject
19 {
20 
21  Q_OBJECT
22 
23 public:
24  explicit SetupCmdWorker(const elt::mal::Uri& mal_uri,
25  const unsigned int& cmd_timeout,
26  const elt::mal::Mal::Properties& mal_properties,
27  const std::vector<std::shared_ptr<::fcfif::FcsUnion>>& setup_buffer);
28 
29  // overriding the QThread's run() method
30 
31 public slots:
32  void process();
33  void LogReplyIn(const QString& type,
34  const QString& cmd,
35  const QString& text);
36 
37 signals:
38  void finished();
39  void error(QString err);
40  void LogReplyOut(const QString& type,
41  const QString& cmd,
42  const QString& text);
43 
44 private:
45  unsigned int m_cmd_timeout;
46 
47  elt::mal::Uri m_mal_uri;
48  elt::mal::Mal::Properties m_mal_properties;
49  std::vector<std::shared_ptr<::fcfif::FcsUnion>> m_setup_buffer;
50 };
51 
52 
53 
54 
55 #endif // SETUP_CMD_OBJECT_H
56 
57 
58 
void LogReplyIn(const QString &type, const QString &cmd, const QString &text)
Definition: setupCmdWorker.cpp:61
void process()
Definition: setupCmdWorker.cpp:36
void LogReplyOut(const QString &type, const QString &cmd, const QString &text)
SetupCmdWorker(const elt::mal::Uri &mal_uri, const unsigned int &cmd_timeout, const elt::mal::Mal::Properties &mal_properties, const std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer)
Definition: setupCmdWorker.cpp:25
Definition: setupCmdWorker.h:18
void error(QString err)