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

#include <GenericNetworkProtocolControlInfo.h>

Inheritance diagram for inet::GenericNetworkProtocolControlInfo:
inet::GenericNetworkProtocolControlInfo_Base inet::INetworkProtocolControlInfo

Public Member Functions

 GenericNetworkProtocolControlInfo ()
 
 GenericNetworkProtocolControlInfo (const GenericNetworkProtocolControlInfo &other)
 
GenericNetworkProtocolControlInfooperator= (const GenericNetworkProtocolControlInfo &other)
 
virtual GenericNetworkProtocolControlInfodup () 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::GenericNetworkProtocolControlInfo_Base
virtual ~GenericNetworkProtocolControlInfo_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 GenericNetworkProtocolControlInfo &other)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::GenericNetworkProtocolControlInfo_Base.

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

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