World Ocean Simulation System (WOSS) library
WossRandomGeneratorTcl Class Reference

#include <uw-woss-random-generator.h>

Inheritance diagram for WossRandomGeneratorTcl:
Inheritance graph
Collaboration diagram for WossRandomGeneratorTcl:
Collaboration graph

Public Member Functions

 WossRandomGeneratorTcl ()
 
virtual ~WossRandomGeneratorTcl () override=default
 
virtual int command (int argc, const char *const *argv) override
 
- Public Member Functions inherited from WossRandomGenerator
 WossRandomGenerator (int seed=0)
 
 WossRandomGenerator (const WossRandomGenerator &copy)
 
 WossRandomGenerator (WossRandomGenerator &&tmp)=default
 
WossRandomGeneratoroperator= (const WossRandomGenerator &copy)
 
WossRandomGeneratoroperator= (WossRandomGenerator &&tmp)=default
 
virtual ~WossRandomGenerator () override=default
 
virtual std::unique_ptr< woss::RandomGeneratorcreate (int s) const override
 
virtual std::unique_ptr< woss::RandomGeneratorclone () const override
 
virtual double getRand () const
 
virtual int getRandInt () const
 
virtual void initialize ()
 
- Public Member Functions inherited from woss::RandomGenerator
 RandomGenerator (int s=0)
 
virtual ~RandomGenerator ()=default
 
 RandomGenerator (const RandomGenerator &copy)=default
 
 RandomGenerator (RandomGenerator &&tmp)=default
 
RandomGeneratoroperator= (const RandomGenerator &copy)=default
 
RandomGeneratoroperator= (RandomGenerator &&tmp)=default
 
virtual bool isValid () const
 
virtual void setSeed (int s)
 
virtual int getSeed () const
 

Additional Inherited Members

- Protected Attributes inherited from WossRandomGenerator
std::unique_ptr< RNG > rng = nullptr
 
- Protected Attributes inherited from woss::RandomGenerator
int seed = 0
 
bool initialized = false
 

Constructor & Destructor Documentation

◆ WossRandomGeneratorTcl()

WossRandomGeneratorTcl::WossRandomGeneratorTcl ( )

References woss::RandomGenerator::seed, and woss::RandomGenerator::setSeed().

Here is the call graph for this function:

◆ ~WossRandomGeneratorTcl()

virtual WossRandomGeneratorTcl::~WossRandomGeneratorTcl ( )
overridevirtualdefault

Member Function Documentation

◆ command()

int WossRandomGeneratorTcl::command ( int  argc,
const char *const *  argv 
)
overridevirtual

References WossRandomGenerator::initialize().

Here is the call graph for this function:

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