INET Framework for OMNeT++/OMNEST
InterfaceProtocolData Class Reference

#include <InterfaceEntry.h>

Inheritance diagram for InterfaceProtocolData:
IPv4InterfaceData IPv6InterfaceData

List of all members.

Public Member Functions

 InterfaceProtocolData ()
InterfaceEntrygetInterfaceEntry () const

Protected Member Functions

virtual void changed (int category)

Protected Attributes

InterfaceEntryownerp

Friends

class InterfaceEntry

Detailed Description

Base class for protocol-specific data on an interface. Notable subclasses are IPv4InterfaceData and IPv6InterfaceData.


Constructor & Destructor Documentation

InterfaceProtocolData::InterfaceProtocolData ( ) [inline]
{ownerp = NULL;}

Member Function Documentation

void InterfaceProtocolData::changed ( int  category) [protected, virtual]

Referenced by IPv6InterfaceData::changed1(), IPv4InterfaceData::changed1(), InterfaceEntry::configChanged(), and InterfaceEntry::stateChanged().

{
    // notify the containing InterfaceEntry that something changed
    if (ownerp)
        ownerp->changed(category);
}
InterfaceEntry* InterfaceProtocolData::getInterfaceEntry ( ) const [inline]

Returns the InterfaceEntry that contains this data object, or NULL

{return ownerp;}

Friends And Related Function Documentation

friend class InterfaceEntry [friend]

Member Data Documentation


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