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 Time ns3::ConstantSpeedPropagationDelayModel::GetDelay | ( | Ptr< MobilityModel > | a, | |
| Ptr< MobilityModel > | b | |||
| ) | const [virtual] |
| a | the source | |
| b | the destination |
Calculate the propagation delay between the specified source and destination.
Implements ns3::PropagationDelayModel.
| double ns3::ConstantSpeedPropagationDelayModel::GetSpeed | ( | void | ) | const |
| static TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId | ( | void | ) | [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.
| void ns3::ConstantSpeedPropagationDelayModel::SetSpeed | ( | double | speed | ) |
| speed | the new speed (m/s) |
1.7.1