A Discrete-Event Network Simulator
API
ns3::dsr::IsExpired Struct Reference

IsExpired structure. More...

Public Member Functions

bool operator() (DsrSendBuffEntry const &e) const
 comparison operator More...
 
bool operator() (DsrErrorBuffEntry const &e) const
 comparison operator More...
 
bool operator() (DsrPassiveBuffEntry const &e) const
 Check for an expired entry. More...
 
bool operator() (DsrMaintainBuffEntry const &e) const
 comparison operator More...
 

Detailed Description

IsExpired structure.

Definition at line 149 of file dsr-errorbuff.cc.

Member Function Documentation

◆ operator()() [1/4]

bool ns3::dsr::IsExpired::operator() ( DsrSendBuffEntry const &  e) const
inline

comparison operator

Parameters
eentry to compare
Returns
true if expired

Definition at line 150 of file dsr-rsendbuff.cc.

References ns3::dsr::DsrSendBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [2/4]

bool ns3::dsr::IsExpired::operator() ( DsrErrorBuffEntry const &  e) const
inline

comparison operator

Parameters
eentry to compare
Returns
true if entry expired

Definition at line 157 of file dsr-errorbuff.cc.

References ns3::dsr::DsrErrorBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [3/4]

bool ns3::dsr::IsExpired::operator() ( DsrPassiveBuffEntry const &  e) const
inline

Check for an expired entry.

Parameters
epassive buffer entry
Returns
true if equal

Definition at line 175 of file dsr-passive-buff.cc.

References ns3::dsr::DsrPassiveBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [4/4]

bool ns3::dsr::IsExpired::operator() ( DsrMaintainBuffEntry const &  e) const
inline

comparison operator

Parameters
emaintain buffer entry
Returns
true if the entry is expired

Definition at line 223 of file dsr-maintain-buff.cc.

References ns3::dsr::DsrMaintainBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

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