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

#include <OPC_IceHook.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 25 of file OPC_IceHook.h.

Constructor & Destructor Documentation

◆ BasicRandom()

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

Constructor.

Definition at line 30 of file OPC_IceHook.h.

◆ ~BasicRandom()

inline_ IceCore::BasicRandom::~BasicRandom ( )
inline

Destructor.

Definition at line 32 of file OPC_IceHook.h.

Member Function Documentation

◆ GetCurrentValue()

inline_ udword IceCore::BasicRandom::GetCurrentValue ( ) const
inline

Definition at line 35 of file OPC_IceHook.h.

◆ Randomize()

inline_ udword IceCore::BasicRandom::Randomize ( )
inline

Definition at line 36 of file OPC_IceHook.h.

◆ SetSeed()

inline_ void IceCore::BasicRandom::SetSeed ( udword  seed)
inline

Definition at line 34 of file OPC_IceHook.h.

Member Data Documentation

◆ mRnd

udword IceCore::BasicRandom::mRnd
private

Definition at line 39 of file OPC_IceHook.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:09