ns3::ConstantSpeedPropagationDelayModel Class Reference

the propagation speed is constant More...

#include <propagation-delay-model.h>

Inheritance diagram for ns3::ConstantSpeedPropagationDelayModel:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConstantSpeedPropagationDelayModel ()
virtual Time GetDelay (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
void SetSpeed (double speed)
double GetSpeed (void) const

Static Public Member Functions

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


Detailed Description

the propagation speed is constant

Constructor & Destructor Documentation

ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel (  ) 

Use the default parameters from PropagationDelayConstantSpeed.


Member Function Documentation

virtual Time ns3::ConstantSpeedPropagationDelayModel::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.

double ns3::ConstantSpeedPropagationDelayModel::GetSpeed ( void   )  const

Returns:
the current propagation speed (m/s).

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

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

Attributes defined for this type:

  • Speed: The speed (m/s)
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 3e+08
    • Flags: construct write read
No TraceSources defined for this type.

Reimplemented from ns3::PropagationDelayModel.

void ns3::ConstantSpeedPropagationDelayModel::SetSpeed ( double  speed  ) 

Parameters:
speed the new speed (m/s)


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

Generated on Fri Apr 9 15:01:09 2010 for NS-3 by  doxygen 1.5.8