ITS
denMessageTableSourceThread.h
Go to the documentation of this file.
1 
7 #ifndef DENMESSAGETABLESOURCETHREAD_H
8 #define DENMESSAGETABLESOURCETHREAD_H
9 
10 #include <QObject>
11 #include <QElapsedTimer>
12 #include <QTimer>
13 
14 class denMessageTableSourceThread : public QObject
15 {
16  Q_OBJECT
17 
18 public:
24 
25  QElapsedTimer m_T_O_Validity_timer;/*< Validity timer.*/
27  QElapsedTimer m_T_Repetition_timer;
35 
40  qint64 timer() const{return m_timer;}
41 
46  void setTimer(qint64 t){m_timer = t;}
50  void stopTimer(){m_t.stop();}
51 
52  QTimer m_t;
54 signals:
58  void T_O_ValiditySignal();
66  void T_RepetitionSignal();
67 
68 private:
69  qint64 m_timer;
71 public slots:
75  void endOfT_O_Validity();
83  void endOfT_Repetition();
84 };
85 
86 #endif // DENMESSAGETABLESOURCETHREAD_H
void setTimer(qint64 t)
setTimer Timer setter.
denMessageTableSourceThread(qint64 timer)
denMessageTableSourceThread denMessageTableSourceThread constructor.
void T_RepetitionSignal()
T_RepetitionSignal Signal used when T_Repetition expires.
void endOfT_Repetition()
endOfT_Repetition Slot used when T_Repetition expires.
void endOfT_O_Validity()
endOfT_O_Validity Slot used when T_O_Validity expires.
denMessageTableSourceThread & operator=(const denMessageTableSourceThread &other)
operator= Affectation operator.
qint64 timer() const
timer Timer getter.
void endOfT_RepetitionDuration()
endOfT_RepetitionDuration Slot used when T_RepetitionDuration expires.
void T_O_ValiditySignal()
T_O_ValiditySignal Signal used when T_O_Validity expires.
void T_RepetitionDurationSignal()
T_RepetitionDurationSignal Signal used when T_RepetitionDuration expires.
void stopTimer()
stopTimer Stop the timer.