mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-10 02:51:42 +02:00
fixup: Set type id of factory
This commit is contained in:
parent
9f3318a96e
commit
ff67569f92
1 changed files with 3 additions and 2 deletions
|
@ -32,6 +32,9 @@ LeoChannelHelper::LeoChannelHelper ()
|
|||
m_satDeviceFactory.Set ("DeviceType", EnumValue (LeoMockNetDevice::SAT));
|
||||
|
||||
m_channelFactory.SetTypeId ("ns3::LeoMockChannel");
|
||||
|
||||
m_propagationLossFactory.SetTypeId ("ns3::LeoPropagationLossModel");
|
||||
|
||||
}
|
||||
|
||||
LeoChannelHelper::LeoChannelHelper (std::string constellation) :
|
||||
|
@ -119,8 +122,6 @@ LeoChannelHelper::SetConstellationAttributes (double eirp,
|
|||
m_gndDeviceFactory.Set ("DataRate", DoubleValue (dataRate));
|
||||
m_satDeviceFactory.Set ("DataRate", DoubleValue (dataRate));
|
||||
|
||||
m_propagationLossFactory.SetTypeId ("ns3::LeoPropagationLossModel");
|
||||
|
||||
m_propagationLossFactory.Set ("ElevationAngle", DoubleValue (elevationAngle));
|
||||
m_propagationLossFactory.Set ("FreeSpaceLoss", DoubleValue (fspl));
|
||||
m_propagationLossFactory.Set ("AtmosphericLoss", DoubleValue (atmosphericLoss));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue