SetGroupName for aodv module

This commit is contained in:
Mohit Goyal
2015-03-27 08:19:31 -07:00
parent c68cfb15ed
commit b7142a8384
2 changed files with 7 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ TypeHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::aodv::TypeHeader")
.SetParent<Header> ()
.SetGroupName("Aodv")
.AddConstructor<TypeHeader> ()
;
return tid;
@@ -153,6 +154,7 @@ RreqHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::aodv::RreqHeader")
.SetParent<Header> ()
.SetGroupName("Aodv")
.AddConstructor<RreqHeader> ()
;
return tid;
@@ -292,6 +294,7 @@ RrepHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::aodv::RrepHeader")
.SetParent<Header> ()
.SetGroupName("Aodv")
.AddConstructor<RrepHeader> ()
;
return tid;
@@ -434,6 +437,7 @@ RrepAckHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::aodv::RrepAckHeader")
.SetParent<Header> ()
.SetGroupName("Aodv")
.AddConstructor<RrepAckHeader> ()
;
return tid;
@@ -500,6 +504,7 @@ RerrHeader::GetTypeId ()
{
static TypeId tid = TypeId ("ns3::aodv::RerrHeader")
.SetParent<Header> ()
.SetGroupName("Aodv")
.AddConstructor<RerrHeader> ()
;
return tid;

View File

@@ -67,6 +67,7 @@ public:
{
static TypeId tid = TypeId ("ns3::aodv::DeferredRouteOutputTag").SetParent<Tag> ()
.SetParent<Tag> ()
.SetGroupName("Aodv")
.AddConstructor<DeferredRouteOutputTag> ()
;
return tid;
@@ -158,6 +159,7 @@ RoutingProtocol::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::aodv::RoutingProtocol")
.SetParent<Ipv4RoutingProtocol> ()
.SetGroupName("Aodv")
.AddConstructor<RoutingProtocol> ()
.AddAttribute ("HelloInterval", "HELLO messages emission interval.",
TimeValue (Seconds (1)),