ns3::DiscreteTimeLossModel Class Reference

The DiscreteTimeLossModel class offers a basic implementation for all propagation loss models used for LTE networks. More...

#include <discrete-time-loss-model.h>

Inheritance diagram for ns3::DiscreteTimeLossModel:
Inheritance graph
[legend]
Collaboration diagram for ns3::DiscreteTimeLossModel:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

The DiscreteTimeLossModel class offers a basic implementation for all propagation loss models used for LTE networks.


Member Function Documentation

Time ns3::DiscreteTimeLossModel::GetLastUpdate ( void   ) 

Get the time in which the model has been updated.

Returns:
the time instant in which the model have been updated
double ns3::DiscreteTimeLossModel::GetSamplingPeriod ( void   ) 

Get the time interval every time the model should be updated.

Returns:
the time interval
static 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:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::DiscreteTimeLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::DiscreteTimeLossModel

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

Reimplemented in ns3::JakesFadingLossModel, ns3::PathLossModel, ns3::PenetrationLossModel, and ns3::ShadowingLossModel.

void ns3::DiscreteTimeLossModel::SetSamplingPeriod ( double  sp  ) 

Set the time interval every time the model should be updated.

Parameters:
sp the time interval

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

Generated on 6 Jan 2011 for NS-3 by  doxygen 1.6.1