g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::rexpd Class Reference
Inheritance diagram for tools::rexpd:
Inheritance graph
[legend]
Collaboration diagram for tools::rexpd:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual double shootd () const
 
 rexpd (double a_rate=1)
 
virtual ~rexpd ()
 
 rexpd (const rexpd &a_from)
 
rexpdoperator= (const rexpd &a_from)
 
double shoot () const
 
- Public Member Functions inherited from tools::irandd
virtual ~irandd ()
 
- Public Member Functions inherited from tools::rexp< rtausmed, double >
 rexp (rtausmed &a_flat, double a_rate=1)
 
 rexp (const rexp &a_from)
 
virtual ~rexp ()
 
rexpoperator= (const rexp &a_from)
 
double shoot (math_func a_log) const
 
rtausmedflat ()
 
void set_seed (unsigned int a_seed)
 

Protected Attributes

rtausmed m_flat
 
- Protected Attributes inherited from tools::rexp< rtausmed, double >
rtausmedm_flat
 
double m_rate
 

Detailed Description

Definition at line 74 of file randd.

Constructor & Destructor Documentation

◆ rexpd() [1/2]

tools::rexpd::rexpd ( double  a_rate = 1)
inline

Definition at line 85 of file randd.

85 :parent(m_flat,a_rate),m_flat(){}

◆ ~rexpd()

virtual tools::rexpd::~rexpd ( )
inlinevirtual

Definition at line 86 of file randd.

86 {}

◆ rexpd() [2/2]

tools::rexpd::rexpd ( const rexpd a_from)
inline

Definition at line 88 of file randd.

88 :irandd(a_from),parent(m_flat),m_flat(a_from.m_flat){}

Member Function Documentation

◆ cast()

virtual void* tools::rexpd::cast ( const std::string &  a_class) const
inlinevirtual

Implements tools::irandd.

Definition at line 79 of file randd.

79  {
80  if(void* p = cmp_cast<rexpd>(this,a_class)) return p;
81  return 0;
82  }

◆ operator=()

rexpd& tools::rexpd::operator= ( const rexpd a_from)
inline

Definition at line 89 of file randd.

89  {
90  parent::operator=(a_from);
91  m_flat = a_from.m_flat;
92  return *this;
93  }

◆ shoot()

double tools::rexpd::shoot ( ) const
inline

Definition at line 95 of file randd.

95 {return parent::shoot(::log);}

◆ shootd()

virtual double tools::rexpd::shootd ( ) const
inlinevirtual

Implements tools::irandd.

Definition at line 83 of file randd.

83 {return shoot();}

Member Data Documentation

◆ m_flat

rtausmed tools::rexpd::m_flat
protected

Definition at line 97 of file randd.


The documentation for this class was generated from the following file:
tools::rexp< rtausmed, double >::shoot
double shoot(math_func a_log) const
Definition: randT:81
tools::rexp< rtausmed, double >::operator=
rexp & operator=(const rexp &a_from)
Definition: randT:79
tools::rexpd::m_flat
rtausmed m_flat
Definition: randd:97
tools::rexpd::shoot
double shoot() const
Definition: randd:95