register missing constructors
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed Jun 10 11:13:49 2009 +0200 (8 months ago)
changeset 454349927f942aea
parent 4542 7a1359808b0e
child 4544 68d6cf654acb
child 4545 a75eb3b66882
register missing constructors
src/devices/bridge/bridge-channel.cc
src/devices/wifi/wifi-net-device.cc
src/internet-stack/ipv4-list-routing-impl.cc
src/internet-stack/ipv4-static-routing-impl.cc
     1.1 --- a/src/devices/bridge/bridge-channel.cc	Wed Jun 10 08:36:51 2009 +0200
     1.2 +++ b/src/devices/bridge/bridge-channel.cc	Wed Jun 10 11:13:49 2009 +0200
     1.3 @@ -29,7 +29,9 @@
     1.4  BridgeChannel::GetTypeId (void)
     1.5  {
     1.6    static TypeId tid = TypeId ("ns3::BridgeChannel")
     1.7 -    .SetParent<Channel> ();
     1.8 +    .SetParent<Channel> ()
     1.9 +    .AddConstructor<BridgeChannel> ()
    1.10 +    ;
    1.11    return tid;
    1.12  }
    1.13  
     2.1 --- a/src/devices/wifi/wifi-net-device.cc	Wed Jun 10 08:36:51 2009 +0200
     2.2 +++ b/src/devices/wifi/wifi-net-device.cc	Wed Jun 10 11:13:49 2009 +0200
     2.3 @@ -38,6 +38,7 @@
     2.4  {
     2.5    static TypeId tid = TypeId ("ns3::WifiNetDevice")
     2.6      .SetParent<NetDevice> ()
     2.7 +    .AddConstructor<WifiNetDevice> ()
     2.8      .AddAttribute ("Channel", "The channel attached to this device",
     2.9                     PointerValue (),
    2.10                     MakePointerAccessor (&WifiNetDevice::DoGetChannel),
     3.1 --- a/src/internet-stack/ipv4-list-routing-impl.cc	Wed Jun 10 08:36:51 2009 +0200
     3.2 +++ b/src/internet-stack/ipv4-list-routing-impl.cc	Wed Jun 10 11:13:49 2009 +0200
     3.3 @@ -35,6 +35,7 @@
     3.4  {
     3.5    static TypeId tid = TypeId ("ns3::Ipv4ListRoutingImpl")
     3.6      .SetParent<Ipv4ListRouting> ()
     3.7 +    .AddConstructor<Ipv4ListRoutingImpl> ()
     3.8      ;
     3.9    return tid;
    3.10  }
     4.1 --- a/src/internet-stack/ipv4-static-routing-impl.cc	Wed Jun 10 08:36:51 2009 +0200
     4.2 +++ b/src/internet-stack/ipv4-static-routing-impl.cc	Wed Jun 10 11:13:49 2009 +0200
     4.3 @@ -36,6 +36,7 @@
     4.4  {
     4.5    static TypeId tid = TypeId ("ns3::Ipv4StaticRoutingImpl")
     4.6      .SetParent<Ipv4StaticRouting> ()
     4.7 +    .AddConstructor<Ipv4StaticRoutingImpl> ()
     4.8      ;
     4.9    return tid;
    4.10  }