EtherFrame Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherFrame:

EtherFrameWithLLC EtherFrameWithSNAP EthernetIIFrame EtherPauseFrame List of all members.

Detailed Description

Class generated from EtherFrame.msg by opp_msgc.
 message EtherFrame
 {
     fields:
         MACAddress dest;
         MACAddress src;

 };
 


Public Member Functions

 EtherFrame (const char *name=NULL, int kind=0)
 EtherFrame (const EtherFrame &other)
virtual ~EtherFrame ()
EtherFrameoperator= (const EtherFrame &other)
virtual cPolymorphic * dup () const
virtual void netPack (cCommBuffer *b)
virtual void netUnpack (cCommBuffer *b)
virtual MACAddressgetDest ()
virtual const MACAddressgetDest () const
virtual void setDest (const MACAddress &dest_var)
virtual MACAddressgetSrc ()
virtual const MACAddressgetSrc () const
virtual void setSrc (const MACAddress &src_var)

Protected Member Functions

bool operator== (const EtherFrame &)

Protected Attributes

MACAddress dest_var
MACAddress src_var


Constructor & Destructor Documentation

EtherFrame::EtherFrame ( const char *  name = NULL,
int  kind = 0 
)

EtherFrame::EtherFrame ( const EtherFrame other  ) 

virtual EtherFrame::~EtherFrame (  )  [virtual]


Member Function Documentation

virtual cPolymorphic* EtherFrame::dup (  )  const [inline, virtual]

Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.

00055 {return new EtherFrame(*this);}

virtual const MACAddress& EtherFrame::getDest (  )  const [inline, virtual]

00061 {return const_cast<EtherFrame*>(this)->getDest();}

virtual MACAddress& EtherFrame::getDest (  )  [virtual]

virtual const MACAddress& EtherFrame::getSrc (  )  const [inline, virtual]

00064 {return const_cast<EtherFrame*>(this)->getSrc();}

virtual MACAddress& EtherFrame::getSrc (  )  [virtual]

virtual void EtherFrame::netPack ( cCommBuffer *  b  )  [virtual]

Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.

virtual void EtherFrame::netUnpack ( cCommBuffer *  b  )  [virtual]

Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.

EtherFrame& EtherFrame::operator= ( const EtherFrame other  ) 

bool EtherFrame::operator== ( const EtherFrame  )  [protected]

virtual void EtherFrame::setDest ( const MACAddress dest_var  )  [virtual]

virtual void EtherFrame::setSrc ( const MACAddress src_var  )  [virtual]


Member Data Documentation

MACAddress EtherFrame::dest_var [protected]

MACAddress EtherFrame::src_var [protected]


The documentation for this class was generated from the following file:
Generated on Wed Apr 4 13:20:19 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7