INET Framework for OMNeT++/OMNEST
inet::SimpleLinkLayerControlInfo Class Reference

Represents a SimpleLinkLayer control info. More...

#include <SimpleLinkLayerControlInfo.h>

Inheritance diagram for inet::SimpleLinkLayerControlInfo:
inet::SimpleLinkLayerControlInfo_Base inet::IMACProtocolControlInfo

Public Member Functions

 SimpleLinkLayerControlInfo ()
 
 SimpleLinkLayerControlInfo (const SimpleLinkLayerControlInfo &other)
 
SimpleLinkLayerControlInfooperator= (const SimpleLinkLayerControlInfo &other)
 
virtual SimpleLinkLayerControlInfodup () const override
 
virtual MACAddress getSourceAddress () const override
 
virtual void setSourceAddress (const MACAddress &address) override
 
virtual MACAddress getDestinationAddress () const override
 
virtual void setDestinationAddress (const MACAddress &address) override
 
virtual int getInterfaceId () const override
 
virtual void setInterfaceId (int interfaceId) override
 
- Public Member Functions inherited from inet::IMACProtocolControlInfo
virtual ~IMACProtocolControlInfo ()
 

Additional Inherited Members

Detailed Description

Represents a SimpleLinkLayer control info.

More info in the SimpleLinkLayerControlInfo.msg file (and the documentation generated from it).

Constructor & Destructor Documentation

inet::SimpleLinkLayerControlInfo::SimpleLinkLayerControlInfo ( )
inline
inet::SimpleLinkLayerControlInfo::SimpleLinkLayerControlInfo ( const SimpleLinkLayerControlInfo other)
inline

Member Function Documentation

virtual SimpleLinkLayerControlInfo* inet::SimpleLinkLayerControlInfo::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::SimpleLinkLayerControlInfo_Base.

38 { return new SimpleLinkLayerControlInfo(*this); }
virtual MACAddress inet::SimpleLinkLayerControlInfo::getDestinationAddress ( ) const
inlineoverridevirtual

Implements inet::IMACProtocolControlInfo.

42 { return getDest(); }
virtual int inet::SimpleLinkLayerControlInfo::getInterfaceId ( ) const
inlineoverridevirtual
virtual MACAddress inet::SimpleLinkLayerControlInfo::getSourceAddress ( ) const
inlineoverridevirtual

Implements inet::IMACProtocolControlInfo.

40 { return getSrc(); }
SimpleLinkLayerControlInfo& inet::SimpleLinkLayerControlInfo::operator= ( const SimpleLinkLayerControlInfo other)
inline
36 { SimpleLinkLayerControlInfo_Base::operator=(other); return *this; }
virtual void inet::SimpleLinkLayerControlInfo::setDestinationAddress ( const MACAddress address)
inlineoverridevirtual

Implements inet::IMACProtocolControlInfo.

43 { setDest(address); };
virtual void inet::SimpleLinkLayerControlInfo::setInterfaceId ( int  interfaceId)
inlineoverridevirtual
virtual void inet::SimpleLinkLayerControlInfo::setSourceAddress ( const MACAddress address)
inlineoverridevirtual

Implements inet::IMACProtocolControlInfo.

41 { setSrc(address); }

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