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

Class generated from inet/linklayer/csmaca/CsmaCaMacFrame.msg:39 by nedtool. More...

#include <CsmaCaMacFrame_m.h>

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

Public Member Functions

 CsmaCaMacDataFrame (const char *name=nullptr, short kind=0)
 
 CsmaCaMacDataFrame (const CsmaCaMacDataFrame &other)
 
virtual ~CsmaCaMacDataFrame ()
 
CsmaCaMacDataFrameoperator= (const CsmaCaMacDataFrame &other)
 
virtual CsmaCaMacDataFramedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getPriority () const
 
virtual void setPriority (int priority)
 
- Public Member Functions inherited from inet::CsmaCaMacFrame
 CsmaCaMacFrame (const char *name=nullptr, short kind=0)
 
 CsmaCaMacFrame (const CsmaCaMacFrame &other)
 
virtual ~CsmaCaMacFrame ()
 
CsmaCaMacFrameoperator= (const CsmaCaMacFrame &other)
 
virtual MACAddressgetTransmitterAddress ()
 
virtual const MACAddressgetTransmitterAddress () const
 
virtual void setTransmitterAddress (const MACAddress &transmitterAddress)
 
virtual MACAddressgetReceiverAddress ()
 
virtual const MACAddressgetReceiverAddress () const
 
virtual void setReceiverAddress (const MACAddress &receiverAddress)
 
- Public Member Functions inherited from inet::IMACFrame
virtual ~IMACFrame ()
 

Protected Member Functions

bool operator== (const CsmaCaMacDataFrame &)
 
- Protected Member Functions inherited from inet::CsmaCaMacFrame
bool operator== (const CsmaCaMacFrame &)
 

Protected Attributes

int priority
 
- Protected Attributes inherited from inet::CsmaCaMacFrame
MACAddress transmitterAddress
 
MACAddress receiverAddress
 

Private Member Functions

void copy (const CsmaCaMacDataFrame &other)
 

Detailed Description

Class generated from inet/linklayer/csmaca/CsmaCaMacFrame.msg:39 by nedtool.

packet CsmaCaMacDataFrame extends CsmaCaMacFrame
{
    int priority;  // 802.1d UP (User Priority) 
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::CsmaCaMacFrame.

Referenced by inet::CsmaCaMac::sendDataFrame().

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

Reimplemented from inet::CsmaCaMacFrame.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::CsmaCaMacFrame.

Referenced by inet::doParsimUnpacking().

virtual void inet::CsmaCaMacDataFrame::setPriority ( int  priority)
virtual

Member Data Documentation

int inet::CsmaCaMacDataFrame::priority
protected

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