The propagation delay is constant in time. More...
#include "satellite-propagation-delay-model.h"
Public Member Functions | |
SatConstantPropagationDelayModel () | |
Default constructor. More... | |
int64_t | DoAssignStreams (int64_t s) |
DoAssignStreams need to be implemented due to inheritance from PropagationDelayModel. More... | |
virtual Time | GetDelay (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
Get the propagation delay in Time. More... | |
virtual Time | GetDelay (void) const |
Get the propagation delay in Time. More... | |
void | SetDelay (Time delay) |
Set constant propagation delay. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
Time | m_delay |
The propagation delay is constant in time.
Definition at line 37 of file satellite-propagation-delay-model.h.
ns3::SatConstantPropagationDelayModel::SatConstantPropagationDelayModel | ( | ) |
Default constructor.
Definition at line 50 of file satellite-propagation-delay-model.cc.
int64_t ns3::SatConstantPropagationDelayModel::DoAssignStreams | ( | int64_t | s | ) |
DoAssignStreams need to be implemented due to inheritance from PropagationDelayModel.
Definition at line 76 of file satellite-propagation-delay-model.cc.
|
virtual |
Get the propagation delay in Time.
a | the source |
b | the destination |
Definition at line 55 of file satellite-propagation-delay-model.cc.
References m_delay.
|
virtual |
Get the propagation delay in Time.
Definition at line 69 of file satellite-propagation-delay-model.cc.
References m_delay.
|
static |
Get the type ID.
Definition at line 36 of file satellite-propagation-delay-model.cc.
References m_delay.
void ns3::SatConstantPropagationDelayModel::SetDelay | ( | Time | delay | ) |
Set constant propagation delay.
delay | Delay in Time. |
Definition at line 62 of file satellite-propagation-delay-model.cc.
References m_delay.
|
private |
Definition at line 78 of file satellite-propagation-delay-model.h.
Referenced by GetDelay(), GetTypeId(), and SetDelay().