Merge branch 'add-get-prop-model'
Close !262 * add-get-prop-model: spectum: Fixes style of the last change on spectrum-channel.cc spectrum: Retrieve a pointer to the propagation model
This commit is contained in:
@@ -149,5 +149,11 @@ SpectrumChannel::GetSpectrumPropagationLossModel (void)
|
||||
return m_spectrumPropagationLoss;
|
||||
}
|
||||
|
||||
Ptr<PropagationLossModel>
|
||||
SpectrumChannel::GetPropagationLossModel ()
|
||||
{
|
||||
return m_propagationLoss;
|
||||
}
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -95,7 +95,11 @@ public:
|
||||
*/
|
||||
Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (void);
|
||||
|
||||
|
||||
/**
|
||||
* Get the propagation loss model.
|
||||
* \returns a pointer to the propagation loss model.
|
||||
*/
|
||||
Ptr<PropagationLossModel> GetPropagationLossModel (void);
|
||||
|
||||
/**
|
||||
* Used by attached PHY instances to transmit signals on the channel
|
||||
|
||||
Reference in New Issue
Block a user