DESERT 3.5.1
Loading...
Searching...
No Matches
UwTap Class Reference

#include <uwtap.h>

Inheritance diagram for UwTap:
Collaboration diagram for UwTap:

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)
 

Detailed Description

Definition at line 43 of file uwtap.h.

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.

Definition at line 81 of file uwtap.cpp.

◆ recvSyncClMsg()

int UwTap::recvSyncClMsg ( ClMessage *  m)
overridevirtual

Retrieve packets from other modules.

Parameters
mClMessage

Definition at line 66 of file uwtap.cpp.

◆ 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.

Definition at line 100 of file uwtap.cpp.


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