INET Framework for OMNeT++/OMNEST
|
Class generated from inet/linklayer/ideal/IdealMacFrame.msg:34
by nedtool.
More...
#include <IdealMacFrame_m.h>
Public Member Functions | |
IdealMacFrame (const char *name=nullptr, short kind=0) | |
IdealMacFrame (const IdealMacFrame &other) | |
virtual | ~IdealMacFrame () |
IdealMacFrame & | operator= (const IdealMacFrame &other) |
virtual IdealMacFrame * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual MACAddress & | getSrc () |
virtual const MACAddress & | getSrc () const |
virtual void | setSrc (const MACAddress &src) |
virtual MACAddress & | getDest () |
virtual const MACAddress & | getDest () const |
virtual void | setDest (const MACAddress &dest) |
virtual int | getSrcModuleId () const |
virtual void | setSrcModuleId (int srcModuleId) |
Protected Member Functions | |
bool | operator== (const IdealMacFrame &) |
Protected Attributes | |
MACAddress | src |
MACAddress | dest |
int | srcModuleId |
Private Member Functions | |
void | copy (const IdealMacFrame &other) |
Class generated from inet/linklayer/ideal/IdealMacFrame.msg:34
by nedtool.
// // Packet for ~IdealMac. Packet size is configurable // in the MAC layer. // packet IdealMacFrame { MACAddress src; // source address MACAddress dest; // destination address int srcModuleId; // technical data, uses instead of sending back an ACK packet }
inet::IdealMacFrame::IdealMacFrame | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::IdealMacFrame::IdealMacFrame | ( | const IdealMacFrame & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Referenced by inet::IdealMac::startTransmitting().
|
virtual |
Referenced by inet::IdealMac::decapsulate(), and inet::IdealMac::dropFrameNotForUs().
|
inlinevirtual |
Referenced by getDest().
|
virtual |
Referenced by inet::IdealMac::decapsulate().
|
inlinevirtual |
Referenced by getSrc().
|
virtual |
Referenced by inet::IdealMac::handleLowerPacket().
IdealMacFrame& inet::IdealMacFrame::operator= | ( | const IdealMacFrame & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
Referenced by inet::IdealMac::encapsulate().
|
virtual |
Referenced by inet::IdealMac::startTransmitting().
|
protected |
|
protected |
|
protected |