MacPkt Class Reference

#include <MacPkt_m.h>

Inheritance diagram for MacPkt:

Mac80211Pkt List of all members.

Detailed Description

Class generated from MacPkt.msg by opp_msgc.
 message MacPkt
 {
     fields:
         MACAddress destAddr; 
         MACAddress srcAddr; 
         int channelId=1; 
 }
 


Public Member Functions

 MacPkt (const char *name=NULL, int kind=0)
 MacPkt (const MacPkt &other)
virtual ~MacPkt ()
MacPkt & operator= (const MacPkt &other)
virtual cPolymorphic * dup () const
virtual void netPack (cCommBuffer *b)
virtual void netUnpack (cCommBuffer *b)
virtual MACAddress & getDestAddr ()
virtual const MACAddress & getDestAddr () const
virtual void setDestAddr (const MACAddress &destAddr_var)
virtual MACAddress & getSrcAddr ()
virtual const MACAddress & getSrcAddr () const
virtual void setSrcAddr (const MACAddress &srcAddr_var)
virtual int getChannelId () const
virtual void setChannelId (int channelId_var)

Protected Member Functions

bool operator== (const MacPkt &)

Protected Attributes

MACAddress destAddr_var
MACAddress srcAddr_var
int channelId_var


Constructor & Destructor Documentation

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

MacPkt::MacPkt ( const MacPkt &  other  ) 

virtual MacPkt::~MacPkt (  )  [virtual]


Member Function Documentation

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

Reimplemented in Mac80211Pkt.

00049 {return new MacPkt(*this);}

virtual int MacPkt::getChannelId (  )  const [virtual]

virtual const MACAddress& MacPkt::getDestAddr (  )  const [inline, virtual]

00055 {return const_cast<MacPkt*>(this)->getDestAddr();}

virtual MACAddress& MacPkt::getDestAddr (  )  [virtual]

virtual const MACAddress& MacPkt::getSrcAddr (  )  const [inline, virtual]

00058 {return const_cast<MacPkt*>(this)->getSrcAddr();}

virtual MACAddress& MacPkt::getSrcAddr (  )  [virtual]

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

Reimplemented in Mac80211Pkt.

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

Reimplemented in Mac80211Pkt.

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

bool MacPkt::operator== ( const MacPkt &   )  [protected]

virtual void MacPkt::setChannelId ( int  channelId_var  )  [virtual]

virtual void MacPkt::setDestAddr ( const MACAddress &  destAddr_var  )  [virtual]

virtual void MacPkt::setSrcAddr ( const MACAddress &  srcAddr_var  )  [virtual]


Member Data Documentation

int MacPkt::channelId_var [protected]

MACAddress MacPkt::destAddr_var [protected]

MACAddress MacPkt::srcAddr_var [protected]


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