A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::BleSpectrumSignalParameters Struct Reference

This class represents a packet in SpectrumChannel The object of this class will be used as a signal in BleSpectrumChannel. More...

#include "ble-spectrum-signal-parameters.h"

+ Inheritance diagram for ns3::BleSpectrumSignalParameters:
+ Collaboration diagram for ns3::BleSpectrumSignalParameters:

Public Member Functions

 BleSpectrumSignalParameters ()
 
 BleSpectrumSignalParameters (const BleSpectrumSignalParameters &p)
 Copy Constructor. More...
 
virtual ~BleSpectrumSignalParameters ()
 
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 ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Public Attributes

Ptr< Packetpacket
 The packet being transmitted with this signal. More...
 
- Public Attributes inherited from ns3::SpectrumSignalParameters
Time duration
 The duration of the packet transmission. More...
 
Ptr< SpectrumValuepsd
 The Power Spectral Density of the waveform, in linear units. More...
 
Ptr< AntennaModeltxAntenna
 The AntennaModel instance that was used to transmit this signal. More...
 
Ptr< SpectrumPhytxPhy
 The SpectrumPhy instance that is making the transmission. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< SpectrumSignalParameters >
static void Cleanup (void)
 Noop. More...
 

Detailed Description

This class represents a packet in SpectrumChannel The object of this class will be used as a signal in BleSpectrumChannel.

This class contains Pkt, the Psd of the packet, dration of packet, the Phy layer of origin, the txAntenna of Phy layer.

Definition at line 38 of file ble-spectrum-signal-parameters.h.

Constructor & Destructor Documentation

ns3::BleSpectrumSignalParameters::BleSpectrumSignalParameters ( void  )

Definition at line 30 of file ble-spectrum-signal-parameters.cc.

References NS_LOG_FUNCTION.

ns3::BleSpectrumSignalParameters::~BleSpectrumSignalParameters ( void  )
virtual

Definition at line 35 of file ble-spectrum-signal-parameters.cc.

References NS_LOG_FUNCTION.

ns3::BleSpectrumSignalParameters::BleSpectrumSignalParameters ( const BleSpectrumSignalParameters p)

Copy Constructor.

Definition at line 40 of file ble-spectrum-signal-parameters.cc.

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

+ Here is the call graph for this function:

Member Function Documentation

Ptr< SpectrumSignalParameters > ns3::BleSpectrumSignalParameters::Copy ( void  )
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.

Returns
a copy of the (possibly derived) class

Reimplemented from ns3::SpectrumSignalParameters.

Definition at line 48 of file ble-spectrum-signal-parameters.cc.

References NS_LOG_FUNCTION.

Member Data Documentation

Ptr<Packet> ns3::BleSpectrumSignalParameters::packet

The packet being transmitted with this signal.

Definition at line 62 of file ble-spectrum-signal-parameters.h.

Referenced by BleSpectrumSignalParameters().


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