fix8
version 1.4.0
Open Source C++ FIX Framework
|
A random number generator wrapper. More...
#include <hftest.hpp>
Static Public Member Functions | |
static void | init () |
Initialise the random number generator. More... | |
template<typename T > | |
static T | getrandom (const T range=0) |
static void | init () |
template<typename T > | |
static T | getrandom (const T range=0) |
A random number generator wrapper.
Definition at line 202 of file hftest.hpp.
|
inlinestatic |
Return a random number between 0 and n - 1, or between 0 and RAND_MAX
T | type of random number |
range | upper range to return value within, or 0 for RAND_MAX |
Definition at line 219 of file hftest.hpp.
Referenced by MyMenu::batch_preload_new_order_single(), MyMenu::generate_new_order_single(), MyMenu::generate_new_order_single_alternate(), main(), MyMenu::new_order_single(), tex_router_server::operator()(), and MyMenu::preload_new_order_single().
|
inlinestatic |
|
inlinestatic |
Initialise the random number generator.
Definition at line 205 of file hftest.hpp.
Referenced by main().
|
inlinestatic |