Allocate positions on a rectangular 2d grid.
This method returns the TypeId associated to ns3::GridPositionAllocator.
This object is accessible through the following paths with Config::Set and Config::Connect:
-
/NodeList/[i]/$ns3::MobilityModel/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::HierarchicalMobilityModel/Child/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::HierarchicalMobilityModel/Parent/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::MobilityModel/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::HierarchicalMobilityModel/Child/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::HierarchicalMobilityModel/Parent/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::MobilityModel/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::PositionAllocator/$ns3::GridPositionAllocator
-
/NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::GridPositionAllocator
Attributes defined for this type:
-
GridWidth: The number of objects layed out on a line.
-
MinX: The x coordinate where the grid starts.
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 1
-
Flags: construct write read
-
MinY: The y coordinate where the grid starts.
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 0
-
Flags: construct write read
-
DeltaX: The x space between objects.
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 1
-
Flags: construct write read
-
DeltaY: The y space between objects.
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 1
-
Flags: construct write read
-
LayoutType: The type of layout.
-
Set with class: ns3::EnumValue
-
Underlying type: RowFirst|ColumnFirst
-
Initial value: RowFirst
-
Flags: construct write read
No TraceSources defined for this type.
Reimplemented from ns3::PositionAllocator.
References COLUMN_FIRST, ROW_FIRST, and ns3::TypeId::SetParent().