A Discrete-Event Network Simulator
API
FemtocellBlockAllocator Class Reference
+ Collaboration diagram for FemtocellBlockAllocator:

Public Member Functions

 FemtocellBlockAllocator (Box area, uint32_t nApartmentsX, uint32_t nFloors)
 
void Create (uint32_t n)
 
void Create ()
 

Private Member Functions

bool OverlapsWithAnyPrevious (Box)
 

Private Attributes

Box m_area
 
uint32_t m_nApartmentsX
 
uint32_t m_nFloors
 
std::list< Boxm_previousBlocks
 
Ptr< UniformRandomVariablem_xMinVar
 
double m_xSize
 
Ptr< UniformRandomVariablem_yMinVar
 
double m_ySize
 

Detailed Description

Definition at line 50 of file lena-dual-stripe.cc.

Constructor & Destructor Documentation

FemtocellBlockAllocator::FemtocellBlockAllocator ( Box  area,
uint32_t  nApartmentsX,
uint32_t  nFloors 
)

Definition at line 70 of file lena-dual-stripe.cc.

References m_xMinVar, m_xSize, m_yMinVar, m_ySize, ns3::ObjectBase::SetAttribute(), ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, and ns3::Box::yMin.

+ Here is the call graph for this function:

Member Function Documentation

void FemtocellBlockAllocator::Create ( uint32_t  n)

Definition at line 86 of file lena-dual-stripe.cc.

References Create().

+ Here is the call graph for this function:

bool FemtocellBlockAllocator::OverlapsWithAnyPrevious ( Box  box)
private

Definition at line 129 of file lena-dual-stripe.cc.

References AreOverlapping(), and m_previousBlocks.

Referenced by Create().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Box FemtocellBlockAllocator::m_area
private

Definition at line 59 of file lena-dual-stripe.cc.

uint32_t FemtocellBlockAllocator::m_nApartmentsX
private

Definition at line 60 of file lena-dual-stripe.cc.

Referenced by Create().

uint32_t FemtocellBlockAllocator::m_nFloors
private

Definition at line 61 of file lena-dual-stripe.cc.

Referenced by Create().

std::list<Box> FemtocellBlockAllocator::m_previousBlocks
private

Definition at line 62 of file lena-dual-stripe.cc.

Referenced by Create(), and OverlapsWithAnyPrevious().

Ptr<UniformRandomVariable> FemtocellBlockAllocator::m_xMinVar
private

Definition at line 65 of file lena-dual-stripe.cc.

Referenced by Create(), and FemtocellBlockAllocator().

double FemtocellBlockAllocator::m_xSize
private

Definition at line 63 of file lena-dual-stripe.cc.

Referenced by Create(), and FemtocellBlockAllocator().

Ptr<UniformRandomVariable> FemtocellBlockAllocator::m_yMinVar
private

Definition at line 66 of file lena-dual-stripe.cc.

Referenced by Create(), and FemtocellBlockAllocator().

double FemtocellBlockAllocator::m_ySize
private

Definition at line 64 of file lena-dual-stripe.cc.

Referenced by Create(), and FemtocellBlockAllocator().


The documentation for this class was generated from the following file: