INET Framework for OMNeT++/OMNEST
MacPkt Class Reference

#include <MacPkt_m.h>

Inheritance diagram for MacPkt:
Mac80211Pkt

List of all members.

Public Member Functions

 MacPkt (const char *name=NULL, int kind=0)
 MacPkt (const MacPkt &other)
virtual ~MacPkt ()
MacPktoperator= (const MacPkt &other)
virtual MacPktdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual MACAddressgetDestAddr ()
virtual const MACAddressgetDestAddr () const
virtual void setDestAddr (const MACAddress &destAddr)
virtual MACAddressgetSrcAddr ()
virtual const MACAddressgetSrcAddr () const
virtual void setSrcAddr (const MACAddress &srcAddr)
virtual int getChannelId () const
virtual void setChannelId (int channelId)

Protected Member Functions

bool operator== (const MacPkt &)

Protected Attributes

MACAddress destAddr_var
MACAddress srcAddr_var
int channelId_var

Private Member Functions

void copy (const MacPkt &other)

Detailed Description

Class generated from linklayer/mf80211/macLayer/MacPkt.msg by opp_msgc.

 packet MacPkt
 {
     MACAddress destAddr; 
     MACAddress srcAddr; 
     int channelId = 1; 
 }
 

Definition at line 33 of file MacPkt_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().

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

Member Function Documentation

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

Reimplemented in Mac80211Pkt.

Definition at line 52 of file MacPkt_m.h.

{return new MacPkt(*this);}
virtual int MacPkt::getChannelId ( ) const [virtual]
virtual const MACAddress& MacPkt::getDestAddr ( ) const [inline, virtual]

Definition at line 58 of file MacPkt_m.h.

Referenced by getDestAddr().

{return const_cast<MacPkt*>(this)->getDestAddr();}
virtual const MACAddress& MacPkt::getSrcAddr ( ) const [inline, virtual]

Definition at line 61 of file MacPkt_m.h.

Referenced by getSrcAddr().

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

Reimplemented in Mac80211Pkt.

Referenced by doPacking().

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

Reimplemented in Mac80211Pkt.

Referenced by doUnpacking().

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

Member Data Documentation

int MacPkt::channelId_var [protected]

Definition at line 38 of file MacPkt_m.h.

Definition at line 36 of file MacPkt_m.h.

Definition at line 37 of file MacPkt_m.h.


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