SetGroupName for mesh module

This commit is contained in:
Tom Henderson
2015-05-05 19:07:17 -07:00
parent 3720eeeef9
commit d9af1797dc
14 changed files with 21 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ AirtimeLinkMetricCalculator::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::AirtimeLinkMetricCalculator")
.SetParent<Object> ()
.SetGroupName ("Mesh")
.AddConstructor<AirtimeLinkMetricCalculator> ()
.AddAttribute ( "TestLength",
"Rate should be estimated using test length.",

View File

@@ -33,6 +33,7 @@ MeshHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::Dot11sMacHeader")
.SetParent<Header> ()
.SetGroupName ("Mesh")
.AddConstructor<MeshHeader> ();
return tid;
}

View File

@@ -49,6 +49,7 @@ HwmpProtocol::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::HwmpProtocol")
.SetParent<MeshL2RoutingProtocol> ()
.SetGroupName ("Mesh")
.AddConstructor<HwmpProtocol> ()
.AddAttribute ( "RandomStart",
"Random delay at first proactive PREQ",

View File

@@ -39,6 +39,7 @@ HwmpRtable::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::HwmpRtable")
.SetParent<Object> ()
.SetGroupName ("Mesh")
.AddConstructor<HwmpRtable> ();
return tid;
}

View File

@@ -86,7 +86,7 @@ HwmpTag::GetSeqno ()
TypeId
HwmpTag::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::HwmpTag").SetParent<Tag> ().AddConstructor<HwmpTag> ();
static TypeId tid = TypeId ("ns3::dot11s::HwmpTag").SetParent<Tag> ().AddConstructor<HwmpTag> ().SetGroupName ("Mesh");
return tid;
}

View File

@@ -85,8 +85,11 @@ PeerLinkFrameStart::GetFields () const
TypeId
PeerLinkFrameStart::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkFrameStart").SetParent<Header> ().AddConstructor<
PeerLinkFrameStart> ();
static TypeId tid = TypeId ("ns3::dot11s::PeerLinkFrameStart")
.SetParent<Header> ()
.SetGroupName ("Mesh")
.AddConstructor<PeerLinkFrameStart> ()
;
return tid;
}
TypeId

View File

@@ -39,6 +39,7 @@ PeerLink::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::dot11s::PeerLink")
.SetParent<Object> ()
.SetGroupName ("Mesh")
.AddConstructor<PeerLink> ()
.AddAttribute ( "RetryTimeout",
"Retry timeout",

View File

@@ -49,6 +49,7 @@ PeerManagementProtocol::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::dot11s::PeerManagementProtocol")
.SetParent<Object> ()
.SetGroupName ("Mesh")
.AddConstructor<PeerManagementProtocol> ()
// maximum number of peer links. Now we calculate the total
// number of peer links on all interfaces

View File

@@ -40,6 +40,7 @@ FlameHeader::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::flame::FlameHeader")
.SetParent<Header> ()
.SetGroupName ("Mesh")
.AddConstructor<FlameHeader> ();
return tid;
}

View File

@@ -46,7 +46,7 @@ NS_OBJECT_ENSURE_REGISTERED (FlameProtocol);
TypeId
FlameTag::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::flame::FlameTag").SetParent<Tag> ().AddConstructor<FlameTag> ();
static TypeId tid = TypeId ("ns3::flame::FlameTag").SetParent<Tag> ().AddConstructor<FlameTag> ().SetGroupName ("Mesh");
return tid;
}
@@ -110,6 +110,7 @@ FlameProtocol::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::flame::FlameProtocol")
.SetParent<MeshL2RoutingProtocol> ()
.SetGroupName ("Mesh")
.AddConstructor<FlameProtocol> ()
.AddAttribute ( "BroadcastInterval",
"How often we must send broadcast packets",

View File

@@ -38,6 +38,7 @@ FlameRtable::GetTypeId ()
static TypeId tid =
TypeId ("ns3::flame::FlameRtable")
.SetParent<Object> ().AddConstructor<FlameRtable> ()
.SetGroupName ("Mesh")
.AddAttribute ( "Lifetime",
"The lifetime of the routing enrty",
TimeValue (Seconds (120)), MakeTimeAccessor (

View File

@@ -33,7 +33,9 @@ TypeId
MeshL2RoutingProtocol::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::MeshL2RoutingProtocol")
.SetParent<Object> ();
.SetParent<Object> ()
.SetGroupName ("Mesh")
;
return tid;
}

View File

@@ -38,6 +38,7 @@ MeshPointDevice::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::MeshPointDevice")
.SetParent<NetDevice> ()
.SetGroupName ("Dsr")
.AddConstructor<MeshPointDevice> ()
.AddAttribute ("Mtu", "The MAC-level Maximum Transmission Unit",
UintegerValue (0xffff),

View File

@@ -47,6 +47,7 @@ MeshWifiInterfaceMac::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::MeshWifiInterfaceMac")
.SetParent<RegularWifiMac> ()
.SetGroupName ("Mesh")
.AddConstructor<MeshWifiInterfaceMac> ()
.AddAttribute ( "BeaconInterval",
"Beacon Interval",