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

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

#include <CsmaCaMacFrame_m.h>

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

Public Member Functions

 CsmaCaMacFrame (const char *name=nullptr, short kind=0)
 
 CsmaCaMacFrame (const CsmaCaMacFrame &other)
 
virtual ~CsmaCaMacFrame ()
 
CsmaCaMacFrameoperator= (const CsmaCaMacFrame &other)
 
virtual CsmaCaMacFramedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
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 CsmaCaMacFrame &)
 

Protected Attributes

MACAddress transmitterAddress
 
MACAddress receiverAddress
 

Private Member Functions

void copy (const CsmaCaMacFrame &other)
 

Detailed Description

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

packet CsmaCaMacFrame
{
    @implements(IMACFrame);
    MACAddress transmitterAddress;
    MACAddress receiverAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented in inet::CsmaCaMacDataFrame, and inet::CsmaCaMacAckFrame.

67 {return new CsmaCaMacFrame(*this);}
CsmaCaMacFrame(const char *name=nullptr, short kind=0)
virtual const MACAddress& inet::CsmaCaMacFrame::getReceiverAddress ( ) const
inlinevirtual

Implements inet::IMACFrame.

Referenced by getReceiverAddress().

76 {return const_cast<CsmaCaMacFrame*>(this)->getReceiverAddress();}
CsmaCaMacFrame(const char *name=nullptr, short kind=0)
virtual MACAddress & getReceiverAddress()
virtual MACAddress& inet::CsmaCaMacFrame::getTransmitterAddress ( )
virtual
virtual const MACAddress& inet::CsmaCaMacFrame::getTransmitterAddress ( ) const
inlinevirtual

Implements inet::IMACFrame.

Referenced by getTransmitterAddress().

73 {return const_cast<CsmaCaMacFrame*>(this)->getTransmitterAddress();}
CsmaCaMacFrame(const char *name=nullptr, short kind=0)
virtual MACAddress & getTransmitterAddress()
CsmaCaMacFrame& inet::CsmaCaMacFrame::operator= ( const CsmaCaMacFrame other)
bool inet::CsmaCaMacFrame::operator== ( const CsmaCaMacFrame )
protected
virtual void inet::CsmaCaMacFrame::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::CsmaCaMacFrame::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::CsmaCaMacFrame::setReceiverAddress ( const MACAddress receiverAddress)
virtual

Implements inet::IMACFrame.

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

virtual void inet::CsmaCaMacFrame::setTransmitterAddress ( const MACAddress transmitterAddress)
virtual

Implements inet::IMACFrame.

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

Member Data Documentation

MACAddress inet::CsmaCaMacFrame::receiverAddress
protected
MACAddress inet::CsmaCaMacFrame::transmitterAddress
protected

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