Wiselib
Public Types | Public Member Functions
wiselib::ShawnRandModel< OsModel_P > Class Template Reference

#include <shawn_rand.h>

List of all members.

Public Types

enum  { RANDOM_MAX = RAND_MAX }
typedef OsModel_P OsModel
typedef int rand_t
typedef ShawnRandModel< OsModelself_type
typedef self_typeself_pointer_t
typedef int value_t

Public Member Functions

 ShawnRandModel (ShawnOs &os)
 ShawnRandModel (ShawnOs &os, value_t seed)
void srand (value_t seed)
value_t operator() ()
value_t operator() (value_t max)

template<typename OsModel_P>
class wiselib::ShawnRandModel< OsModel_P >


Member Typedef Documentation

template<typename OsModel_P >
typedef OsModel_P wiselib::ShawnRandModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef int wiselib::ShawnRandModel< OsModel_P >::rand_t
template<typename OsModel_P >
typedef self_type* wiselib::ShawnRandModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef ShawnRandModel<OsModel> wiselib::ShawnRandModel< OsModel_P >::self_type
template<typename OsModel_P >
typedef int wiselib::ShawnRandModel< OsModel_P >::value_t

Member Enumeration Documentation

template<typename OsModel_P >
anonymous enum
Enumerator:
RANDOM_MAX 

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::ShawnRandModel< OsModel_P >::ShawnRandModel ( ShawnOs os) [inline]
template<typename OsModel_P >
wiselib::ShawnRandModel< OsModel_P >::ShawnRandModel ( ShawnOs os,
value_t  seed 
) [inline]

Member Function Documentation

template<typename OsModel_P >
value_t wiselib::ShawnRandModel< OsModel_P >::operator() ( ) [inline]
template<typename OsModel_P >
value_t wiselib::ShawnRandModel< OsModel_P >::operator() ( value_t  max) [inline]
template<typename OsModel_P >
void wiselib::ShawnRandModel< OsModel_P >::srand ( value_t  seed) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines