ns3::SatConstantPropagationDelayModel Class Reference

The propagation delay is constant in time. More...

#include "satellite-propagation-delay-model.h"

+ Inheritance diagram for ns3::SatConstantPropagationDelayModel:
+ Collaboration diagram for ns3::SatConstantPropagationDelayModel:

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
 

Detailed Description

The propagation delay is constant in time.

Definition at line 35 of file satellite-propagation-delay-model.h.

Constructor & Destructor Documentation

◆ SatConstantPropagationDelayModel()

ns3::SatConstantPropagationDelayModel::SatConstantPropagationDelayModel ( )

Default constructor.

Definition at line 50 of file satellite-propagation-delay-model.cc.

Member Function Documentation

◆ DoAssignStreams()

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.

◆ GetDelay() [1/2]

Time ns3::SatConstantPropagationDelayModel::GetDelay ( Ptr< MobilityModel >  a,
Ptr< MobilityModel >  b 
) const
virtual

Get the propagation delay in Time.

Parameters
athe source
bthe destination
Returns
Propagation delay.

Definition at line 55 of file satellite-propagation-delay-model.cc.

References m_delay.

◆ GetDelay() [2/2]

Time ns3::SatConstantPropagationDelayModel::GetDelay ( void  ) const
virtual

Get the propagation delay in Time.

Returns
Propagation delay.

Definition at line 69 of file satellite-propagation-delay-model.cc.

References m_delay.

◆ GetTypeId()

TypeId ns3::SatConstantPropagationDelayModel::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 36 of file satellite-propagation-delay-model.cc.

References m_delay.

◆ SetDelay()

void ns3::SatConstantPropagationDelayModel::SetDelay ( Time  delay)

Set constant propagation delay.

Parameters
delayDelay in Time.

Definition at line 62 of file satellite-propagation-delay-model.cc.

References m_delay.

Member Data Documentation

◆ m_delay

Time ns3::SatConstantPropagationDelayModel::m_delay
private

Definition at line 76 of file satellite-propagation-delay-model.h.

Referenced by GetDelay(), GetTypeId(), and SetDelay().


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