42 static uint64_t g_nextStreamIndex = 0;
 
   50                                    "The global seed of all rng streams",
 
   52                                    ns3::MakeIntegerChecker<uint32_t> ());
 
   60                                   "The run number used to modify the global seed",
 
   62                                   ns3::MakeIntegerChecker<int64_t> ());
 
   70   return seedValue.
Get ();
 
   90   int run = value.
Get();
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
Hold a signed integer type. 
 
#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. 
 
ns3::RngSeedManager declaration. 
 
static ns3::GlobalValue g_rngSeed("RngSeed","The global seed of all rng streams", ns3::IntegerValue(1), ns3::MakeIntegerChecker< uint32_t >())
 
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...
 
Declaration of Attribute helper macros. 
 
static void SetSeed(uint32_t seed)
Set the seed. 
 
void SetGlobal(std::string name, const AttributeValue &value)
 
static ns3::GlobalValue g_rngRun("RngRun","The run number used to modify the global seed", ns3::IntegerValue(1), ns3::MakeIntegerChecker< int64_t >())
 
Integer attribute value declarations and template implementations. 
 
static uint64_t GetNextStreamIndex(void)
Get the next automatically assigned stream index. 
 
static uint64_t g_nextStreamIndex
 
void GetValue(AttributeValue &value) const 
Get the value.