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

IsExpired structure. More...

Public Member Functions

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

Detailed Description

IsExpired structure.

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

Member Function Documentation

◆ operator()() [1/4]

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

comparison operator

Parameters
eentry to compare
Returns
true if entry expired

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

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

+ Here is the call graph for this function:

◆ operator()() [2/4]

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

comparison operator

Parameters
emaintain buffer entry
Returns
true if the entry is expired

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

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

+ Here is the call graph for this function:

◆ operator()() [3/4]

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

Check for an expired entry.

Parameters
epassive buffer entry
Returns
true if equal

Definition at line 193 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() ( const DsrSendBuffEntry e) const
inline

comparison operator

Parameters
eentry to compare
Returns
true if expired

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

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

+ Here is the call graph for this function:

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