|
INET Framework for OMNeT++/OMNEST
|
Base class for protocol-specific data on an interface. More...
#include <NetworkInterface.h>
Public Member Functions | |
| InterfaceProtocolData (int id) | |
| NetworkInterface * | getNetworkInterface () const |
| Returns the NetworkInterface that contains this data object, or nullptr. More... | |
Public Member Functions inherited from inet::TagBase | |
| virtual const Ptr< TagBase > | dupShared () const |
| virtual const Ptr< TagBase > | changeRegion (b offsetDelta, b lengthDelta) const |
| virtual void | parsimPack (cCommBuffer *buffer) const override |
| virtual void | parsimUnpack (cCommBuffer *buffer) override |
| virtual std::ostream & | printToStream (std::ostream &stream, int level, int evFlags) const override |
| Prints this object to the provided output stream. More... | |
| virtual std::ostream & | printFieldsToStream (std::ostream &stream, int level, int evFlags) const |
| virtual std::string | str () const override |
Public Member Functions inherited from inet::IPrintableObject | |
| virtual | ~IPrintableObject () |
| virtual std::string | printToString () const |
| virtual std::string | printToString (int level, int evFlags=0) const |
| virtual std::string | getInfoStringRepresentation (int evFlags=0) const |
| virtual std::string | getDetailStringRepresentation (int evFlags=0) const |
| virtual std::string | getDebugStringRepresentation (int evFlags=0) const |
| virtual std::string | getTraceStringRepresentation (int evFlags=0) const |
| virtual std::string | getCompleteStringRepresentation (int evFlags=0) const |
Protected Member Functions | |
| virtual void | changed (simsignal_t signalID, int fieldId) |
Protected Attributes | |
| NetworkInterface * | ownerp = nullptr |
| int | id |
Friends | |
| class | NetworkInterface |
Additional Inherited Members | |
Public Types inherited from inet::IPrintableObject | |
| enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
| enum | PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) } |
Base class for protocol-specific data on an interface.
Notable subclasses are Ipv4InterfaceData and Ipv6InterfaceData.
|
inline |
|
protectedvirtual |
Referenced by inet::Ipv4InterfaceData::changeMulticastGroupMembership().
|
inline |
Returns the NetworkInterface that contains this data object, or nullptr.
Referenced by inet::Ipv4InterfaceData::addMulticastListener(), and inet::Ipv4InterfaceData::removeMulticastListener().
|
friend |
|
protected |
Referenced by inet::NetworkInterface::clearProtocolDataSet().
|
protected |