|
ns-3
|
the propagation speed is constant More...
#include <propagation-delay-model.h>


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. | |
the propagation speed is constant
| ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel | ( | ) |
Use the default parameters from PropagationDelayConstantSpeed.
|
virtual |
| a | the source |
| b | the destination |
Calculate the propagation delay between the specified source and destination.
Implements ns3::PropagationDelayModel.
References ns3::MobilityModel::GetDistanceFrom(), and ns3::Seconds().
| double ns3::ConstantSpeedPropagationDelayModel::GetSpeed | ( | void | ) | const |
|
static |
This method returns the TypeId associated to ns3::ConstantSpeedPropagationDelayModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::PropagationDelayModel.
References ns3::TypeId::SetParent().
| void ns3::ConstantSpeedPropagationDelayModel::SetSpeed | ( | double | speed | ) |
| speed | the new speed (m/s) |