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

Base class for protocol-specific data on an interface. More...

#include <InterfaceEntry.h>

Inheritance diagram for inet::InterfaceProtocolData:
inet::GenericNetworkProtocolInterfaceData inet::Ieee8021dInterfaceData inet::IPv4InterfaceData inet::IPv6InterfaceData

Public Member Functions

 InterfaceProtocolData ()
 
InterfaceEntrygetInterfaceEntry () const
 Returns the InterfaceEntry that contains this data object, or nullptr. More...
 

Protected Member Functions

virtual void changed (simsignal_t signalID, int fieldId)
 

Protected Attributes

InterfaceEntryownerp = nullptr
 

Friends

class InterfaceEntry
 

Detailed Description

Base class for protocol-specific data on an interface.

Notable subclasses are IPv4InterfaceData and IPv6InterfaceData.

Constructor & Destructor Documentation

inet::InterfaceProtocolData::InterfaceProtocolData ( )
inline
72 { }

Member Function Documentation

void inet::InterfaceProtocolData::changed ( simsignal_t  signalID,
int  fieldId 
)
protectedvirtual
52 {
53  // notify the containing InterfaceEntry that something changed
54  if (ownerp)
55  ownerp->changed(signalID, fieldId);
56 }
InterfaceEntry * ownerp
Definition: InterfaceEntry.h:65
virtual void changed(simsignal_t signalID, int fieldId)
Definition: InterfaceEntry.cc:181
InterfaceEntry* inet::InterfaceProtocolData::getInterfaceEntry ( ) const
inline

Returns the InterfaceEntry that contains this data object, or nullptr.

77 { return ownerp; }
InterfaceEntry * ownerp
Definition: InterfaceEntry.h:65

Friends And Related Function Documentation

friend class InterfaceEntry
friend

Member Data Documentation


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