23#include "ns3/attribute.h"
24#include "ns3/net-device-container.h"
25#include "ns3/node-container.h"
26#include "ns3/object-factory.h"
27#include "ns3/uan-net-device.h"
57 template <
typename... Ts>
58 void SetMac(std::string type, Ts&&... args);
70 template <
typename... Ts>
71 void SetPhy(std::string phyType, Ts&&... args);
83 template <
typename... Ts>
195template <
typename... Ts>
202template <
typename... Ts>
209template <
typename... Ts>
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
Instantiate subclasses of ns3::Object.
Smart pointer class similar to boost::intrusive_ptr.
UAN configuration helper.
ObjectFactory m_device
The device.
void SetPhy(std::string phyType, Ts &&... args)
Set PHY attributes.
void SetTransducer(std::string type, Ts &&... args)
Set the transducer attributes.
void SetMac(std::string type, Ts &&... args)
Set MAC attributes.
ObjectFactory m_phy
The PHY layer.
ObjectFactory m_transducer
The transducer.
static void EnableAscii(std::ostream &os, uint32_t nodeid, uint32_t deviceid)
Enable ascii output on the specified deviceid within the specified nodeid if it is of type ns3::UanNe...
ObjectFactory m_mac
The MAC layer.
NetDeviceContainer Install(NodeContainer c) const
This method creates a simple ns3::UanChannel (with a default ns3::UanNoiseModelDefault and ns3::UanPr...
int64_t AssignStreams(NetDeviceContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model.
static void EnableAsciiAll(std::ostream &os)
Enable ascii output on each device which is of the ns3::UanNetDevice type and dump that to the specif...
UanHelper()
Default constructor.
virtual ~UanHelper()
Destructor.
Every class exported by the ns3 library is enclosed in the ns3 namespace.