INET Framework for OMNeT++/OMNEST
inet::ospf::LSATrackingInfo Class Reference

#include <LSA.h>

Inheritance diagram for inet::ospf::LSATrackingInfo:
inet::ospf::ASExternalLSA inet::ospf::NetworkLSA inet::ospf::RouterLSA inet::ospf::SummaryLSA

Public Types

enum  InstallSource { ORIGINATED = 0, FLOODED = 1 }
 

Public Member Functions

 LSATrackingInfo ()
 
 LSATrackingInfo (const LSATrackingInfo &info)
 
void setSource (InstallSource installSource)
 
InstallSource getSource () const
 
void incrementInstallTime ()
 
void resetInstallTime ()
 
unsigned long getInstallTime () const
 

Private Attributes

InstallSource source
 
unsigned long installTime
 

Member Enumeration Documentation

Enumerator
ORIGINATED 
FLOODED 
64  {
65  ORIGINATED = 0,
66  FLOODED = 1
67  };

Constructor & Destructor Documentation

inet::ospf::LSATrackingInfo::LSATrackingInfo ( )
inline
74 : source(FLOODED), installTime(0) {}
unsigned long installTime
Definition: LSA.h:71
InstallSource source
Definition: LSA.h:70
inet::ospf::LSATrackingInfo::LSATrackingInfo ( const LSATrackingInfo info)
inline
75 : source(info.source), installTime(info.installTime) {}
unsigned long installTime
Definition: LSA.h:71
InstallSource source
Definition: LSA.h:70

Member Function Documentation

unsigned long inet::ospf::LSATrackingInfo::getInstallTime ( ) const
inline

Referenced by inet::ospf::LinkStateUpdateHandler::processPacket().

81 { return installTime; }
unsigned long installTime
Definition: LSA.h:71
InstallSource inet::ospf::LSATrackingInfo::getSource ( ) const
inline

Referenced by inet::ospf::LinkStateUpdateHandler::processPacket().

78 { return source; }
InstallSource source
Definition: LSA.h:70
void inet::ospf::LSATrackingInfo::resetInstallTime ( )
inline
void inet::ospf::LSATrackingInfo::setSource ( InstallSource  installSource)
inline

Member Data Documentation

unsigned long inet::ospf::LSATrackingInfo::installTime
private
InstallSource inet::ospf::LSATrackingInfo::source
private

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