15 printf(
"RPB add toLOCK\n");
17 printf(
"RPB add locked\n");
19 QObject::connect(rpe, SIGNAL(isOver()),
this, SLOT(
erase()));
21 QObject::connect(
this, SIGNAL(
killAll()), rpe, SLOT(kill()));
23 printf(
"RPB add toUNLOCK\n");
25 printf(
"RPB add UNLOCKED\n");
27 QThread* th =
new QThread;
28 rpe->moveToThread(th);
29 QObject::connect(th, SIGNAL(started()), rpe, SLOT(execute()));
36 printf(
"RPB clear toLOCK\n");
38 printf(
"RPB clear locked\n");
40 printf(
"RPB clear toUNLOCK\n");
42 printf(
"RPB clear UNLOCKED\n");
48 printf(
"RPB erase toLOCK\n");
50 printf(
"RPB erase locked\n");
52 if(!(*i)->timer()->isActive())
54 printf(
"RPB erase toUNLOCK\n");
56 printf(
"RPB erase UNLOCKED\n");
gnDataRequest_t structure is the GN data request definition.
quint16 * repetitionInterval
void addPacket(gnDataRequest_t gnDR)
addPacket Add packet to the buffer.
quint16 * maximumRepetitionTime
void clear()
clear Clear the buffer.
QVector< RepetitionPacketEntry * > m_repetitionPacketBuffer
RepetitionPacketBuffer()
RepetitionPacketBuffer Default constructor.
void killAll()
killAll Signal used to kill all the entries.
void erase()
erase Slot used to erase entry.
static QVector< RepetitionPacketEntry > m_repetitionPacketBuffer
Buffer used to repeat packet.
void sendPacketToGn(gnDataRequest_t packet)
sendPacketToGn Signal used to send packet.
void sendPacketIndication(gnDataRequest_t packet)
sendPacketIndication Slot used to notify of sending packet.