Signal parameters for HalfDuplexIdealPhy. More...
#include "half-duplex-ideal-phy-signal-parameters.h"
Public Member Functions | |
HalfDuplexIdealPhySignalParameters () | |
default constructor More... | |
HalfDuplexIdealPhySignalParameters (const HalfDuplexIdealPhySignalParameters &p) | |
copy constructor More... | |
virtual Ptr< SpectrumSignalParameters > | Copy () |
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is a derived class of SpectrumSignalParameters, then the copy is also a derived class of the same type. More... | |
Public Member Functions inherited from ns3::SpectrumSignalParameters | |
SpectrumSignalParameters () | |
default constructor More... | |
SpectrumSignalParameters (const SpectrumSignalParameters &p) | |
copy constructor More... | |
virtual | ~SpectrumSignalParameters () |
destructor More... | |
Public Member Functions inherited from ns3::SimpleRefCount< SpectrumSignalParameters > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Public Attributes | |
Ptr< Packet > | data |
The data packet being transmitted with this signal. More... | |
Public Attributes inherited from ns3::SpectrumSignalParameters | |
Time | duration |
The duration of the packet transmission. More... | |
Ptr< SpectrumValue > | psd |
The Power Spectral Density of the waveform, in linear units. More... | |
Ptr< AntennaModel > | txAntenna |
The AntennaModel instance that was used to transmit this signal. More... | |
Ptr< SpectrumPhy > | txPhy |
The SpectrumPhy instance that is making the transmission. More... | |
Signal parameters for HalfDuplexIdealPhy.
Definition at line 36 of file half-duplex-ideal-phy-signal-parameters.h.
ns3::HalfDuplexIdealPhySignalParameters::HalfDuplexIdealPhySignalParameters | ( | ) |
default constructor
Definition at line 30 of file half-duplex-ideal-phy-signal-parameters.cc.
References NS_LOG_FUNCTION.
ns3::HalfDuplexIdealPhySignalParameters::HalfDuplexIdealPhySignalParameters | ( | const HalfDuplexIdealPhySignalParameters & | p | ) |
copy constructor
p | object to copy |
Definition at line 35 of file half-duplex-ideal-phy-signal-parameters.cc.
References ns3::Packet::Copy(), data, and NS_LOG_FUNCTION.
|
virtual |
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is a derived class of SpectrumSignalParameters, then the copy is also a derived class of the same type.
Each class inheriting from SpectrumSignalParameters should override this method and use it to call the copy constructor of the derived class.
Reimplemented from ns3::SpectrumSignalParameters.
Definition at line 43 of file half-duplex-ideal-phy-signal-parameters.cc.
References NS_LOG_FUNCTION.
The data packet being transmitted with this signal.
Definition at line 56 of file half-duplex-ideal-phy-signal-parameters.h.
Referenced by HalfDuplexIdealPhySignalParameters().