42 static uint64_t g_nextStreamIndex = 0;
    54                                    "The global seed of all rng streams",
    56                                    ns3::MakeUintegerChecker<uint32_t> ());
    68                                   "The substream index used for all streams",
    70                                   ns3::MakeUintegerChecker<uint64_t> ());
    78   return static_cast<uint32_t
> (seedValue.
Get ());
    98   uint64_t run = value.
Get ();
 void GetValue(AttributeValue &value) const
Get the value. 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
ns3::UintegerValue attribute value declarations and template implementations. 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
#define NS_LOG_FUNCTION_NOARGS()
Output the name of the function. 
Hold a so-called 'global value'. 
Declaration of the various ns3::Config functions and classes. 
static void SetRun(uint64_t run)
Set the run number of simulation. 
static uint64_t GetRun(void)
Get the current run number. 
static ns3::GlobalValue g_rngSeed("RngSeed", "The global seed of all rng streams", ns3::UintegerValue(1), ns3::MakeUintegerChecker< uint32_t >())
ns3::RngSeedManager declaration. 
Hold an unsigned integer type. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
ns3::GlobalValue declaration. 
static uint32_t GetSeed(void)
Get the current seed value which will be used by all subsequently instantiated RandomVariableStream o...
Attribute helper (ATTRIBUTE_ )macros definition. 
static void SetSeed(uint32_t seed)
Set the seed. 
void SetGlobal(std::string name, const AttributeValue &value)
static uint64_t GetNextStreamIndex(void)
Get the next automatically assigned stream index. 
static uint64_t g_nextStreamIndex
static ns3::GlobalValue g_rngRun("RngRun", "The substream index used for all streams", ns3::UintegerValue(1), ns3::MakeUintegerChecker< uint64_t >())