OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Framework.ThreadSafeRandom Class Reference

A thread-safe Random since the .NET version is not. See http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx More...

Inheritance diagram for OpenSim.Framework.ThreadSafeRandom:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.ThreadSafeRandom:
Collaboration graph
[legend]

Public Member Functions

 ThreadSafeRandom ()
 
 ThreadSafeRandom (int seed)
 
override int Next ()
 
override int Next (int maxValue)
 
override int Next (int minValue, int maxValue)
 
override void NextBytes (byte[] buffer)
 
override double NextDouble ()
 

Detailed Description

A thread-safe Random since the .NET version is not. See http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx

Definition at line 36 of file ThreadSafeRandom.cs.

Constructor & Destructor Documentation

OpenSim.Framework.ThreadSafeRandom.ThreadSafeRandom ( )
inline

Definition at line 38 of file ThreadSafeRandom.cs.

OpenSim.Framework.ThreadSafeRandom.ThreadSafeRandom ( int  seed)
inline

Definition at line 40 of file ThreadSafeRandom.cs.

Member Function Documentation

override int OpenSim.Framework.ThreadSafeRandom.Next ( )
inline

Definition at line 42 of file ThreadSafeRandom.cs.

override int OpenSim.Framework.ThreadSafeRandom.Next ( int  maxValue)
inline

Definition at line 48 of file ThreadSafeRandom.cs.

override int OpenSim.Framework.ThreadSafeRandom.Next ( int  minValue,
int  maxValue 
)
inline

Definition at line 54 of file ThreadSafeRandom.cs.

override void OpenSim.Framework.ThreadSafeRandom.NextBytes ( byte[]  buffer)
inline

Definition at line 60 of file ThreadSafeRandom.cs.

override double OpenSim.Framework.ThreadSafeRandom.NextDouble ( )
inline

Definition at line 66 of file ThreadSafeRandom.cs.


The documentation for this class was generated from the following file: