libevocosm::globals Class Reference
Elements shared by all classes in Evocosm.
More...
#include <evocommon.h>
List of all members.
Static Public Member Functions
-
static void set_random_seed (uint32_t a_seed)
- Set the seed for the random number generator.
-
static uint32_t get_seed ()
- Set the seed for the random number generator.
-
static std::string version ()
- Get version number.
Static Protected Member Functions
-
static size_t rand_index (size_t n)
- Static function to allow use of g_random function pointer in random_shuffle.
Static Protected Attributes
-
static libcoyotl::mtwister g_random
- A shared random number generator.
-
static std::string g_version
- Version number.
Detailed Description
All Evocosm classes are derived from this class, a singleton for shared attributes.
The documentation for this class was generated from the following file: