ITS
HistoryPacketEntry.cpp
Go to the documentation of this file.
1
#include "
HistoryPacketEntry.h
"
2
3
void
HistoryPacketEntry::execute
()
4
{
5
QTimer::singleShot(
m_bh
.
lifeTime
().
lifeTime
(),
this
, SLOT(
timeouted
()));
6
}
7
8
void
HistoryPacketEntry::timeouted
()
9
{
10
emit
killMe
();
11
QThread::msleep(100);
12
this->deleteLater();
13
}
HistoryPacketEntry.h
Entry of the HistoryPacketBuffer.
HistoryPacketEntry::execute
void execute()
execute Slot used to execute timer.
Definition:
HistoryPacketEntry.cpp:3
PacketBuffersEntry::m_bh
BasicHeader m_bh
Definition:
PacketBuffersEntry.h:191
LifeTime::lifeTime
quint32 lifeTime() const
lifeTime Life time value computation.
Definition:
LifeTime.h:120
BasicHeader::lifeTime
LifeTime lifeTime() const
lifeTime Life time field getter.
Definition:
BasicHeader.h:105
HistoryPacketEntry::killMe
void killMe()
isAlive
HistoryPacketEntry::timeouted
void timeouted()
timeouted Slot used when timer expires.
Definition:
HistoryPacketEntry.cpp:8
network
packetBuffers
src
HistoryPacketEntry.cpp
Generated by
1.8.14