22 #include "ns3/wave-bsm-helper.h" 
   67       std::pair<Ptr<Ipv4>, uint32_t> 
interface = (*itr);
 
   88                         uint32_t wavePacketSize, 
 
   91                         std::vector <double> ranges,           
 
   95   int size = ranges.size ();
 
   98   for (
int index = 0; index < size; index++)
 
  109   bsmApps.
Stop (totalTime);
 
  114   for (aci = bsmApps.
Begin (); aci != bsmApps.
End (); ++aci)
 
  141   int64_t currentStream = stream;
 
  151               currentStream += bsmApp->AssignStreams (currentStream);
 
  155   return (currentStream - stream);
 
Iterator End(void) const 
Get an iterator which indicates past-the-last Application in the container. 
holds a vector of ns3::Application pointers. 
uint32_t AddApplication(Ptr< Application > application)
Associate an Application to this Node. 
Simulation virtual time values and global simulation resolution. 
Ptr< Application > InstallPriv(Ptr< Node > node) const 
Install an ns3::BsmApplication on the node. 
uint32_t GetNApplications(void) const 
holds a vector of std::pair of Ptr and interface index. 
std::vector< Ptr< Node > >::const_iterator Iterator
Node container iterator. 
Ptr< T > GetObject(void) const 
Get a pointer to the requested aggregated Object. 
void Add(ApplicationContainer other)
Append the contents of another ApplicationContainer to the end of this container. ...
Hold a value for an Attribute. 
#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. 
Iterator Begin(void) const 
Get an iterator which refers to the first Application in the container. 
int64_t AssignStreams(NodeContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
std::vector< Ptr< Application > >::const_iterator Iterator
Application container iterator. 
Ptr< Application > GetApplication(uint32_t index) const 
Retrieve the index-th Application associated to this node. 
The base class for all ns3 applications. 
Ptr< Object > Create(void) const 
Create an Object instance of the configured TypeId. 
Iterator End(void) const 
Get an iterator which indicates past-the-last Node in the container. 
std::vector< double > m_txSafetyRangesSq
void Start(Time start)
Arrange for all of the Applications in this container to Start() at the Time given as a parameter...
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. 
WaveBsmStats m_waveBsmStats
void Set(std::string name, const AttributeValue &value)
Set an attribute to be set during construction. 
std::vector< std::pair< Ptr< Ipv4 >, uint32_t > >::const_iterator Iterator
Container Const Iterator for pairs of Ipv4 smart pointer / Interface Index. 
static std::vector< int > & GetNodesMoving()
Returns the list of moving nove indicators. 
void Stop(Time stop)
Arrange for all of the Applications in this container to Stop() at the Time given as a parameter...
ApplicationContainer Install(Ipv4InterfaceContainer i) const 
Install an ns3::BsmApplication on each node of the input container configured with all the attributes...
Time Seconds(double value)
Construct a Time in the indicated unit. 
Ptr< WaveBsmStats > GetWaveBsmStats()
Returns the WaveBsmStats instance. 
Iterator Begin(void) const 
Get an iterator which refers to the first pair in the container. 
ObjectFactory m_factory
Object factory. 
void SetAttribute(std::string name, const AttributeValue &value)
Helper function used to set the underlying application attributes. 
WaveBsmHelper()
Constructor. 
static std::vector< int > nodesMoving