MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EpFunc4< T, A1, A2, A3, A4 > Class Template Reference

#include <EpFunc.h>

+ Inheritance diagram for EpFunc4< T, A1, A2, A3, A4 >:
+ Collaboration diagram for EpFunc4< T, A1, A2, A3, A4 >:

Public Member Functions

 EpFunc4 (void(T::*func)(const Eref &, A1, A2, A3, A4))
 
void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4) const
 
- Public Member Functions inherited from OpFunc4Base< A1, A2, A3, A4 >
bool checkFinfo (const Finfo *s) const
 
const OpFunc * makeHopFunc (HopIndex hopIndex) const
 
void opBuffer (const Eref &e, double *buf) const
 Executes the OpFunc by converting args. More...
 
string rttiType () const
 
- Public Member Functions inherited from OpFunc
 OpFunc ()
 
unsigned int opIndex () const
 
virtual void opVecBuffer (const Eref &e, double *buf) const
 Executes the OpFunc for all data by converting a vector of args. More...
 
bool setIndex (unsigned int i)
 Used when rebuilding the Fid->OpFunc mapping. More...
 
virtual ~OpFunc ()
 

Private Attributes

void(T::* func_ )(const Eref &e, A1, A2, A3, A4)
 

Additional Inherited Members

- Static Public Member Functions inherited from OpFunc
static const OpFunc * lookop (unsigned int opIndex)
 
static unsigned int rebuildOpIndex ()
 cleans out the entire Ops vector. Returns size of orig vector. More...
 

Detailed Description

template<class T, class A1, class A2, class A3, class A4>
class EpFunc4< T, A1, A2, A3, A4 >

Definition at line 112 of file EpFunc.h.

Constructor & Destructor Documentation

template<class T , class A1 , class A2 , class A3 , class A4 >
EpFunc4< T, A1, A2, A3, A4 >::EpFunc4 ( void(T::*)(const Eref &, A1, A2, A3, A4)  func)
inline

Definition at line 116 of file EpFunc.h.

117  : func_( func )
118  {;}
void(T::* func_)(const Eref &e, A1, A2, A3, A4)
Definition: EpFunc.h:126

Member Function Documentation

template<class T , class A1 , class A2 , class A3 , class A4 >
void EpFunc4< T, A1, A2, A3, A4 >::op ( const Eref &  e,
A1  arg1,
A2  arg2,
A3  arg3,
A4  arg4 
) const
inlinevirtual

Implements OpFunc4Base< A1, A2, A3, A4 >.

Definition at line 120 of file EpFunc.h.

References Eref::data(), and EpFunc4< T, A1, A2, A3, A4 >::func_.

120  {
121  ( reinterpret_cast< T* >( e.data() )->*func_ )(
122  e, arg1, arg2, arg3, arg4 );
123  }
char * data() const
Definition: Eref.cpp:41
void(T::* func_)(const Eref &e, A1, A2, A3, A4)
Definition: EpFunc.h:126

+ Here is the call graph for this function:

Member Data Documentation

template<class T , class A1 , class A2 , class A3 , class A4 >
void( T::* EpFunc4< T, A1, A2, A3, A4 >::func_)(const Eref &e, A1, A2, A3, A4)
private

Definition at line 126 of file EpFunc.h.

Referenced by EpFunc4< T, A1, A2, A3, A4 >::op().


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