#include <rtt-estimator.h>
Public Member Functions | |
RttEstimator () | |
RttEstimator (const RttEstimator &) | |
virtual | ~RttEstimator () |
virtual void | SentSeq (SequenceNumber, uint32_t) |
virtual Time | AckSeq (SequenceNumber) |
virtual void | ClearSent () |
virtual void | Measurement (Time t)=0 |
virtual Time | Estimate ()=0 |
virtual Time | RetransmitTimeout ()=0 |
void | Init (SequenceNumber s) |
virtual Ptr< RttEstimator > | Copy () const =0 |
virtual void | IncreaseMultiplier () |
virtual void | ResetMultiplier () |
virtual void | Reset () |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::RttEstimator. | |
Public Attributes | |
Time | est |
Time | minrto |
uint32_t | nSamples |
double | multiplier |
Private Attributes | |
SequenceNumber | next |
RttHistory_t | history |
double | m_maxMultiplier |
Definition at line 53 of file rtt-estimator.h.
ns3::RttEstimator::RttEstimator | ( | ) |
Definition at line 76 of file rtt-estimator.cc.
ns3::RttEstimator::RttEstimator | ( | const RttEstimator & | c | ) |
Definition at line 82 of file rtt-estimator.cc.
ns3::RttEstimator::~RttEstimator | ( | ) | [virtual] |
Definition at line 88 of file rtt-estimator.cc.
Time ns3::RttEstimator::AckSeq | ( | SequenceNumber | a | ) | [virtual] |
Definition at line 118 of file rtt-estimator.cc.
References ns3::RttHistory::count, history, Measurement(), ns3::Now(), ResetMultiplier(), ns3::RttHistory::retx, ns3::Seconds(), ns3::RttHistory::seq, and ns3::RttHistory::time.
void ns3::RttEstimator::ClearSent | ( | ) | [virtual] |
Definition at line 141 of file rtt-estimator.cc.
virtual Ptr<RttEstimator> ns3::RttEstimator::Copy | ( | ) | const [pure virtual] |
Implemented in ns3::RttMeanDeviation.
virtual Time ns3::RttEstimator::Estimate | ( | ) | [pure virtual] |
Implemented in ns3::RttMeanDeviation.
TypeId ns3::RttEstimator::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RttEstimator.
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::RttMeanDeviation.
Definition at line 40 of file rtt-estimator.cc.
References ns3::TypeId::AddAttribute(), est, m_maxMultiplier, minrto, ns3::Seconds(), and ns3::TypeId::SetParent().
void ns3::RttEstimator::IncreaseMultiplier | ( | ) | [virtual] |
Definition at line 147 of file rtt-estimator.cc.
References m_maxMultiplier, and multiplier.
void ns3::RttEstimator::Init | ( | SequenceNumber | s | ) | [inline] |
Definition at line 67 of file rtt-estimator.h.
References next.
virtual void ns3::RttEstimator::Measurement | ( | Time | t | ) | [pure virtual] |
Implemented in ns3::RttMeanDeviation.
Referenced by AckSeq().
void ns3::RttEstimator::Reset | ( | void | ) | [virtual] |
Reimplemented in ns3::RttMeanDeviation.
Definition at line 161 of file rtt-estimator.cc.
References est, history, next, nSamples, ResetMultiplier(), and ns3::Seconds().
void ns3::RttEstimator::ResetMultiplier | ( | ) | [virtual] |
Definition at line 156 of file rtt-estimator.cc.
References multiplier.
virtual Time ns3::RttEstimator::RetransmitTimeout | ( | ) | [pure virtual] |
Implemented in ns3::RttMeanDeviation.
void ns3::RttEstimator::SentSeq | ( | SequenceNumber | s, | |
uint32_t | c | |||
) | [virtual] |
Definition at line 92 of file rtt-estimator.cc.
References history, next, ns3::Simulator::Now(), and SequenceNumber::seq.
Definition at line 78 of file rtt-estimator.h.
Referenced by ns3::RttMeanDeviation::Estimate(), GetTypeId(), ns3::RttMeanDeviation::Measurement(), Reset(), and ns3::RttMeanDeviation::RetransmitTimeout().
RttHistory_t ns3::RttEstimator::history [private] |
Definition at line 75 of file rtt-estimator.h.
Referenced by AckSeq(), ClearSent(), Reset(), and SentSeq().
double ns3::RttEstimator::m_maxMultiplier [private] |
Definition at line 76 of file rtt-estimator.h.
Referenced by GetTypeId(), and IncreaseMultiplier().
Definition at line 79 of file rtt-estimator.h.
Referenced by GetTypeId(), and ns3::RttMeanDeviation::RetransmitTimeout().
Definition at line 81 of file rtt-estimator.h.
Referenced by IncreaseMultiplier(), ResetMultiplier(), and ns3::RttMeanDeviation::RetransmitTimeout().
SequenceNumber ns3::RttEstimator::next [private] |
Definition at line 74 of file rtt-estimator.h.
Referenced by ClearSent(), Init(), Reset(), and SentSeq().
uint32_t ns3::RttEstimator::nSamples |
Definition at line 80 of file rtt-estimator.h.
Referenced by ns3::RttMeanDeviation::Measurement(), and Reset().