A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::HalfDuplexIdealPhySignalParameters Struct Reference

Signal parameters for HalfDuplexIdealPhy. More...

#include "half-duplex-ideal-phy-signal-parameters.h"

+ Inheritance diagram for ns3::HalfDuplexIdealPhySignalParameters:
+ Collaboration diagram for ns3::HalfDuplexIdealPhySignalParameters:

Public Member Functions

 HalfDuplexIdealPhySignalParameters ()
 default constructor
 
 HalfDuplexIdealPhySignalParameters (const HalfDuplexIdealPhySignalParameters &p)
 copy constructor
 
Ptr< SpectrumSignalParametersCopy () const override
 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.
 
- Public Member Functions inherited from ns3::SpectrumSignalParameters
 SpectrumSignalParameters ()
 default constructor
 
 SpectrumSignalParameters (const SpectrumSignalParameters &p)
 copy constructor
 
virtual ~SpectrumSignalParameters ()
 destructor
 
virtual Ptr< SpectrumSignalParametersCopy () const
 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.
 
- Public Member Functions inherited from ns3::SimpleRefCount< SpectrumSignalParameters >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Public Attributes

Ptr< Packetdata
 The data packet being transmitted with this signal.
 
- Public Attributes inherited from ns3::SpectrumSignalParameters
Time duration
 The duration of the packet transmission.
 
Ptr< const ComplexMatrixArrayprecodingMatrix
 The 3D precoding matrix where the dimensions are: the number of TX ports, the number of TX streams, the number of RBs.
 
Ptr< SpectrumValuepsd
 The Power Spectral Density of the waveform, in linear units.
 
Ptr< const ComplexMatrixArrayspectrumChannelMatrix
 The 3D channel matrix where the dimensions are: the number of RX ports, the number of TX Ports, the number of resource blocks (RBs).
 
Ptr< AntennaModeltxAntenna
 The AntennaModel instance that was used to transmit this signal.
 
Ptr< SpectrumPhytxPhy
 The SpectrumPhy instance that is making the transmission.
 

Detailed Description

Signal parameters for HalfDuplexIdealPhy.

Definition at line 35 of file half-duplex-ideal-phy-signal-parameters.h.

Constructor & Destructor Documentation

◆ HalfDuplexIdealPhySignalParameters() [1/2]

ns3::HalfDuplexIdealPhySignalParameters::HalfDuplexIdealPhySignalParameters ( )

default constructor

Definition at line 30 of file half-duplex-ideal-phy-signal-parameters.cc.

References NS_LOG_FUNCTION.

◆ HalfDuplexIdealPhySignalParameters() [2/2]

ns3::HalfDuplexIdealPhySignalParameters::HalfDuplexIdealPhySignalParameters ( const HalfDuplexIdealPhySignalParameters p)

copy constructor

Parameters
pobject to copy

Definition at line 35 of file half-duplex-ideal-phy-signal-parameters.cc.

References ns3::Packet::Copy(), data, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

Member Function Documentation

◆ Copy()

Ptr< SpectrumSignalParameters > ns3::HalfDuplexIdealPhySignalParameters::Copy ( ) const
overridevirtual

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.

Returns
a copy of the (possibly derived) class

Reimplemented from ns3::SpectrumSignalParameters.

Definition at line 44 of file half-duplex-ideal-phy-signal-parameters.cc.

References NS_LOG_FUNCTION.

Member Data Documentation

◆ data

Ptr<Packet> ns3::HalfDuplexIdealPhySignalParameters::data

The data packet being transmitted with this signal.

Definition at line 53 of file half-duplex-ideal-phy-signal-parameters.h.

Referenced by HalfDuplexIdealPhySignalParameters().


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