#include <uan-prop-model.h>
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) |
Base class for implemented underwater propagation models
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
a | Ptr to mobility model of node a | |
b | Ptr to mobility model of node b | |
mode | TX mode of transmission |
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.
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] |
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.