#include <buildings-propagation-loss-model.h>
Classes | |
class | ShadowingLoss |
Public Member Functions | |
BuildingsPropagationLossModel () | |
virtual double | DoCalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
virtual double | GetLoss (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const =0 |
![]() | |
PropagationLossModel () | |
virtual | ~PropagationLossModel () |
int64_t | AssignStreams (int64_t stream) |
double | CalcRxPower (double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
Ptr< PropagationLossModel > | GetNext () |
Gets the next PropagationLossModel in the chain of loss models that act on the signal. | |
void | SetNext (Ptr< PropagationLossModel > next) |
Enables a chain of loss models to act on the signal. | |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Protected Member Functions | |
virtual int64_t | DoAssignStreams (int64_t stream) |
double | EvaluateSigma (Ptr< BuildingsMobilityModel > a, Ptr< BuildingsMobilityModel > b) const |
double | ExternalWallLoss (Ptr< BuildingsMobilityModel > a) const |
double | GetShadowing (Ptr< MobilityModel > a, Ptr< MobilityModel > b) const |
double | HeightLoss (Ptr< BuildingsMobilityModel > n) const |
double | InternalWallsLoss (Ptr< BuildingsMobilityModel > a, Ptr< BuildingsMobilityModel > b) const |
Protected Attributes | |
double | m_lossInternalWall |
Ptr< NormalRandomVariable > | m_randVariable |
std::map< Ptr< MobilityModel > , std::map< Ptr< MobilityModel > , ShadowingLoss > > | m_shadowingLossMap |
double | m_shadowingSigmaExtWalls |
double | m_shadowingSigmaIndoor |
double | m_shadowingSigmaOutdoor |
This model provides means for simulating the following propagation phenomena in the presence of buildings:
The distance-dependent component of propagation loss is deferred to derived classes which are expected to implement the GetLoss method.
ns3::BuildingsPropagationLossModel is accessible through the following paths with Config::Set and Config::Connect:
No TraceSources are defined for this type.
Definition at line 55 of file buildings-propagation-loss-model.h.
ns3::BuildingsPropagationLossModel::BuildingsPropagationLossModel | ( | ) |
Definition at line 97 of file buildings-propagation-loss-model.cc.
References m_randVariable.
|
protectedvirtual |
Subclasses must implement this; those not using random variables can return zero
Implements ns3::PropagationLossModel.
Definition at line 222 of file buildings-propagation-loss-model.cc.
References m_randVariable, and ns3::RandomVariableStream::SetStream().
|
virtual |
Implements ns3::PropagationLossModel.
Definition at line 216 of file buildings-propagation-loss-model.cc.
References GetLoss(), and GetShadowing().
|
protected |
Definition at line 187 of file buildings-propagation-loss-model.cc.
References ns3::BuildingsMobilityModel::IsIndoor(), ns3::BuildingsMobilityModel::IsOutdoor(), m_shadowingSigmaExtWalls, m_shadowingSigmaIndoor, and m_shadowingSigmaOutdoor.
Referenced by GetShadowing().
|
protected |
Definition at line 103 of file buildings-propagation-loss-model.cc.
References ns3::Building::ConcreteWithoutWindows, ns3::Building::ConcreteWithWindows, ns3::BuildingsMobilityModel::GetBuilding(), ns3::Building::GetExtWallsType(), ns3::Building::StoneBlocks, and ns3::Building::Wood.
Referenced by ns3::OhBuildingsPropagationLossModel::GetLoss(), and ns3::HybridBuildingsPropagationLossModel::GetLoss().
|
pure virtual |
a | the mobility model of the source |
b | the mobility model of the destination |
Implemented in ns3::HybridBuildingsPropagationLossModel, and ns3::OhBuildingsPropagationLossModel.
Referenced by DoCalcRxPower(), and GetShadowing().
|
protected |
Definition at line 148 of file buildings-propagation-loss-model.cc.
References EvaluateSigma(), GetLoss(), ns3::NormalRandomVariable::GetValue(), m_randVariable, m_shadowingLossMap, and NS_ASSERT_MSG.
Referenced by DoCalcRxPower().
|
static |
Reimplemented from ns3::PropagationLossModel.
Reimplemented in ns3::HybridBuildingsPropagationLossModel, and ns3::OhBuildingsPropagationLossModel.
Definition at line 63 of file buildings-propagation-loss-model.cc.
References m_lossInternalWall, m_shadowingSigmaExtWalls, m_shadowingSigmaIndoor, m_shadowingSigmaOutdoor, and ns3::TypeId::SetParent().
|
protected |
Definition at line 127 of file buildings-propagation-loss-model.cc.
References ns3::BuildingsMobilityModel::GetFloorNumber().
Referenced by ns3::HybridBuildingsPropagationLossModel::GetLoss().
|
protected |
Definition at line 137 of file buildings-propagation-loss-model.cc.
References ns3::BuildingsMobilityModel::GetRoomNumberX(), ns3::BuildingsMobilityModel::GetRoomNumberY(), and m_lossInternalWall.
Referenced by ns3::OhBuildingsPropagationLossModel::GetLoss(), and ns3::HybridBuildingsPropagationLossModel::GetLoss().
|
protected |
Definition at line 79 of file buildings-propagation-loss-model.h.
Referenced by GetTypeId(), and InternalWallsLoss().
|
protected |
Definition at line 101 of file buildings-propagation-loss-model.h.
Referenced by BuildingsPropagationLossModel(), DoAssignStreams(), and GetShadowing().
|
mutableprotected |
Definition at line 94 of file buildings-propagation-loss-model.h.
Referenced by GetShadowing().
|
protected |
Definition at line 98 of file buildings-propagation-loss-model.h.
Referenced by EvaluateSigma(), and GetTypeId().
|
protected |
Definition at line 100 of file buildings-propagation-loss-model.h.
Referenced by EvaluateSigma(), and GetTypeId().
|
protected |
Definition at line 99 of file buildings-propagation-loss-model.h.
Referenced by EvaluateSigma(), and GetTypeId().