ThreadSpecificRandomEngine Class Reference

#include <ThreadSpecificRandomEngine.h>

Collaboration diagram for ThreadSpecificRandomEngine:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ThreadSpecificRandomEngine ()
virtual ~ThreadSpecificRandomEngine ()
void free_ptr (void)
void init (void)
 Init the thread specific random number engine for the calling thread.
void set (RandomEngine *eng)
 Set the thread specific random number engine to eng.
void unset (RandomEngine *eng)
 Set the thread specific random number engine to eng.
RandomEngineget (void)
 Get a pointer to the thread specific random number engine.


Detailed Description

Definition at line 15 of file ThreadSpecificRandomEngine.h.


Constructor & Destructor Documentation

ThreadSpecificRandomEngine::ThreadSpecificRandomEngine (  )  [inline]

Definition at line 18 of file ThreadSpecificRandomEngine.h.

virtual ThreadSpecificRandomEngine::~ThreadSpecificRandomEngine (  )  [inline, virtual]

Definition at line 23 of file ThreadSpecificRandomEngine.h.

References free_ptr().

Here is the call graph for this function:


Member Function Documentation

void ThreadSpecificRandomEngine::free_ptr ( void   )  [inline]

Definition at line 28 of file ThreadSpecificRandomEngine.h.

Referenced by ~ThreadSpecificRandomEngine().

void ThreadSpecificRandomEngine::init ( void   )  [inline]

void ThreadSpecificRandomEngine::set ( RandomEngine eng  )  [inline]

Set the thread specific random number engine to eng.

Definition at line 50 of file ThreadSpecificRandomEngine.h.

Referenced by SingleThreadSimEngine::advance(), SingleThreadSimEngine::initialize(), and SingleThreadSimEngine::reset().

void ThreadSpecificRandomEngine::unset ( RandomEngine eng  )  [inline]

Set the thread specific random number engine to eng.

Definition at line 57 of file ThreadSpecificRandomEngine.h.

References init().

Referenced by SingleThreadSimEngine::~SingleThreadSimEngine().

Here is the call graph for this function:

RandomEngine* ThreadSpecificRandomEngine::get ( void   )  [inline]


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

Generated on Wed Jul 9 16:34:55 2008 for PCSIM by  doxygen 1.5.5