A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::RandomVariableBase Class Reference
+ Inheritance diagram for ns3::RandomVariableBase:
+ Collaboration diagram for ns3::RandomVariableBase:

Public Member Functions

 RandomVariableBase ()
 RandomVariableBase (const RandomVariableBase &o)
virtual ~RandomVariableBase ()
virtual RandomVariableBaseCopy (void) const =0
virtual uint32_t GetInteger ()
RngStreamGetStream (void)
virtual double GetValue ()=0

Private Attributes

RngStreamm_generator

Detailed Description

Definition at line 50 of file random-variable.cc.

Constructor & Destructor Documentation

ns3::RandomVariableBase::RandomVariableBase ( )

Definition at line 64 of file random-variable.cc.

ns3::RandomVariableBase::RandomVariableBase ( const RandomVariableBase o)

Definition at line 69 of file random-variable.cc.

References ns3::RngSeedManager::GetNextStreamIndex(), ns3::RngSeedManager::GetRun(), ns3::RngSeedManager::GetSeed(), and m_generator.

+ Here is the call graph for this function:

ns3::RandomVariableBase::~RandomVariableBase ( )
virtual

Definition at line 80 of file random-variable.cc.

References m_generator.

Member Function Documentation

uint32_t ns3::RandomVariableBase::GetInteger ( void  )
virtual

Reimplemented in ns3::IntEmpiricalVariableImpl, and ns3::ConstantVariableImpl.

Definition at line 85 of file random-variable.cc.

References GetValue().

Referenced by ns3::RandomVariable::GetInteger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

RngStream* ns3::RandomVariableBase::m_generator
private

Definition at line 61 of file random-variable.cc.

Referenced by GetStream(), RandomVariableBase(), and ~RandomVariableBase().


The documentation for this class was generated from the following file: