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

#include <SimpleNetworkProtocolControlInfo.h>

Inheritance diagram for inet::SimpleNetworkProtocolControlInfo:
inet::SimpleNetworkProtocolControlInfo_Base inet::INetworkProtocolControlInfo

Public Member Functions

 SimpleNetworkProtocolControlInfo ()
 
 SimpleNetworkProtocolControlInfo (const SimpleNetworkProtocolControlInfo &other)
 
SimpleNetworkProtocolControlInfooperator= (const SimpleNetworkProtocolControlInfo &other)
 
virtual SimpleNetworkProtocolControlInfodup () const override
 
virtual short getTransportProtocol () const override
 
virtual void setTransportProtocol (short protocol) override
 
virtual L3Address getSourceAddress () const override
 
virtual void setSourceAddress (const L3Address &address) override
 
virtual L3Address getDestinationAddress () const override
 
virtual void setDestinationAddress (const L3Address &address) override
 
virtual int getInterfaceId () const override
 
virtual void setInterfaceId (int interfaceId) override
 
virtual short getHopLimit () const override
 
virtual void setHopLimit (short hopLimit) override
 
- Public Member Functions inherited from inet::SimpleNetworkProtocolControlInfo_Base
virtual ~SimpleNetworkProtocolControlInfo_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual L3Address_getDestinationAddress ()
 
virtual const L3Address_getDestinationAddress () const
 
virtual L3Address_getSourceAddress ()
 
virtual const L3Address_getSourceAddress () const
 
virtual short getProtocol () const
 
virtual void setProtocol (short protocol)
 
- Public Member Functions inherited from inet::INetworkProtocolControlInfo
virtual ~INetworkProtocolControlInfo ()
 

Private Member Functions

void copy (const SimpleNetworkProtocolControlInfo &other)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::SimpleNetworkProtocolControlInfo_Base
bool operator== (const SimpleNetworkProtocolControlInfo_Base &)
 
 SimpleNetworkProtocolControlInfo_Base ()
 
 SimpleNetworkProtocolControlInfo_Base (const SimpleNetworkProtocolControlInfo_Base &other)
 
SimpleNetworkProtocolControlInfo_Baseoperator= (const SimpleNetworkProtocolControlInfo_Base &other)
 
- Protected Attributes inherited from inet::SimpleNetworkProtocolControlInfo_Base
L3Address destinationAddress
 
L3Address sourceAddress
 
int interfaceId
 
short protocol
 
short hopLimit
 

Constructor & Destructor Documentation

inet::SimpleNetworkProtocolControlInfo::SimpleNetworkProtocolControlInfo ( )
inline
inet::SimpleNetworkProtocolControlInfo::SimpleNetworkProtocolControlInfo ( const SimpleNetworkProtocolControlInfo other)
inline
void copy(const SimpleNetworkProtocolControlInfo &other)
Definition: SimpleNetworkProtocolControlInfo.h:30

Member Function Documentation

void inet::SimpleNetworkProtocolControlInfo::copy ( const SimpleNetworkProtocolControlInfo other)
inlineprivate
30 {}
virtual SimpleNetworkProtocolControlInfo* inet::SimpleNetworkProtocolControlInfo::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::SimpleNetworkProtocolControlInfo_Base.

36 { return new SimpleNetworkProtocolControlInfo(*this); }
SimpleNetworkProtocolControlInfo()
Definition: SimpleNetworkProtocolControlInfo.h:33
virtual L3Address inet::SimpleNetworkProtocolControlInfo::getDestinationAddress ( ) const
inlineoverridevirtual
virtual short inet::SimpleNetworkProtocolControlInfo::getHopLimit ( ) const
inlineoverridevirtual
virtual int inet::SimpleNetworkProtocolControlInfo::getInterfaceId ( ) const
inlineoverridevirtual
virtual L3Address inet::SimpleNetworkProtocolControlInfo::getSourceAddress ( ) const
inlineoverridevirtual
virtual short inet::SimpleNetworkProtocolControlInfo::getTransportProtocol ( ) const
inlineoverridevirtual
SimpleNetworkProtocolControlInfo& inet::SimpleNetworkProtocolControlInfo::operator= ( const SimpleNetworkProtocolControlInfo other)
inline
35 { if (this == &other) return *this; SimpleNetworkProtocolControlInfo_Base::operator=(other); copy(other); return *this; }
void copy(const SimpleNetworkProtocolControlInfo &other)
Definition: SimpleNetworkProtocolControlInfo.h:30
SimpleNetworkProtocolControlInfo_Base & operator=(const SimpleNetworkProtocolControlInfo_Base &other)
virtual void inet::SimpleNetworkProtocolControlInfo::setDestinationAddress ( const L3Address address)
inlineoverridevirtual
virtual void inet::SimpleNetworkProtocolControlInfo::setHopLimit ( short  hopLimit)
inlineoverridevirtual

Reimplemented from inet::SimpleNetworkProtocolControlInfo_Base.

virtual void setHopLimit(short hopLimit)
short hopLimit
Definition: SimpleNetworkProtocolControlInfo_m.h:85
virtual void inet::SimpleNetworkProtocolControlInfo::setInterfaceId ( int  interfaceId)
inlineoverridevirtual
virtual void inet::SimpleNetworkProtocolControlInfo::setSourceAddress ( const L3Address address)
inlineoverridevirtual
virtual void inet::SimpleNetworkProtocolControlInfo::setTransportProtocol ( short  protocol)
inlineoverridevirtual

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