DESERT 4.0.0
UwTap Class Reference

#include <uwtap.h>

Inheritance diagram for UwTap:
Inheritance graph
Collaboration diagram for UwTap:
Collaboration graph

Public Member Functions

 UwTap ()=default
 
virtual ~UwTap ()=default
 
virtual int recvSyncClMsg (ClMessage *m) override
 
virtual void recv (Packet *p) override
 
virtual double Tap2PhyTxDuration (Packet *p)
 

Constructor & Destructor Documentation

◆ UwTap()

UwTap::UwTap ( )
default

Constructor of the overhearing class

◆ ~UwTap()

virtual UwTap::~UwTap ( )
virtualdefault

Virtual destructor of the overhearing class

Member Function Documentation

◆ recv()

void UwTap::recv ( Packet *  p)
overridevirtual

Performs the reception of packets from upper and lower layers.

Parameters
p*Pointer to the packet will be received.

References END_RX, START_TX, and Tap2PhyTxDuration().

Here is the call graph for this function:

◆ recvSyncClMsg()

int UwTap::recvSyncClMsg ( ClMessage *  m)
overridevirtual

Retrieve packets from other modules

Parameters
mClMessage

◆ Tap2PhyTxDuration()

double UwTap::Tap2PhyTxDuration ( Packet *  p)
virtual

Asks the PHY the time needed to transmit a packet

Parameters
p*Pointer to the packet to be transmitted.

Referenced by recv().


The documentation for this class was generated from the following files: