INET Framework for OMNeT++/OMNEST
inet::IMACFrame Class Referenceabstract

This purely virtual interface provides an abstraction for different link layer frames. More...

#include <IMACFrame.h>

Inheritance diagram for inet::IMACFrame:
inet::CsmaCaMacFrame inet::CsmaCaMacAckFrame inet::CsmaCaMacDataFrame

Public Member Functions

virtual ~IMACFrame ()
 
virtual const MACAddressgetTransmitterAddress () const =0
 
virtual void setTransmitterAddress (const MACAddress &address)=0
 
virtual const MACAddressgetReceiverAddress () const =0
 
virtual void setReceiverAddress (const MACAddress &address)=0
 

Detailed Description

This purely virtual interface provides an abstraction for different link layer frames.

Constructor & Destructor Documentation

virtual inet::IMACFrame::~IMACFrame ( )
inlinevirtual
31 {}

Member Function Documentation

virtual const MACAddress& inet::IMACFrame::getReceiverAddress ( ) const
pure virtual

Implemented in inet::CsmaCaMacFrame.

virtual const MACAddress& inet::IMACFrame::getTransmitterAddress ( ) const
pure virtual

Implemented in inet::CsmaCaMacFrame.

virtual void inet::IMACFrame::setReceiverAddress ( const MACAddress address)
pure virtual

Implemented in inet::CsmaCaMacFrame.

virtual void inet::IMACFrame::setTransmitterAddress ( const MACAddress address)
pure virtual

Implemented in inet::CsmaCaMacFrame.


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