Public Member Functions

ns3::UanPropModel Class Reference

#include <uan-prop-model.h>

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

List of all members.

Public Member Functions

virtual double GetPathLossDb (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode txMode)=0
virtual UanPdp GetPdp (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode)=0
virtual Time GetDelay (Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode)=0
virtual void Clear (void)
virtual void DoDispose (void)

Detailed Description

Base class for implemented underwater propagation models


Member Function Documentation

virtual void ns3::UanPropModel::Clear ( void   )  [virtual]

Clears all pointer references

virtual void ns3::UanPropModel::DoDispose ( void   )  [virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

virtual Time ns3::UanPropModel::GetDelay ( Ptr< MobilityModel a,
Ptr< MobilityModel b,
UanTxMode  mode 
) [pure virtual]

Finds propagation delay between nodes a and b

Parameters:
a Ptr to mobility model of node a
b Ptr to mobility model of node b
mode TX mode of transmission
Returns:
Propagation delay

Implemented in ns3::UanPropModelIdeal, and ns3::UanPropModelThorp.

virtual double ns3::UanPropModel::GetPathLossDb ( Ptr< MobilityModel a,
Ptr< MobilityModel b,
UanTxMode  txMode 
) [pure virtual]

Computes pathloss between nodes a and b.

Returns:
Pathloss in dB re 1 uPa
Parameters:
a Ptr to mobility model of node a
b Ptr to mobility model of node b
txMode TX mode of transmission between a and b

Implemented in ns3::UanPropModelIdeal, and ns3::UanPropModelThorp.

virtual UanPdp ns3::UanPropModel::GetPdp ( Ptr< MobilityModel a,
Ptr< MobilityModel b,
UanTxMode  mode 
) [pure virtual]
Returns:
PDP for link between nodes a and b
Parameters:
a Ptr to mobility model of node a
b Ptr to mobility model of node b
mode TX mode of transmission from a to b

Implemented in ns3::UanPropModelIdeal, and ns3::UanPropModelThorp.


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