A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::RandomVariableBase Class Referenceabstract
+ 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


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 70 of file random-variable.cc.

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

+ Here is the call graph for this function:

ns3::RandomVariableBase::~RandomVariableBase ( )

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

References m_generator, and NS_LOG_FUNCTION.

Member Function Documentation

uint32_t ns3::RandomVariableBase::GetInteger ( void  )

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

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

References GetValue(), and NS_LOG_FUNCTION.

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

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: