FX::Maths::SysRandomness Class Reference

#include <FXMaths.h>

Inheritance diagram for FX::Maths::SysRandomness:

FX::QMutex FX::Maths::FRandomness List of all members.

Detailed Description

Threadsafe system source of randomness.

FX::Maths::FRandomness is not threadsafe, but this source is. You can access it via FX::Maths::SysRandSrc.

Definition at line 1729 of file FXMaths.h.

Public Member Functions

 SysRandomness ()
FXulong int64 ()
double real1 ()
double real2 ()
double real3 ()

Protected Member Functions

QMUTEX_INLINEP bool isLocked () const
QMUTEX_INLINEP FXbool locked () const
QMUTEX_INLINEP FXuint spinCount () const
QMUTEX_INLINEP void setSpinCount (FXuint c)
QMUTEX_INLINEP void lock ()
QMUTEX_INLINEP void unlock ()
QMUTEX_INLINEP bool tryLock ()
QMUTEX_INLINEP FXbool trylock ()
void fill (FXuchar *d, FXuval len) throw ()

Static Protected Member Functions

static QMUTEX_INLINEP bool setMutexDebugYield (bool v)

Static Protected Attributes

static const bool usingSIMD


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:38:02 2009 for TnFOX by doxygen v1.4.7