SetGroupName for buildings module
This commit is contained in:
@@ -51,6 +51,7 @@ GridBuildingAllocator::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::GridBuildingAllocator")
|
||||
.SetParent<Object> ()
|
||||
.AddConstructor<GridBuildingAllocator> ()
|
||||
.SetGroupName ("Buildings")
|
||||
.AddAttribute ("GridWidth", "The number of objects layed out on a line.",
|
||||
UintegerValue (10),
|
||||
MakeUintegerAccessor (&GridBuildingAllocator::m_n),
|
||||
|
||||
@@ -50,7 +50,7 @@ RandomBuildingPositionAllocator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RandomBuildingPositionAllocator")
|
||||
.SetParent<PositionAllocator> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.SetGroupName ("Buildings")
|
||||
.AddConstructor<RandomBuildingPositionAllocator> ()
|
||||
.AddAttribute ("WithReplacement",
|
||||
"If true, the building will be randomly selected with replacement. "
|
||||
@@ -117,7 +117,7 @@ RandomRoomPositionAllocator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RandomRoomPositionAllocator")
|
||||
.SetParent<PositionAllocator> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.SetGroupName ("Buildings")
|
||||
.AddConstructor<RandomRoomPositionAllocator> ();
|
||||
return tid;
|
||||
}
|
||||
@@ -221,7 +221,7 @@ SameRoomPositionAllocator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SameRoomPositionAllocator")
|
||||
.SetParent<PositionAllocator> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.SetGroupName ("Buildings")
|
||||
.AddConstructor<SameRoomPositionAllocator> ();
|
||||
return tid;
|
||||
}
|
||||
@@ -303,7 +303,7 @@ FixedRoomPositionAllocator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::FixedRoomPositionAllocator")
|
||||
.SetParent<PositionAllocator> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.SetGroupName ("Buildings")
|
||||
.AddConstructor<SameRoomPositionAllocator> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ BuildingListPriv::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::BuildingListPriv")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Buildings")
|
||||
.AddAttribute ("BuildingList", "The list of all buildings created during the simulation.",
|
||||
ObjectVectorValue (),
|
||||
MakeObjectVectorAccessor (&BuildingListPriv::m_buildings),
|
||||
|
||||
@@ -41,6 +41,7 @@ Building::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::Building")
|
||||
.SetParent<Object> ()
|
||||
.AddConstructor<Building> ()
|
||||
.SetGroupName ("Buildings")
|
||||
.AddAttribute ("NRoomsX", "The number of rooms in the X axis.",
|
||||
UintegerValue (1),
|
||||
MakeUintegerAccessor (&Building::GetNRoomsX, &Building::SetNRoomsX),
|
||||
|
||||
@@ -65,6 +65,7 @@ BuildingsPropagationLossModel::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::BuildingsPropagationLossModel")
|
||||
|
||||
.SetParent<PropagationLossModel> ()
|
||||
.SetGroupName ("Buildings")
|
||||
|
||||
|
||||
.AddAttribute ("ShadowSigmaOutdoor",
|
||||
|
||||
@@ -66,6 +66,7 @@ HybridBuildingsPropagationLossModel::GetTypeId (void)
|
||||
.SetParent<BuildingsPropagationLossModel> ()
|
||||
|
||||
.AddConstructor<HybridBuildingsPropagationLossModel> ()
|
||||
.SetGroupName ("Buildings")
|
||||
|
||||
.AddAttribute ("Frequency",
|
||||
"The Frequency (default is 2.106 GHz).",
|
||||
|
||||
@@ -41,6 +41,7 @@ ItuR1238PropagationLossModel::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::ItuR1238PropagationLossModel")
|
||||
|
||||
.SetParent<PropagationLossModel> ()
|
||||
.SetGroupName ("Buildings")
|
||||
|
||||
.AddAttribute ("Frequency",
|
||||
"The Frequency (default is 2.106 GHz).",
|
||||
|
||||
@@ -37,7 +37,7 @@ MobilityBuildingInfo::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::MobilityBuildingInfo")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Building")
|
||||
.SetGroupName ("Buildings")
|
||||
.AddConstructor<MobilityBuildingInfo> ();
|
||||
|
||||
return tid;
|
||||
|
||||
@@ -54,6 +54,7 @@ OhBuildingsPropagationLossModel::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::OhBuildingsPropagationLossModel")
|
||||
|
||||
.SetParent<BuildingsPropagationLossModel> ()
|
||||
.SetGroupName ("Buildings")
|
||||
|
||||
.AddConstructor<OhBuildingsPropagationLossModel> ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user