SetGroupName for spectrum module
This commit is contained in:
@@ -33,6 +33,7 @@ AlohaNoackMacHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::AlohaNoackMacHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<AlohaNoackMacHeader> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -60,6 +60,7 @@ AlohaNoackNetDevice::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::AlohaNoackNetDevice")
|
||||
.SetParent<NetDevice> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<AlohaNoackNetDevice> ()
|
||||
.AddAttribute ("Address",
|
||||
"The MAC address of this device.",
|
||||
|
||||
@@ -47,6 +47,7 @@ ConstantSpectrumPropagationLossModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ConstantSpectrumPropagationLossModel")
|
||||
.SetParent<SpectrumPropagationLossModel> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<ConstantSpectrumPropagationLossModel> ()
|
||||
.AddAttribute ("Loss",
|
||||
"Path loss (dB) between transmitter and receiver",
|
||||
|
||||
@@ -42,6 +42,7 @@ FriisSpectrumPropagationLossModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::FriisSpectrumPropagationLossModel")
|
||||
.SetParent<SpectrumPropagationLossModel> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<FriisSpectrumPropagationLossModel> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -97,6 +97,7 @@ MultiModelSpectrumChannel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::MultiModelSpectrumChannel")
|
||||
.SetParent<SpectrumChannel> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<MultiModelSpectrumChannel> ()
|
||||
.AddAttribute ("MaxLossDb",
|
||||
"If a single-frequency PropagationLossModel is used, "
|
||||
|
||||
@@ -40,6 +40,7 @@ NonCommunicatingNetDevice::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::NonCommunicatingNetDevice")
|
||||
.SetParent<NetDevice> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<NonCommunicatingNetDevice> ()
|
||||
.AddAttribute ("Phy", "The PHY layer attached to this device.",
|
||||
PointerValue (),
|
||||
|
||||
@@ -67,6 +67,7 @@ SingleModelSpectrumChannel::GetTypeId (void)
|
||||
NS_LOG_FUNCTION_NOARGS ();
|
||||
static TypeId tid = TypeId ("ns3::SingleModelSpectrumChannel")
|
||||
.SetParent<SpectrumChannel> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<SingleModelSpectrumChannel> ()
|
||||
.AddAttribute ("MaxLossDb",
|
||||
"If a single-frequency PropagationLossModel is used, "
|
||||
|
||||
@@ -71,6 +71,7 @@ SpectrumAnalyzer::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SpectrumAnalyzer")
|
||||
.SetParent<SpectrumPhy> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<SpectrumAnalyzer> ()
|
||||
.AddAttribute ("Resolution",
|
||||
"The lengh of the time interval over which the "
|
||||
|
||||
@@ -31,6 +31,7 @@ SpectrumChannel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SpectrumChannel")
|
||||
.SetParent<Channel> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ SpectrumErrorModel::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SpectrumErrorModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ SpectrumPhy::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SpectrumPhy")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ SpectrumPropagationLossModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SpectrumPropagationLossModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,7 @@ WaveformGenerator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::WaveformGenerator")
|
||||
.SetParent<SpectrumPhy> ()
|
||||
.SetGroupName ("Spectrum")
|
||||
.AddConstructor<WaveformGenerator> ()
|
||||
.AddAttribute ("Period",
|
||||
"the period (=1/frequency)",
|
||||
|
||||
Reference in New Issue
Block a user