equal
deleted
inserted
replaced
31 namespace ns3 { |
31 namespace ns3 { |
32 |
32 |
33 TypeId |
33 TypeId |
34 WifiNetDevice::GetTypeId (void) |
34 WifiNetDevice::GetTypeId (void) |
35 { |
35 { |
36 static TypeId tid = TypeId ("WifiNetDevice") |
36 static TypeId tid = TypeId ("ns3::WifiNetDevice") |
37 .SetParent<NetDevice> () |
37 .SetParent<NetDevice> () |
38 .AddAttribute ("Channel", "XXX", |
38 .AddAttribute ("Channel", "XXX", |
39 Ptr<Channel> (0), |
39 Ptr<Channel> (0), |
40 MakePtrAccessor (&WifiNetDevice::GetChannel), |
40 MakePtrAccessor (&WifiNetDevice::GetChannel), |
41 MakePtrChecker<Channel> ()) |
41 MakePtrChecker<Channel> ()) |