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

#include <pc_rand.h>

List of all members.

Public Types

enum  { RANDOM_MAX = 0xffffffff }
enum  States { READY = OsModel::READY, NO_VALUE = OsModel::NO_VALUE, INACTIVE = OsModel::INACTIVE }
typedef OsModel_P OsModel
typedef uint32_t value_t
typedef PCRandModel< OsModelself_type
typedef self_typeself_pointer_t

Public Member Functions

 PCRandModel ()
 PCRandModel (PCOs &os)
 PCRandModel (PCOs &os, value_t seed)
void srand (value_t seed)
value_t operator() ()
int state ()

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


Member Typedef Documentation

template<typename OsModel_P>
typedef OsModel_P wiselib::PCRandModel< OsModel_P >::OsModel
template<typename OsModel_P>
typedef self_type* wiselib::PCRandModel< OsModel_P >::self_pointer_t
template<typename OsModel_P>
typedef PCRandModel<OsModel> wiselib::PCRandModel< OsModel_P >::self_type
template<typename OsModel_P>
typedef uint32_t wiselib::PCRandModel< OsModel_P >::value_t

Member Enumeration Documentation

template<typename OsModel_P>
anonymous enum
Enumerator:
RANDOM_MAX 
template<typename OsModel_P>
enum wiselib::PCRandModel::States
Enumerator:
READY 
NO_VALUE 
INACTIVE 

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::PCRandModel< OsModel_P >::PCRandModel ( )
template<typename OsModel_P >
wiselib::PCRandModel< OsModel_P >::PCRandModel ( PCOs os)
template<typename OsModel_P >
wiselib::PCRandModel< OsModel_P >::PCRandModel ( PCOs os,
value_t  seed 
)

Member Function Documentation

template<typename OsModel_P >
PCRandModel< OsModel_P >::value_t wiselib::PCRandModel< OsModel_P >::operator() ( )
template<typename OsModel_P >
void wiselib::PCRandModel< OsModel_P >::srand ( value_t  seed)
template<typename OsModel_P >
int wiselib::PCRandModel< OsModel_P >::state ( )

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