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