register missing constructors
This commit is contained in:
@@ -29,7 +29,9 @@ TypeId
|
||||
BridgeChannel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::BridgeChannel")
|
||||
.SetParent<Channel> ();
|
||||
.SetParent<Channel> ()
|
||||
.AddConstructor<BridgeChannel> ()
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ WifiNetDevice::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::WifiNetDevice")
|
||||
.SetParent<NetDevice> ()
|
||||
.AddConstructor<WifiNetDevice> ()
|
||||
.AddAttribute ("Channel", "The channel attached to this device",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&WifiNetDevice::DoGetChannel),
|
||||
|
||||
@@ -35,6 +35,7 @@ Ipv4ListRoutingImpl::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4ListRoutingImpl")
|
||||
.SetParent<Ipv4ListRouting> ()
|
||||
.AddConstructor<Ipv4ListRoutingImpl> ()
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ Ipv4StaticRoutingImpl::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4StaticRoutingImpl")
|
||||
.SetParent<Ipv4StaticRouting> ()
|
||||
.AddConstructor<Ipv4StaticRoutingImpl> ()
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user