Public Member Functions | Static Public Member Functions

ns3::RandomPropagationDelayModel Class Reference

the propagation delay is random More...

#include <propagation-delay-model.h>

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

List of all members.

Public Member Functions

 RandomPropagationDelayModel ()
virtual Time GetDelay (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::RandomPropagationDelayModel.

Detailed Description

the propagation delay is random


Constructor & Destructor Documentation

ns3::RandomPropagationDelayModel::RandomPropagationDelayModel (  ) 

Use the default parameters from PropagationDelayRandomDistribution.


Member Function Documentation

virtual Time ns3::RandomPropagationDelayModel::GetDelay ( Ptr< MobilityModel a,
Ptr< MobilityModel b 
) const [virtual]
Parameters:
a the source
b the destination
Returns:
the calculated propagation delay

Calculate the propagation delay between the specified source and destination.

Implements ns3::PropagationDelayModel.

static TypeId ns3::RandomPropagationDelayModel::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::RandomPropagationDelayModel.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3WifiNetDevice/Channel/PropagationDelayModel/$ns3RandomPropagationDelayModel

Attributes defined for this type:

  • Variable: The random variable which generates random delays (s).

No TraceSources defined for this type.

Reimplemented from ns3::PropagationDelayModel.


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