documentation: (fixes #2481) Missing or incorrect group names

This commit is contained in:
Alexander Krotov
2016-08-28 08:00:43 -07:00
parent 2f28d0005f
commit cedee9ea0e
7 changed files with 15 additions and 3 deletions

View File

@@ -36,7 +36,8 @@ TypeId
PositionAllocator::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PositionAllocator")
.SetParent<Object> ();
.SetParent<Object> ()
.SetGroupName ("Mobility");
return tid;
}
@@ -55,6 +56,7 @@ ListPositionAllocator::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::ListPositionAllocator")
.SetParent<PositionAllocator> ()
.SetGroupName ("Mobility")
.AddConstructor<ListPositionAllocator> ()
;
return tid;

View File

@@ -43,6 +43,7 @@ PropagationLossModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PropagationLossModel")
.SetParent<Object> ()
.SetGroupName ("Propagation")
;
return tid;
}
@@ -102,6 +103,7 @@ RandomPropagationLossModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::RandomPropagationLossModel")
.SetParent<PropagationLossModel> ()
.SetGroupName ("Propagation")
.AddConstructor<RandomPropagationLossModel> ()
.AddAttribute ("Variable", "The random variable used to pick a loss everytime CalcRxPower is invoked.",
StringValue ("ns3::ConstantRandomVariable[Constant=1.0]"),
@@ -285,6 +287,7 @@ TwoRayGroundPropagationLossModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::TwoRayGroundPropagationLossModel")
.SetParent<PropagationLossModel> ()
.SetGroupName ("Propagation")
.AddConstructor<TwoRayGroundPropagationLossModel> ()
.AddAttribute ("Frequency",
"The carrier frequency (in Hz) at which propagation occurs (default is 5.15 GHz).",
@@ -546,6 +549,7 @@ ThreeLogDistancePropagationLossModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::ThreeLogDistancePropagationLossModel")
.SetParent<PropagationLossModel> ()
.SetGroupName ("Propagation")
.AddConstructor<ThreeLogDistancePropagationLossModel> ()
.AddAttribute ("Distance0",
"Beginning of the first (near) distance field",
@@ -889,6 +893,7 @@ RangePropagationLossModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::RangePropagationLossModel")
.SetParent<PropagationLossModel> ()
.SetGroupName ("Propagation")
.AddConstructor<RangePropagationLossModel> ()
.AddAttribute ("MaxRange",
"Maximum Transmission Range (meters)",

View File

@@ -103,6 +103,7 @@ HalfDuplexIdealPhy::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::HalfDuplexIdealPhy")
.SetParent<SpectrumPhy> ()
.SetGroupName ("Spectrum")
.AddConstructor<HalfDuplexIdealPhy> ()
.AddAttribute ("Rate",
"The PHY rate used by this device",

View File

@@ -32,6 +32,7 @@ PacketFilter::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PacketFilter")
.SetParent<Object> ()
.SetGroupName ("TrafficControl")
;
return tid;
}

View File

@@ -33,6 +33,7 @@ Dcf::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::Dcf")
.SetParent<Object> ()
.SetGroupName ("Wifi")
.AddAttribute ("MinCw", "The minimum value of the contention window.",
UintegerValue (15),
MakeUintegerAccessor (&Dcf::SetMinCw,

View File

@@ -42,7 +42,8 @@ TypeId
WifiSpectrumPhyInterface::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::WifiSpectrumPhyInterface")
.SetParent<SpectrumPhy> ();
.SetParent<SpectrumPhy> ()
.SetGroupName ("Wifi");
return tid;
}

View File

@@ -39,7 +39,7 @@ WifiTxCurrentModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::WifiTxCurrentModel")
.SetParent<Object> ()
.SetGroupName ("Energy")
.SetGroupName ("Wifi")
;
return tid;
}
@@ -68,6 +68,7 @@ LinearWifiTxCurrentModel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::LinearWifiTxCurrentModel")
.SetParent<WifiTxCurrentModel> ()
.SetGroupName ("Wifi")
.AddConstructor<LinearWifiTxCurrentModel> ()
.AddAttribute ("Eta", "The efficiency of the power amplifier.",
DoubleValue (0.10),