From 195ae8ef127647aff49a18752b996ab8d86d0d3c Mon Sep 17 00:00:00 2001 From: Natale Patriciello Date: Wed, 1 Apr 2020 18:52:36 +0200 Subject: [PATCH] propagation: The AlwaysLos and NeverLos channel condition models are now usable with ObjectFactories --- src/propagation/model/channel-condition-model.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/propagation/model/channel-condition-model.cc b/src/propagation/model/channel-condition-model.cc index a62e21c9e..9f4f6d83b 100644 --- a/src/propagation/model/channel-condition-model.cc +++ b/src/propagation/model/channel-condition-model.cc @@ -93,6 +93,7 @@ AlwaysLosChannelConditionModel::GetTypeId (void) static TypeId tid = TypeId ("ns3::AlwaysLosChannelConditionModel") .SetParent () .SetGroupName ("Propagation") + .AddConstructor () ; return tid; } @@ -134,6 +135,7 @@ NeverLosChannelConditionModel::GetTypeId (void) static TypeId tid = TypeId ("ns3::NeverLosChannelConditionModel") .SetParent () .SetGroupName ("Propagation") + .AddConstructor () ; return tid; }