SetGroupName for lr-wpan module

This commit is contained in:
Tommaso Pecorella
2015-03-29 16:43:22 +02:00
parent b2b25df074
commit 4096553768
8 changed files with 8 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ LrWpanCsmaCa::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanCsmaCa")
.SetParent<Object> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanCsmaCa> ()
;
return tid;

View File

@@ -33,6 +33,7 @@ LrWpanErrorModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanErrorModel")
.SetParent<Object> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanErrorModel> ()
;
return tid;

View File

@@ -30,6 +30,7 @@ LrWpanLqiTag::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanLqiTag")
.SetParent<Tag> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanLqiTag> ()
.AddAttribute ("Lqi", "The lqi of the last packet received",
IntegerValue (0),

View File

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

View File

@@ -40,6 +40,7 @@ LrWpanMacTrailer::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanMacTrailer")
.SetParent<Trailer> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanMacTrailer> ()
;
return tid;

View File

@@ -51,6 +51,7 @@ LrWpanMac::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanMac")
.SetParent<Object> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanMac> ()
.AddAttribute ("PanId", "16-bit identifier of the associated PAN",
UintegerValue (),

View File

@@ -45,6 +45,7 @@ LrWpanNetDevice::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanNetDevice")
.SetParent<NetDevice> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanNetDevice> ()
.AddAttribute ("Channel", "The channel attached to this device",
PointerValue (),

View File

@@ -75,6 +75,7 @@ LrWpanPhy::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LrWpanPhy")
.SetParent<Object> ()
.SetGroupName ("LrWpan")
.AddConstructor<LrWpanPhy> ()
.AddTraceSource ("TrxState",
"The state of the transceiver",