ns3::RttEstimator Class Reference

#include <rtt-estimator.h>

Inheritance diagram for ns3::RttEstimator:
Inheritance graph
[legend]
Collaboration diagram for ns3::RttEstimator:
Collaboration graph
[legend]

List of all members.

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< RttEstimatorCopy () 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

Detailed Description

Definition at line 53 of file rtt-estimator.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Time ns3::RttEstimator::AckSeq ( SequenceNumber  a  )  [virtual]
void ns3::RttEstimator::ClearSent (  )  [virtual]

Definition at line 141 of file rtt-estimator.cc.

References history, and next.

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:

  • MaxMultiplier: XXX
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 64
    • Flags: construct write read
  • InitialEstimation: XXX
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: 1000000000ns
    • Flags: construct write read
  • MinRTO: Minimum retransmit timeout value
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: 200000000ns
    • Flags: construct write read

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.

Referenced by AckSeq(), and Reset().

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.


Member Data Documentation

Definition at line 75 of file rtt-estimator.h.

Referenced by AckSeq(), ClearSent(), Reset(), and SentSeq().

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 74 of file rtt-estimator.h.

Referenced by ClearSent(), Init(), Reset(), and SentSeq().

Definition at line 80 of file rtt-estimator.h.

Referenced by ns3::RttMeanDeviation::Measurement(), and Reset().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:47 2009 for NS-3 by  doxygen 1.6.3