INET Framework for OMNeT++/OMNEST
inet::EtherPauseFrame Class Reference

Class generated from inet/linklayer/ethernet/EtherFrame.msg:144 by nedtool. More...

#include <EtherFrame_m.h>

Inheritance diagram for inet::EtherPauseFrame:
inet::EtherFrame

Public Member Functions

 EtherPauseFrame (const char *name=nullptr, short kind=0)
 
 EtherPauseFrame (const EtherPauseFrame &other)
 
virtual ~EtherPauseFrame ()
 
EtherPauseFrameoperator= (const EtherPauseFrame &other)
 
virtual EtherPauseFramedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getPauseTime () const
 
virtual void setPauseTime (int pauseTime)
 
- Public Member Functions inherited from inet::EtherFrame
 EtherFrame (const char *name=nullptr, short kind=0)
 
 EtherFrame (const EtherFrame &other)
 
virtual ~EtherFrame ()
 
EtherFrameoperator= (const EtherFrame &other)
 
virtual MACAddressgetDest ()
 
virtual const MACAddressgetDest () const
 
virtual void setDest (const MACAddress &dest)
 
virtual MACAddressgetSrc ()
 
virtual const MACAddressgetSrc () const
 
virtual void setSrc (const MACAddress &src)
 

Protected Member Functions

bool operator== (const EtherPauseFrame &)
 
- Protected Member Functions inherited from inet::EtherFrame
bool operator== (const EtherFrame &)
 

Protected Attributes

int pauseTime
 
- Protected Attributes inherited from inet::EtherFrame
MACAddress dest
 
MACAddress src
 

Private Member Functions

void copy (const EtherPauseFrame &other)
 

Detailed Description

Class generated from inet/linklayer/ethernet/EtherFrame.msg:144 by nedtool.

//
// Ethernet frame used by the PAUSE protocol
//
packet EtherPauseFrame extends EtherFrame
{
    int pauseTime; // in 512 bit-time units
}

Constructor & Destructor Documentation

inet::EtherPauseFrame::EtherPauseFrame ( const char *  name = nullptr,
short  kind = 0 
)
inet::EtherPauseFrame::EtherPauseFrame ( const EtherPauseFrame other)
virtual inet::EtherPauseFrame::~EtherPauseFrame ( )
virtual

Member Function Documentation

void inet::EtherPauseFrame::copy ( const EtherPauseFrame other)
private
virtual EtherPauseFrame* inet::EtherPauseFrame::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::EtherFrame.

464 {return new EtherPauseFrame(*this);}
EtherPauseFrame(const char *name=nullptr, short kind=0)
virtual int inet::EtherPauseFrame::getPauseTime ( ) const
virtual
EtherPauseFrame& inet::EtherPauseFrame::operator= ( const EtherPauseFrame other)
bool inet::EtherPauseFrame::operator== ( const EtherPauseFrame )
protected
virtual void inet::EtherPauseFrame::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::EtherFrame.

Referenced by inet::doParsimPacking().

virtual void inet::EtherPauseFrame::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::EtherFrame.

Referenced by inet::doParsimUnpacking().

virtual void inet::EtherPauseFrame::setPauseTime ( int  pauseTime)
virtual

Member Data Documentation

int inet::EtherPauseFrame::pauseTime
protected

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