Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Ice.h
1
2
3#ifndef CICE_H
4#define CICE_H
5
6#include <QObject>
7#include <QSharedPointer>
8#include <QTranslator>
9
10#include "IceSignal.h"
11#include "ParameterICE.h"
12#include "FrmParameterICE.h"
13
25class CHANNEL_EXPORT CICE : public QObject
26{
27 Q_OBJECT
28public:
29 explicit CICE(QObject *parent = nullptr);
30 virtual ~CICE();
31
36 static CICE* Instance();
37
38 QSharedPointer<CIceSignal> GetSignal();
39 CParameterICE* GetParameter();
40 QWidget* GetParameterWidget(QWidget* parent = nullptr);
41
42public Q_SLOTS:
43 void slotStart();
44 void slotStop();
45 void slotIceChanged();
46 void slotConnected();
47 void slotDisconnected();
48 void slotError(int nError, const QString& szError);
49
50private:
51 QSharedPointer<CIceSignal> m_Signal;
52 CParameterICE m_Parameter;
53 QTranslator m_Translator;
54 QLoggingCategory m_Log;
55};
56
57#endif // CICE_H
Provides a singleton object for management and access to ICE.
Definition Ice.h:26
ICE parameter helper class.