ITS
denMessageTableSourceThread.cpp
Go to the documentation of this file.
2 
4 {
5  m_timer = timer;
6 }
7 
9 {
10  printf("End of T_O_Validity : %lld\n", m_timer);
11  bool toEmit = m_timer > -1;
12 
13  if(toEmit && m_T_O_Validity_timer.elapsed() >= m_timer)
14  {
15  printf("emit T_O_ValiditySignal\n");
16  emit T_O_ValiditySignal();
17  }
18  else if(toEmit)
19  m_t.singleShot(m_timer - m_T_O_Validity_timer.elapsed(), this, SLOT(endOfT_O_Validity()));
20 }
21 
23 {
24  printf("End of T_RepetitionDuration : %lld\n", m_timer);
25  bool toEmit = m_timer > -1;
26 
27  if(toEmit && m_T_RepetitionDuration_timer.elapsed() >= m_timer)
28  {
29  printf("emit T_RepetitionDurationSignal\n");
31  }
32  else if(toEmit)
33  m_t.singleShot(m_timer - m_T_RepetitionDuration_timer.elapsed(), this, SLOT(endOfT_RepetitionDuration()));
34 }
35 
37 {
38  printf("End of T_Repetition : %lld\n", m_timer);
39  bool toEmit = m_timer > -1;
40 
41  if(toEmit && m_T_Repetition_timer.elapsed() >= m_timer)
42  {
43  printf("emit T_RepetitionSignal\n");
44  emit T_RepetitionSignal();
45  }
46  else if(toEmit)
47  m_t.singleShot(m_timer - m_T_Repetition_timer.elapsed(), this, SLOT(endOfT_Repetition()));
48 }
49 
51 {
52  this->m_timer = other.timer();
56 
57  return *this;
58 }
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.
Thread of a denMessageTableSource.
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.