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

#include <InterfaceEntry.h>

Inheritance diagram for inet::InterfaceEntryChangeDetails:

Public Member Functions

 InterfaceEntryChangeDetails (InterfaceEntry *ie, int field)
 
InterfaceEntrygetInterfaceEntry () const
 
int getFieldId () const
 
virtual std::string info () const override
 
virtual std::string detailedInfo () const override
 

Private Attributes

InterfaceEntryie
 
int field
 

Constructor & Destructor Documentation

inet::InterfaceEntryChangeDetails::InterfaceEntryChangeDetails ( InterfaceEntry ie,
int  field 
)
inline
86 : ie(ie), field(field) { ASSERT(ie); }
InterfaceEntry * ie
Definition: InterfaceEntry.h:82
int field
Definition: InterfaceEntry.h:83

Member Function Documentation

std::string inet::InterfaceEntryChangeDetails::detailedInfo ( ) const
overridevirtual
64 {
65  std::stringstream out;
66  out << ie->detailedInfo() << " changed field: " << field << "\n";
67  return out.str();
68 }
virtual std::string detailedInfo() const override
Definition: InterfaceEntry.cc:129
InterfaceEntry * ie
Definition: InterfaceEntry.h:82
int field
Definition: InterfaceEntry.h:83
int inet::InterfaceEntryChangeDetails::getFieldId ( ) const
inline

Referenced by inet::RIPRouting::receiveSignal().

88 { return field; }
int field
Definition: InterfaceEntry.h:83
InterfaceEntry* inet::InterfaceEntryChangeDetails::getInterfaceEntry ( ) const
inline
std::string inet::InterfaceEntryChangeDetails::info ( ) const
overridevirtual
59 {
60  return ie->info();
61 }
virtual std::string info() const override
Definition: InterfaceEntry.cc:86
InterfaceEntry * ie
Definition: InterfaceEntry.h:82

Member Data Documentation

int inet::InterfaceEntryChangeDetails::field
private
InterfaceEntry* inet::InterfaceEntryChangeDetails::ie
private

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