#include <uwtap_clmsg.h>
◆ ClMsgTapPkt() [1/3]
| ClMsgTapPkt::ClMsgTapPkt |
( |
| ) |
|
Constructor for broadcast ClMsg
◆ ClMsgTapPkt() [2/3]
| ClMsgTapPkt::ClMsgTapPkt |
( |
Packet * |
packet, |
|
|
clmsg_tap_type |
type, |
|
|
double |
timestamp = NOW, |
|
|
double |
tx_duration = 0.0 |
|
) |
| |
Constructor for broadcast ClMsg
◆ ClMsgTapPkt() [3/3]
| ClMsgTapPkt::ClMsgTapPkt |
( |
int |
dest_id | ) |
|
Constructor for UNICAST ClMsg
- Parameters
-
| dest_id | id of the destiantion module |
◆ ~ClMsgTapPkt()
| virtual ClMsgTapPkt::~ClMsgTapPkt |
( |
| ) |
|
|
virtualdefault |
◆ getPacket()
| bool ClMsgTapPkt::getPacket |
( |
Packet * |
packet | ) |
|
Returns the pointer to the overheard packet
- Parameters
-
| packet | pointer reference to the packet to be returned |
- Returns
- true if the packet is present, false otherwise
References pkt.
◆ getTimestamp()
| double ClMsgTapPkt::getTimestamp |
( |
| ) |
const |
Returns the timestamp of the overheard packet
- Returns
- the timestamp of the overheard packet
References timestamp.
◆ getTxDuration()
| double ClMsgTapPkt::getTxDuration |
( |
| ) |
const |
Returns the timestamp of the overheard packet
- Returns
- the timestamp of the overheard packet
References tx_duration.
◆ setPacket()
| void ClMsgTapPkt::setPacket |
( |
Packet * |
packet | ) |
|
Set the packet to send via clmsg
- Parameters
-
| packet | pointer to the packet |
- Returns
- true if the packet is present, false otherwise
References pkt.
◆ CLMSG_TAP_VERBOSITY
| const uint ClMsgTapPkt::CLMSG_TAP_VERBOSITY = 3 |
|
static |
◆ clmsg_type
◆ pkt
◆ timestamp
| double ClMsgTapPkt::timestamp |
◆ tx_duration
| double ClMsgTapPkt::tx_duration |
The documentation for this class was generated from the following files: