ns-3
ns3::TraceFadingLossModel Class Reference

fading loss model based on precalculated fading traces More...

#include <trace-fading-loss-model.h>

Inheritance diagram for ns3::TraceFadingLossModel:
Collaboration diagram for ns3::TraceFadingLossModel:

List of all members.

Public Types

typedef std::pair< Ptr< const
MobilityModel >, Ptr< const
MobilityModel > > 
ChannelRealizationId_t
 The couple of mobility mnode that form a fading channel realization.

Public Member Functions

void CreateFadingChannelRealization (Ptr< const MobilityModel > enbMobility, Ptr< const MobilityModel > ueMobility)
 Create a fading channel realization among two device.
- Public Member Functions inherited from ns3::SpectrumPropagationLossModel
void SetNext (Ptr< SpectrumPropagationLossModel > next)
Ptr< SpectrumValueCalcRxPowerSpectralDensity (Ptr< const SpectrumValue > txPsd, Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
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 ()
 This method returns the TypeId associated to ns3::TraceFadingLossModel.

Additional Inherited Members

- Protected Member Functions inherited from ns3::SpectrumPropagationLossModel
virtual void DoDispose ()
- Protected Member Functions inherited from ns3::Object
virtual void NotifyNewAggregate (void)
virtual void DoStart (void)
 Object (const Object &o)

Detailed Description

fading loss model based on precalculated fading traces


Member Function Documentation

void ns3::TraceFadingLossModel::CreateFadingChannelRealization ( Ptr< const MobilityModel enbMobility,
Ptr< const MobilityModel ueMobility 
)

Create a fading channel realization among two device.

Parameters:
enbMobilitymobility object of the enb
ueMobilitymobility object of the ue

References ns3::Time::GetSeconds(), ns3::Now(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by ns3::LteHelper::Attach().

TypeId ns3::TraceFadingLossModel::GetTypeId ( void  )
static

This method returns the TypeId associated to ns3::TraceFadingLossModel.

Attributes defined for this type:

  • TraceFilename: Name of file to load a trace from.
    • Set with class: StringValue
    • Underlying type: std::string
    • Initial value:
    • Flags: construct write
  • TraceLength: The total length of the fading trace (default value 10 s.)
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: +10000000000.0ns
    • Flags: construct write
  • SamplesNum: The number of samples the trace is made of (default 10000)
  • WindowSize: The size of the window for the fading trace (default value 0.5 s.)
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: +500000000.0ns
    • Flags: construct write read
  • RbNum: The number of RB the trace is made of (default 100)

No TraceSources defined for this type.

Reimplemented from ns3::SpectrumPropagationLossModel.

References ns3::Seconds(), and ns3::TypeId::SetParent().


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