|
ITS
|
#include <RepetitionPacketEntry.h>
Public Slots | |
| void | execute () |
| execute Slot used to execute timers and add entries. More... | |
| void | repeat () |
| repeat Slot used to repeat packet. More... | |
| void | kill () |
| kill Slot used to kill entry. More... | |
Signals | |
| void | isOver () |
| isOver Signal used when entry is over. More... | |
| void | sendPacket (gnDataRequest_t packet) |
| sendPacket Signal used to send packet. More... | |
Public Member Functions | |
| RepetitionPacketEntry () | |
| RepetitionPacketEntry Default constructor. More... | |
| RepetitionPacketEntry (gnDataRequest_t gnDR) | |
| RepetitionPacketEntry Initialization constructor. More... | |
| RepetitionPacketEntry (const RepetitionPacketEntry &other) | |
| RepetitionPacketEntry Copy constructor. More... | |
| bool | operator== (const RepetitionPacketEntry &other) |
| operator== RepetitionPacketEntry comparison operator. More... | |
| RepetitionPacketEntry & | operator= (const RepetitionPacketEntry &other) |
| operator= RepetitionPacketEntry affectation operator. More... | |
| QElapsedTimer * | elapsed () const |
| elapsed Time elapsed getter. More... | |
| QTimer * | timer () const |
| timer Entry timer getter. More... | |
| gnDataRequest_t | gnDR () const |
| gnDR Entry GN Data Request getter. More... | |
Private Attributes | |
| gnDataRequest_t | m_gnDR |
| QTimer * | m_timer |
| QElapsedTimer * | m_elapsed |
Definition at line 17 of file RepetitionPacketEntry.h.
| RepetitionPacketEntry::RepetitionPacketEntry | ( | ) |
RepetitionPacketEntry Default constructor.
Definition at line 3 of file RepetitionPacketEntry.cpp.
| RepetitionPacketEntry::RepetitionPacketEntry | ( | gnDataRequest_t | gnDR | ) |
RepetitionPacketEntry Initialization constructor.
| gnDR | gnDR info of the packet to store |
Definition at line 9 of file RepetitionPacketEntry.cpp.
References gnDR(), m_elapsed, m_gnDR, m_timer, gnDataRequest_s::maximumRepetitionTime, and gnDataRequest_s::repetitionInterval.
| RepetitionPacketEntry::RepetitionPacketEntry | ( | const RepetitionPacketEntry & | other | ) |
RepetitionPacketEntry Copy constructor.
| other | The RepetitionPacketEntry to copy. |
Definition at line 20 of file RepetitionPacketEntry.cpp.
|
inline |
elapsed Time elapsed getter.
Definition at line 135 of file RepetitionPacketEntry.h.
References m_elapsed.
|
slot |
execute Slot used to execute timers and add entries.
Definition at line 58 of file RepetitionPacketEntry.cpp.
References m_elapsed, m_gnDR, m_timer, repeat(), and gnDataRequest_s::repetitionInterval.
|
inline |
gnDR Entry GN Data Request getter.
Definition at line 145 of file RepetitionPacketEntry.h.
References m_gnDR.
Referenced by RepetitionPacketEntry().
|
signal |
isOver Signal used when entry is over.
Referenced by repeat().
|
slot |
kill Slot used to kill entry.
Definition at line 78 of file RepetitionPacketEntry.cpp.
References m_timer.
Referenced by repeat().
| RepetitionPacketEntry & RepetitionPacketEntry::operator= | ( | const RepetitionPacketEntry & | other | ) |
operator= RepetitionPacketEntry affectation operator.
| other | The RepetitionPacketEntry to affect. |
Definition at line 51 of file RepetitionPacketEntry.cpp.
References m_gnDR.
| bool RepetitionPacketEntry::operator== | ( | const RepetitionPacketEntry & | other | ) |
operator== RepetitionPacketEntry comparison operator.
| other | The RepetitionPacketEntry to compare. |
Definition at line 27 of file RepetitionPacketEntry.cpp.
References destinationAddress_s::choice, gnDataRequest_s::destinationAddress, destinationAddress_PR_MID, gnDataRequest_s::destinationPort, destinationAddress_s::gnAddr, m_gnDR, sniff_gnAddr_s::mid, gnDataRequest_s::packetTransportSubType, gnDataRequest_s::packetTransportType, gnDataRequest_s::payload, destinationAddress_s::present, and sniff_gnAddr_s::stationType_StationCountryCode.
|
slot |
repeat Slot used to repeat packet.
Definition at line 67 of file RepetitionPacketEntry.cpp.
References isOver(), kill(), m_elapsed, m_gnDR, m_timer, gnDataRequest_s::maximumRepetitionTime, and sendPacket().
Referenced by execute().
|
signal |
sendPacket Signal used to send packet.
| packet | Entry GN Data Request to send. |
Referenced by repeat().
|
inline |
timer Entry timer getter.
Definition at line 140 of file RepetitionPacketEntry.h.
References m_timer.
|
private |
Elapsed time of the entry.
Definition at line 175 of file RepetitionPacketEntry.h.
Referenced by elapsed(), execute(), repeat(), and RepetitionPacketEntry().
|
private |
GN Data Request of the entry.
Definition at line 173 of file RepetitionPacketEntry.h.
Referenced by execute(), gnDR(), operator=(), operator==(), repeat(), and RepetitionPacketEntry().
|
private |
Entry timer.
Definition at line 174 of file RepetitionPacketEntry.h.
Referenced by execute(), kill(), repeat(), RepetitionPacketEntry(), and timer().