#include "random-stream.h"
 Inheritance diagram for ns3::TestRandomStream:
 Collaboration diagram for ns3::TestRandomStream:Public Member Functions | |
| void | AddNext (uint32_t v) | 
| Add the given value to the list.  More... | |
| virtual int64_t | AssignStreams (int64_t stream) | 
| Assign a fixed random variable stream number to the random variables used by this model.  More... | |
| virtual uint32_t | GetNext (uint32_t min, uint32_t max) | 
| Get integer between min and max (including min and max).  More... | |
  Public Member Functions inherited from ns3::RandomStream | |
| virtual | ~RandomStream () | 
Private Attributes | |
| std::list< uint32_t > | m_nexts | 
Definition at line 85 of file random-stream.h.
| void ns3::TestRandomStream::AddNext | ( | uint32_t | v | ) | 
Add the given value to the list.
| v | 
Definition at line 51 of file random-stream.cc.
References m_nexts.
      
  | 
  virtual | 
Assign a fixed random variable stream number to the random variables used by this model.
Return the number of streams (possibly zero) that have been assigned.
| stream | first stream index to use | 
Implements ns3::RandomStream.
Definition at line 66 of file random-stream.cc.
      
  | 
  virtual | 
Get integer between min and max (including min and max).
| min | lower bound (inclusive) | 
| max | upper bound (inclusive) | 
Implements ns3::RandomStream.
Definition at line 57 of file random-stream.cc.
      
  | 
  private | 
Definition at line 109 of file random-stream.h.