INET Framework for OMNeT++/OMNEST
AnsaEtherFrame Class Reference

#include <AnsaEtherFrame_m.h>

Inheritance diagram for AnsaEtherFrame:
EthernetIIFrame EtherFrame

List of all members.

Public Member Functions

 AnsaEtherFrame (const char *name=NULL, int kind=0)
 AnsaEtherFrame (const AnsaEtherFrame &other)
virtual ~AnsaEtherFrame ()
AnsaEtherFrameoperator= (const AnsaEtherFrame &other)
virtual AnsaEtherFramedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getVlan () const
virtual void setVlan (int vlan)
virtual const char * getDisplayString () const
virtual void setDisplayString (const char *displayString)

Protected Member Functions

bool operator== (const AnsaEtherFrame &)

Protected Attributes

int vlan_var
opp_string displayString_var

Private Member Functions

void copy (const AnsaEtherFrame &other)

Detailed Description

Class generated from ansa/switch/AnsaEtherFrame.msg by opp_msgc.

 packet AnsaEtherFrame extends EthernetIIFrame
 {
     int vlan;
     string displayString = "b=,,,kind,kind,0";
 }
 

Definition at line 36 of file AnsaEtherFrame_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().

virtual AnsaEtherFrame::~AnsaEtherFrame ( ) [virtual]

Member Function Documentation

void AnsaEtherFrame::copy ( const AnsaEtherFrame other) [private]
virtual AnsaEtherFrame* AnsaEtherFrame::dup ( ) const [inline, virtual]

Reimplemented from EthernetIIFrame.

Definition at line 54 of file AnsaEtherFrame_m.h.

{return new AnsaEtherFrame(*this);}
virtual const char* AnsaEtherFrame::getDisplayString ( ) const [virtual]
virtual int AnsaEtherFrame::getVlan ( ) const [virtual]

Referenced by ANSASwitchCore::ingress().

AnsaEtherFrame& AnsaEtherFrame::operator= ( const AnsaEtherFrame other)
bool AnsaEtherFrame::operator== ( const AnsaEtherFrame ) [protected]
virtual void AnsaEtherFrame::parsimPack ( cCommBuffer *  b) [virtual]

Reimplemented from EthernetIIFrame.

Referenced by doPacking().

virtual void AnsaEtherFrame::parsimUnpack ( cCommBuffer *  b) [virtual]

Reimplemented from EthernetIIFrame.

Referenced by doUnpacking().

virtual void AnsaEtherFrame::setDisplayString ( const char *  displayString) [virtual]
virtual void AnsaEtherFrame::setVlan ( int  vlan) [virtual]

Referenced by ANSASwitchCore::tagMsg().


Member Data Documentation

opp_string AnsaEtherFrame::displayString_var [protected]

Definition at line 40 of file AnsaEtherFrame_m.h.

int AnsaEtherFrame::vlan_var [protected]

Definition at line 39 of file AnsaEtherFrame_m.h.


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