10#include "ns3/antenna-model.h"
11#include "ns3/config.h"
13#include "ns3/mobility-model.h"
15#include "ns3/non-communicating-net-device.h"
16#include "ns3/propagation-delay-model.h"
17#include "ns3/simulator.h"
18#include "ns3/spectrum-channel.h"
19#include "ns3/spectrum-propagation-loss-model.h"
20#include "ns3/waveform-generator.h"
74 for (
auto i = c.
Begin(); i != c.
End(); ++i)
93 "you forgot to call WaveformGeneratorHelper::SetTxPowerSpectralDensity ()");
94 phy->SetTxPowerSpectralDensity(
m_txPsd);
101 NS_ASSERT_MSG(antenna,
"error in creating the AntennaModel object");
102 phy->SetAntenna(antenna);
104 node->AddDevice(dev);
Hold a value for an Attribute.
Keep track of the current position and velocity of an object.
static Ptr< T > Find(std::string path)
Given a name path string, look to see if there's an object in the system with that associated to it.
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
Iterator End() const
Get an iterator which indicates past-the-last Node in the container.
Iterator Begin() const
Get an iterator which refers to the first Node in the container.
This class implements a device which does not communicate, in the sense that it does not interact wit...
Ptr< Object > Create() const
Create an Object instance of the configured TypeId.
void Set(const std::string &name, const AttributeValue &value, Args &&... args)
Set an attribute to be set during construction.
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory.
Ptr< T > GetObject() const
Get a pointer to the requested aggregated Object.
Smart pointer class similar to boost::intrusive_ptr.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
Every class exported by the ns3 library is enclosed in the ns3 namespace.