Public Member Functions | Private Attributes | List of all members
BasicRandom Class Reference

#include <IceRandom.h>

Public Member Functions

inline_ BasicRandom (udword seed=0)
 Constructor. More...
 
inline_ udword GetCurrentValue () const
 
inline_ udword Randomize ()
 
inline_ void SetSeed (udword seed)
 
inline_ ~BasicRandom ()
 Destructor. More...
 

Private Attributes

udword mRnd
 

Detailed Description

Definition at line 24 of file IceRandom.h.

Constructor & Destructor Documentation

◆ BasicRandom()

inline_ BasicRandom::BasicRandom ( udword  seed = 0)
inline

Constructor.

Definition at line 29 of file IceRandom.h.

◆ ~BasicRandom()

inline_ BasicRandom::~BasicRandom ( )
inline

Destructor.

Definition at line 31 of file IceRandom.h.

Member Function Documentation

◆ GetCurrentValue()

inline_ udword BasicRandom::GetCurrentValue ( ) const
inline

Definition at line 34 of file IceRandom.h.

◆ Randomize()

inline_ udword BasicRandom::Randomize ( )
inline

Definition at line 35 of file IceRandom.h.

◆ SetSeed()

inline_ void BasicRandom::SetSeed ( udword  seed)
inline

Definition at line 33 of file IceRandom.h.

Member Data Documentation

◆ mRnd

udword BasicRandom::mRnd
private

Definition at line 38 of file IceRandom.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:06