Static Public Member Functions | Static Private Attributes | List of all members
evgb::RNGWrapper< T > Class Template Reference

#include <CRYHelper.h>

Static Public Member Functions

static void set (T *object, double(T::*func)(void))
 
static double rng (void)
 

Static Private Attributes

static T * m_obj
 
static double(T::* m_func )(void)
 

Detailed Description

template<class T>
class evgb::RNGWrapper< T >

Definition at line 71 of file CRYHelper.h.

Member Function Documentation

template<class T >
double evgb::RNGWrapper< T >::rng ( void  )
static

Definition at line 88 of file CRYHelper.h.

88 { return (m_obj->*m_func)(); }
static T * m_obj
Definition: CRYHelper.h:76
static double(T::* m_func)(void)
Definition: CRYHelper.h:77
template<class T >
void evgb::RNGWrapper< T >::set ( T *  object,
double(T::*)(void)  func 
)
static

Definition at line 84 of file CRYHelper.h.

84  {
85  m_obj = object; m_func = func;
86  }
static T * m_obj
Definition: CRYHelper.h:76
def func()
Definition: docstring.py:7
static double(T::* m_func)(void)
Definition: CRYHelper.h:77

Member Data Documentation

template<class T >
double(T::* evgb::RNGWrapper< T >::m_func) (void)
staticprivate

Definition at line 77 of file CRYHelper.h.

template<class T >
T * evgb::RNGWrapper< T >::m_obj
staticprivate

Definition at line 76 of file CRYHelper.h.


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