GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Random * Random::Instance ( )
static

to access the unique instance

Random *therand = Random::Instance(); // give a pointer to the unique instance

After that, you can use the Random pointer to get the current random generator and to generate numbers. Ex: therand->Current()->Rndm(); // to get uniform random numbers between 0 and 1

Definition at line 69 of file Random.cpp.