Container for Building class. More...
#include "building-list.h"
Public Types | |
typedef std::vector< Ptr< Building > >::const_iterator | Iterator |
Const Iterator. More... | |
Static Public Member Functions | |
static uint32_t | Add (Ptr< Building > building) |
static Iterator | Begin () |
static Iterator | End () |
static Ptr< Building > | GetBuilding (uint32_t n) |
static uint32_t | GetNBuildings () |
Container for Building class.
Definition at line 37 of file building-list.h.
typedef std::vector<Ptr<Building> >::const_iterator ns3::BuildingList::Iterator |
Const Iterator.
Definition at line 41 of file building-list.h.
building | building to add |
This method is called automatically from Building::Building so the user has little reason to call it himself.
Definition at line 218 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::Building::Building().
|
static |
Definition at line 224 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::ThreeGppV2vHighwayChannelConditionModel::GetChCondAndFixCallback(), ns3::BuildingContainer::GetGlobal(), ns3::RandomBuildingPositionAllocator::GetNext(), ns3::OutdoorPositionAllocator::GetNext(), ns3::RandomRoomPositionAllocator::GetNext(), ns3::RandomWalk2dOutdoorMobilityModel::IsLineClearOfBuildings(), ns3::BuildingsChannelConditionModel::IsLineOfSightBlocked(), ns3::MobilityBuildingInfo::MakeConsistent(), and PrintGnuplottableBuildingListToFile().
|
static |
Definition at line 230 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::ThreeGppV2vHighwayChannelConditionModel::GetChCondAndFixCallback(), ns3::BuildingContainer::GetGlobal(), ns3::RandomBuildingPositionAllocator::GetNext(), ns3::OutdoorPositionAllocator::GetNext(), ns3::RandomRoomPositionAllocator::GetNext(), ns3::RandomWalk2dOutdoorMobilityModel::IsLineClearOfBuildings(), ns3::BuildingsChannelConditionModel::IsLineOfSightBlocked(), ns3::MobilityBuildingInfo::MakeConsistent(), and PrintGnuplottableBuildingListToFile().
n | index of requested building. |
Definition at line 236 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::RandomBuildingPositionAllocator::GetNext().
|
static |
Definition at line 242 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::RandomBuildingPositionAllocator::GetNext(), ns3::OutdoorPositionAllocator::GetNext(), and ns3::RandomRoomPositionAllocator::GetNext().