INET Framework for OMNeT++/OMNEST
EtherFrame Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherFrame:
EtherFrameWithLLC EtherFrameWithSNAP EthernetIIFrame EtherPauseFrame AnsaEtherFrame

List of all members.

Public Member Functions

 EtherFrame (const char *name=NULL, int kind=0)
 EtherFrame (const EtherFrame &other)
virtual ~EtherFrame ()
EtherFrameoperator= (const EtherFrame &other)
virtual EtherFramedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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 EtherFrame &)

Protected Attributes

MACAddress dest_var
MACAddress src_var

Private Member Functions

void copy (const EtherFrame &other)

Detailed Description

Class generated from linklayer/ethernet/EtherFrame.msg by opp_msgc.

 packet EtherFrame
 {
     MACAddress dest;
     MACAddress src;
 }
 

Definition at line 69 of file EtherFrame_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().

EtherFrame::EtherFrame ( const EtherFrame other)
virtual EtherFrame::~EtherFrame ( ) [virtual]

Member Function Documentation

void EtherFrame::copy ( const EtherFrame other) [private]
virtual EtherFrame* EtherFrame::dup ( ) const [inline, virtual]
virtual const MACAddress& EtherFrame::getDest ( ) const [inline, virtual]

Definition at line 93 of file EtherFrame_m.h.

Referenced by getDest().

{return const_cast<EtherFrame*>(this)->getDest();}
virtual const MACAddress& EtherFrame::getSrc ( ) const [inline, virtual]

Definition at line 96 of file EtherFrame_m.h.

Referenced by getSrc().

{return const_cast<EtherFrame*>(this)->getSrc();}
EtherFrame& EtherFrame::operator= ( const EtherFrame other)
bool EtherFrame::operator== ( const EtherFrame ) [protected]
virtual void EtherFrame::parsimPack ( cCommBuffer *  b) [virtual]
virtual void EtherFrame::parsimUnpack ( cCommBuffer *  b) [virtual]

Member Data Documentation

Definition at line 72 of file EtherFrame_m.h.

Definition at line 73 of file EtherFrame_m.h.


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