Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

_scv_random_impl Class Reference

List of all members.

Public Methods

 _scv_random_impl (const string name, unsigned long long seed, scv_random::alg_func algorithm, scv_random::value_generation_algorithm alg_type)
 ~_scv_random_impl ()
unsigned int next ()
unsigned int testNext ()

Static Public Methods

int get_debug (void)
void set_debug (int dbg)

Public Attributes

scv_random::value_generation_algorithm _alg_type
unsigned long long _seed
scv_random::alg_func _algorithm
union {
   unsigned long long   _next
   unsigned int   _rand_next
   unsigned short   _next48 [3]
u

Static Public Attributes

int debug = scv_debug::INITIAL_DEBUG_LEVEL

Constructor & Destructor Documentation

_scv_random_impl::_scv_random_impl const string    name,
unsigned long long    seed,
scv_random::alg_func    algorithm,
scv_random::value_generation_algorithm    alg_type
[inline]
 

Definition at line 165 of file scv_random.cpp.

References _alg_type, _algorithm, _seed, scv_random::alg_func, _scv_message::message(), scv_random::RAND, scv_random::RAND32, scv_random::RAND48, scv_random::set_global_seed(), u, and scv_random::value_generation_algorithm.

_scv_random_impl::~_scv_random_impl   [inline]
 

Definition at line 204 of file scv_random.cpp.


Member Function Documentation

int _scv_random_impl::get_debug void    [inline, static]
 

Definition at line 247 of file scv_random.cpp.

References debug.

Referenced by scv_random::get_debug().

unsigned int _scv_random_impl::next   [inline]
 

Definition at line 206 of file scv_random.cpp.

References _alg_type, _algorithm, scv_random::RAND, scv_random::RAND32, scv_random::RAND48, and u.

Referenced by scv_random::next().

void _scv_random_impl::set_debug int    dbg [inline, static]
 

Definition at line 250 of file scv_random.cpp.

References debug, scv_debug::RANDOMIZATION, and scv_debug::set_facility_level().

Referenced by scv_random::set_debug().

unsigned int _scv_random_impl::testNext   [inline]
 

Definition at line 230 of file scv_random.cpp.

References _alg_type, _algorithm, scv_random::RAND, scv_random::RAND48, and u.

Referenced by scv_random::print().


Member Data Documentation

scv_random::value_generation_algorithm _scv_random_impl::_alg_type
 

Definition at line 156 of file scv_random.cpp.

Referenced by _scv_random_impl(), scv_random::get_current_seed(), next(), scv_random::print(), scv_random::set_algorithm(), scv_random::set_current_seed(), and testNext().

scv_random::alg_func _scv_random_impl::_algorithm
 

Definition at line 158 of file scv_random.cpp.

Referenced by _scv_random_impl(), scv_random::get_current_seed(), next(), scv_random::set_algorithm(), scv_random::set_current_seed(), and testNext().

unsigned long long _scv_random_impl::_next
 

Definition at line 160 of file scv_random.cpp.

unsigned short _scv_random_impl::_next48[3]
 

Definition at line 162 of file scv_random.cpp.

unsigned int _scv_random_impl::_rand_next
 

Definition at line 161 of file scv_random.cpp.

unsigned long long _scv_random_impl::_seed
 

Definition at line 157 of file scv_random.cpp.

Referenced by _scv_random_impl(), scv_random::get_initial_seed(), and scv_random::print().

int _scv_random_impl::debug = scv_debug::INITIAL_DEBUG_LEVEL [static]
 

Definition at line 257 of file scv_random.cpp.

Referenced by get_debug(), and set_debug().

union { ... } _scv_random_impl::u
 

Referenced by _scv_random_impl(), scv_random::get_current_seed(), next(), scv_random::set_current_seed(), and testNext().


The documentation for this class was generated from the following file:
Generated on Fri Jan 14 08:31:02 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18