20 #include "ns3/propagation-delay-model.h" 
   21 #include "ns3/spectrum-propagation-loss-model.h" 
   22 #include "ns3/mobility-model.h" 
   24 #include "ns3/config.h" 
   25 #include "ns3/simulator.h" 
   26 #include "ns3/names.h" 
   27 #include "ns3/antenna-model.h" 
   28 #include "ns3/spectrum-channel.h" 
   29 #include "ns3/waveform-generator.h" 
   30 #include "ns3/non-communicating-net-device.h" 
  100   factory.
Set (n2, v2);
 
  101   factory.
Set (n3, v3);
 
  102   factory.
Set (n4, v4);
 
  103   factory.
Set (n5, v5);
 
  104   factory.
Set (n6, v6);
 
  105   factory.
Set (n7, v7);
 
  128       phy->SetDevice (dev);
 
  130       NS_ASSERT_MSG (
m_txPsd, 
"you forgot to call WaveformGeneratorHelper::SetTxPowerSpectralDensity ()");
 
  131       phy->SetTxPowerSpectralDensity (
m_txPsd);
 
  138       NS_ASSERT_MSG (antenna, 
"error in creating the AntennaModel object");
 
  139       phy->SetAntenna (antenna);
 
  156   Ptr<Node> node = Names::Find<Node> (nodeName);
 
Smart pointer class similar to boost::intrusive_ptr. 
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
std::vector< Ptr< Node > >::const_iterator Iterator
Node container iterator. 
 
Ptr< T > GetObject(void) const 
Get a pointer to the requested aggregated Object. 
 
Hold a value for an Attribute. 
 
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory. 
 
Iterator End(void) const 
Get an iterator which indicates past-the-last Node in the container. 
 
This class implements a device which does not communicate, in the sense that it does not interact wit...
 
Keep track of the current position and velocity of an object. 
 
NS_ASSERT_MSG(false,"Ipv4AddressGenerator::MaskToIndex(): Impossible")
 
Ptr< Object > Create(void) const 
Create an Object instance of the configured TypeId. 
 
void Add(NetDeviceContainer other)
Append the contents of another NetDeviceContainer to the end of this container. 
 
holds a vector of ns3::NetDevice pointers 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
keep track of a set of node pointers. 
 
Iterator Begin(void) const 
Get an iterator which refers to the first Node in the container. 
 
void Set(std::string name, const AttributeValue &value)
Set an attribute to be set during construction. 
 
Instantiate subclasses of ns3::Object. 
 
uint32_t AddDevice(Ptr< NetDevice > device)
Associate a NetDevice to this node.