SetGroupName for mesh module
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -33,6 +33,7 @@ MeshHeader::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Dot11sMacHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Mesh")
|
||||
.AddConstructor<MeshHeader> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -39,6 +39,7 @@ HwmpRtable::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::dot11s::HwmpRtable")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Mesh")
|
||||
.AddConstructor<HwmpRtable> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -39,6 +39,7 @@ PeerLink::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::dot11s::PeerLink")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Mesh")
|
||||
.AddConstructor<PeerLink> ()
|
||||
.AddAttribute ( "RetryTimeout",
|
||||
"Retry timeout",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -40,6 +40,7 @@ FlameHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::flame::FlameHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Mesh")
|
||||
.AddConstructor<FlameHeader> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -33,7 +33,9 @@ TypeId
|
||||
MeshL2RoutingProtocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::MeshL2RoutingProtocol")
|
||||
.SetParent<Object> ();
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Mesh")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -47,6 +47,7 @@ MeshWifiInterfaceMac::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::MeshWifiInterfaceMac")
|
||||
.SetParent<RegularWifiMac> ()
|
||||
.SetGroupName ("Mesh")
|
||||
.AddConstructor<MeshWifiInterfaceMac> ()
|
||||
.AddAttribute ( "BeaconInterval",
|
||||
"Beacon Interval",
|
||||
|
||||
Reference in New Issue
Block a user