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

Class generated from inet/linklayer/csma/CSMAFrame.msg:36 by nedtool. More...

#include <CSMAFrame_m.h>

Inheritance diagram for inet::CSMAFrame:
inet::MACFrameBase

Public Member Functions

 CSMAFrame (const char *name=nullptr, short kind=0)
 
 CSMAFrame (const CSMAFrame &other)
 
virtual ~CSMAFrame ()
 
CSMAFrameoperator= (const CSMAFrame &other)
 
virtual CSMAFramedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual long getSequenceId () const
 
virtual void setSequenceId (long sequenceId)
 
- Public Member Functions inherited from inet::MACFrameBase
 MACFrameBase (const char *name=nullptr, short kind=0)
 
 MACFrameBase (const MACFrameBase &other)
 
virtual ~MACFrameBase ()
 
MACFrameBaseoperator= (const MACFrameBase &other)
 
virtual MACAddressgetSrcAddr ()
 
virtual const MACAddressgetSrcAddr () const
 
virtual void setSrcAddr (const MACAddress &srcAddr)
 
virtual MACAddressgetDestAddr ()
 
virtual const MACAddressgetDestAddr () const
 
virtual void setDestAddr (const MACAddress &destAddr)
 

Protected Member Functions

bool operator== (const CSMAFrame &)
 
- Protected Member Functions inherited from inet::MACFrameBase
bool operator== (const MACFrameBase &)
 

Protected Attributes

long sequenceId
 
- Protected Attributes inherited from inet::MACFrameBase
MACAddress srcAddr
 
MACAddress destAddr
 

Private Member Functions

void copy (const CSMAFrame &other)
 

Detailed Description

Class generated from inet/linklayer/csma/CSMAFrame.msg:36 by nedtool.

//
// A CSMA mac packet format definition
//
// @author Daniel Willkomm
//
packet CSMAFrame extends MACFrameBase
{
    long sequenceId; // Sequence Number to detect duplicate messages
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::MACFrameBase.

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

Reimplemented from inet::MACFrameBase.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::MACFrameBase.

Referenced by inet::doParsimUnpacking().

virtual void inet::CSMAFrame::setSequenceId ( long  sequenceId)
virtual

Member Data Documentation

long inet::CSMAFrame::sequenceId
protected

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