|
|
| 24 |
#include <stdint.h> |
24 |
#include <stdint.h> |
| 25 |
#include <vector> |
25 |
#include <vector> |
| 26 |
#include "ns3/application.h" |
26 |
#include "ns3/application.h" |
|
|
27 |
#include "ns3/random-variable-stream.h" |
| 27 |
|
28 |
|
| 28 |
namespace ns3 { |
29 |
namespace ns3 { |
| 29 |
|
30 |
|
|
|
| 193 |
*/ |
194 |
*/ |
| 194 |
void Start (Time start); |
195 |
void Start (Time start); |
| 195 |
|
196 |
|
|
|
197 |
/** |
| 198 |
* \brief Arrange for all of the Applications in this container to Start() |
| 199 |
* at the Time given as a parameter, plus some jitter. |
| 200 |
* |
| 201 |
* All Applications need to be provided with a starting simulation time and |
| 202 |
* a stopping simulation time. The ApplicationContainer is a convenient |
| 203 |
* place for allowing all of the contained Applications to be told to wake |
| 204 |
* up and start doing their thing (Start) at a common time. |
| 205 |
* |
| 206 |
* This method simply iterates through the contained Applications and calls |
| 207 |
* their Start() methods with the provided Time, plus a jitter drawn from |
| 208 |
* the provided random variable. |
| 209 |
* |
| 210 |
* \param start The Time at which each of the applications should start. |
| 211 |
* \param rv The random variable that adds jitter |
| 212 |
*/ |
| 213 |
void StartWithJitter (Time start, Ptr<RandomVariableStream> rv); |
| 214 |
|
| 196 |
/** |
215 |
/** |
| 197 |
* \brief Arrange for all of the Applications in this container to Stop() |
216 |
* \brief Arrange for all of the Applications in this container to Stop() |
| 198 |
* at the Time given as a parameter. |
217 |
* at the Time given as a parameter. |