![]() |
The Gaudi Framework
master (bdbe7744)
|
#include </builds/gaudi/Gaudi/GaudiHive/src/HiveNumbers.h>

Public Member Functions | |
| HiveNumbers () | |
| Standard constructor. | |
| HiveNumbers (const HiveNumbers ©) | |
| Copy constructor. | |
| HiveNumbers (const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par) | |
| Initializing constructor. | |
| virtual | ~HiveNumbers () |
| Standard destructor. | |
| virtual StatusCode | initialize (const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par) |
| Initialization. | |
| virtual StatusCode | finalize () |
| Finalization. | |
| operator bool () const | |
| Check if the number supply is possible. | |
| double | operator() () |
| Operator () for the use within STL. | |
| double | pop () |
| Pop a new number from the buffer. | |
| double | shoot () |
| Pop a new number from the buffer. | |
| StatusCode | shootArray (std::vector< double > &array, long num, long start=0) |
| Pop a new number from the buffer. | |
Protected Attributes | |
| IRndmGen * | m_generator |
| Pointer to random number generator. | |
Private Attributes | |
| unsigned int | m_buffer_index |
| const unsigned int | m_buffer_size |
| std::vector< double > | m_buffer |
Static Private Attributes | |
| static HiveNumbersMutex | m_genMutex |
Definition at line 37 of file HiveNumbers.h.
| HiveRndm::HiveNumbers::HiveNumbers | ( | ) |
Standard constructor.
Definition at line 25 of file HiveNumbers.cpp.
| HiveRndm::HiveNumbers::HiveNumbers | ( | const HiveNumbers & | copy | ) |
Copy constructor.
Definition at line 30 of file HiveNumbers.cpp.
| HiveRndm::HiveNumbers::HiveNumbers | ( | const SmartIF< IRndmGenSvc > & | svc, |
| const IRndmGen::Param & | par ) |
Initializing constructor.
Definition at line 37 of file HiveNumbers.cpp.
|
virtual |
Standard destructor.
Definition at line 45 of file HiveNumbers.cpp.
|
virtual |
Finalization.
Definition at line 58 of file HiveNumbers.cpp.
|
virtual |
Initialization.
Definition at line 48 of file HiveNumbers.cpp.
|
inline |
|
inline |
Operator () for the use within STL.
Definition at line 64 of file HiveNumbers.h.
|
inline |
|
inline |
Pop a new number from the buffer.
Definition at line 68 of file HiveNumbers.h.
|
inline |
Pop a new number from the buffer.
Definition at line 81 of file HiveNumbers.h.
|
private |
Definition at line 41 of file HiveNumbers.h.
|
private |
Definition at line 39 of file HiveNumbers.h.
|
private |
Definition at line 40 of file HiveNumbers.h.
|
protected |
Pointer to random number generator.
Definition at line 46 of file HiveNumbers.h.
|
staticprivate |
Definition at line 42 of file HiveNumbers.h.