A simple wrapper around RngStream to make testing of the code easier. More...
#include <random-stream.h>
 Inheritance diagram for ns3::RandomStream:
 Inheritance diagram for ns3::RandomStream:| Public Member Functions | |
| virtual | ~RandomStream () | 
| virtual int64_t | AssignStreams (int64_t stream)=0 | 
| 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)=0 | 
| Get integer between min and max (including min and max).  More... | |
A simple wrapper around RngStream to make testing of the code easier.
Definition at line 33 of file random-stream.h.
| 
 | virtual | 
Definition at line 27 of file random-stream.cc.
| 
 | pure 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 | 
Implemented in ns3::TestRandomStream, and ns3::RealRandomStream.
Referenced by ns3::DcaTxop::AssignStreams(), and ns3::EdcaTxopN::AssignStreams().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | pure virtual | 
Get integer between min and max (including min and max).
| min | lower bound (inclusive) | 
| max | upper bound (inclusive) | 
Implemented in ns3::TestRandomStream, and ns3::RealRandomStream.
Referenced by ns3::DcaTxop::DoInitialize(), ns3::EdcaTxopN::DoInitialize(), ns3::DcaTxop::EndTxNoAck(), ns3::EdcaTxopN::EndTxNoAck(), ns3::EdcaTxopN::GotAck(), ns3::DcaTxop::GotAck(), ns3::EdcaTxopN::GotBlockAck(), ns3::DcaTxop::MissedAck(), ns3::EdcaTxopN::MissedAck(), ns3::EdcaTxopN::MissedBlockAck(), ns3::EdcaTxopN::MissedCts(), ns3::DcaTxop::MissedCts(), ns3::EdcaTxopN::NotifyCollision(), and ns3::DcaTxop::NotifyCollision().
 Here is the caller graph for this function:
 Here is the caller graph for this function: