#include <spectrum-phy.h>
Public Member Functions | |
SpectrumPhy () | |
virtual | ~SpectrumPhy () |
virtual Ptr< NetDevice > | GetDevice ()=0 |
virtual Ptr< MobilityModel > | GetMobility ()=0 |
virtual Ptr< AntennaModel > | GetRxAntenna ()=0 |
virtual Ptr< const SpectrumModel > | GetRxSpectrumModel () const =0 |
virtual void | SetChannel (Ptr< SpectrumChannel > c)=0 |
virtual void | SetDevice (Ptr< NetDevice > d)=0 |
virtual void | SetMobility (Ptr< MobilityModel > m)=0 |
virtual void | StartRx (Ptr< SpectrumSignalParameters > params)=0 |
![]() | |
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 | Start (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) |
This method returns the TypeId associated to ns3::SpectrumPhy. |
Private Member Functions | |
SpectrumPhy (SpectrumPhy const &) | |
SpectrumPhy & | operator= (SpectrumPhy const &) |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
Abstract base class for Spectrum-aware PHY layers
Definition at line 45 of file spectrum-phy.h.
ns3::SpectrumPhy::SpectrumPhy | ( | ) |
Definition at line 45 of file spectrum-phy.cc.
References NS_LOG_FUNCTION.
|
virtual |
Definition at line 50 of file spectrum-phy.cc.
References NS_LOG_FUNCTION.
|
private |
get the associated NetDevice instance
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by DownlinkGlobalPathlossDatabase::UpdatePathloss(), and UplinkGlobalPathlossDatabase::UpdatePathloss().
|
pure virtual |
get the associated MobilityModel instance
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by GlobalPathlossDatabase::UpdatePathloss().
|
pure virtual |
get the AntennaModel used by the NetDevice for reception
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
|
pure virtual |
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by ns3::MultiModelSpectrumChannel::AddRx().
|
static |
This method returns the TypeId associated to ns3::SpectrumPhy.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Definition at line 37 of file spectrum-phy.cc.
References ns3::TypeId::SetParent().
|
private |
|
pure virtual |
Set the channel attached to this device.
c | the channel |
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by ns3::SpectrumPhyHelper::Create().
set the associated NetDevice instance
d | the NetDevice instance |
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by ns3::SpectrumPhyHelper::Create().
|
pure virtual |
Set the mobility model associated with this device.
m | the mobility model |
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by ns3::SpectrumPhyHelper::Create().
|
pure virtual |
Notify the SpectrumPhy instance of an incoming signal
params | the parameters of the signals being received |
Implemented in ns3::LteSpectrumPhy, ns3::HalfDuplexIdealPhy, ns3::RemSpectrumPhy, ns3::WaveformGenerator, and ns3::SpectrumAnalyzer.
Referenced by ns3::SingleModelSpectrumChannel::StartRx(), and ns3::MultiModelSpectrumChannel::StartRx().