register missing constructors

This commit is contained in:
Mathieu Lacage
2009-06-10 11:13:49 +02:00
parent f58cfa0e5f
commit 282f653bed
4 changed files with 6 additions and 1 deletions

View File

@@ -29,7 +29,9 @@ TypeId
BridgeChannel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::BridgeChannel")
.SetParent<Channel> ();
.SetParent<Channel> ()
.AddConstructor<BridgeChannel> ()
;
return tid;
}

View File

@@ -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),

View File

@@ -35,6 +35,7 @@ Ipv4ListRoutingImpl::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::Ipv4ListRoutingImpl")
.SetParent<Ipv4ListRouting> ()
.AddConstructor<Ipv4ListRoutingImpl> ()
;
return tid;
}

View File

@@ -36,6 +36,7 @@ Ipv4StaticRoutingImpl::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::Ipv4StaticRoutingImpl")
.SetParent<Ipv4StaticRouting> ()
.AddConstructor<Ipv4StaticRoutingImpl> ()
;
return tid;
}