|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <ran.h>

Public Member Functions | |
| void | init (size_t s, t_ran *rc, t_ran_fun f) |
| void | reset () |
| bool | lgInitialized () const |
| T | next () |
| ran_pool () | |
| ran_pool (const ran_pool &)=delete | |
| ran_pool & | operator= (const ran_pool &)=delete |
| ~ran_pool () | |
Private Member Functions | |
| void | p_alloc () |
| void | p_update_pool () |
Private Attributes | |
| void * | p_pool |
| T * | p_next |
| T * | p_end |
| size_t | p_size |
| size_t | p_squad |
| t_ran * | p_rc |
| t_ran_fun | p_fill |
Referenced by t_ran::p_init().
|
inline |
Referenced by ran_pool< uint8 >::init(), and ran_pool< uint8 >::p_update_pool().
|
inline |
Referenced by t_ran::dbl(), t_ran::i15(), t_ran::i31(), t_ran::i63(), t_ran::i7(), t_ran::normal(), t_ran::rnm(), t_ran::u16(), t_ran::u32(), t_ran::u64(), and t_ran::u8().
|
inlineprivate |
Referenced by ran_pool< uint8 >::p_update_pool().
|
inlineprivate |
Referenced by ran_pool< uint8 >::next().
|
inline |
Referenced by t_ran::p_seed().
|
private |
Referenced by ran_pool< uint8 >::init(), ran_pool< uint8 >::p_update_pool(), and ran_pool< uint8 >::ran_pool().
|
private |
|
private |
Referenced by ran_pool< uint8 >::init(), ran_pool< uint8 >::p_update_pool(), and ran_pool< uint8 >::ran_pool().
|
private |
|
private |
Referenced by ran_pool< uint8 >::init(), ran_pool< uint8 >::p_update_pool(), and ran_pool< uint8 >::ran_pool().