propagation: Fix a6a97ab5 and redeclare DoCalcRxPower() as private

This commit is contained in:
Eduardo Almeida
2021-12-17 23:23:46 +00:00
committed by Tom Henderson
parent 8569864c6b
commit 0001916d89

View File

@@ -112,7 +112,15 @@ public:
protected:
/**
* Returns the Rx Power taking into account only the particular
* Subclasses must implement this; those not using random variables
* can return zero
* \param stream the stream index offset start
* \return the number of stream indices assigned by this model
*/
virtual int64_t DoAssignStreams (int64_t stream) = 0;
private:
/**
* PropagationLossModel.
*
* \param txPowerDbm current transmission power (in dBm)
@@ -124,15 +132,6 @@ protected:
Ptr<MobilityModel> a,
Ptr<MobilityModel> b) const = 0;
/**
* Subclasses must implement this; those not using random variables
* can return zero
* \param stream the stream index offset start
* \return the number of stream indices assigned by this model
*/
virtual int64_t DoAssignStreams (int64_t stream) = 0;
private:
Ptr<PropagationLossModel> m_next; //!< Next propagation loss model in the list
};