#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. |
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 |
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.
Attributes defined for this type:
Reimplemented from ns3::PropagationDelayModel.
void ns3::ConstantSpeedPropagationDelayModel::SetSpeed | ( | double | speed | ) |
speed | the new speed (m/s) |