ns-3
|
The DiscreteTimeLossModel class offers a basic implementation for all propagation loss models used for LTE networks. More...
#include <discrete-time-loss-model.h>
Public Member Functions | |
void | SetLastUpdate (void) |
Set the time in which the model has been updated. Each model can be updated every Sampling interval. Every time the model is updated, the variable m_lastUpdate will be set to the current simulation time. | |
Time | GetLastUpdate (void) |
Get the time in which the model has been updated. | |
void | SetSamplingPeriod (double sp) |
Set the time interval every time the model should be updated. | |
double | GetSamplingPeriod (void) |
Get the time interval every time the model should be updated. | |
bool | NeedForUpdate (void) |
Check if the model should be updated. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::DiscreteTimeLossModel. |
The DiscreteTimeLossModel class offers a basic implementation for all propagation loss models used for LTE networks.
Get the time in which the model has been updated.
References NS_LOG_FUNCTION.
Referenced by ns3::JakesFadingLossModel::GetValue(), and NeedForUpdate().
double ns3::DiscreteTimeLossModel::GetSamplingPeriod | ( | void | ) |
Get the time interval every time the model should be updated.
References NS_LOG_FUNCTION.
Referenced by NeedForUpdate().
TypeId ns3::DiscreteTimeLossModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::DiscreteTimeLossModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::ShadowingLossModel, ns3::JakesFadingLossModel, ns3::PathLossModel, and ns3::PenetrationLossModel.
References ns3::TypeId::SetParent().
void ns3::DiscreteTimeLossModel::SetSamplingPeriod | ( | double | sp | ) |
Set the time interval every time the model should be updated.
sp | the time interval |
References NS_LOG_FUNCTION.
Referenced by ns3::ShadowingLossModel::ShadowingLossModel().