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

#include <OpFunc.h>

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

Public Member Functions

void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) const
 
 OpFunc5 (void(T::*func)(A1, A2, A3, A4, A5))
 
- Public Member Functions inherited from OpFunc5Base< A1, A2, A3, A4, A5 >
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_ )(A1, A2, A3, A4, A5)
 

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 A5>
class OpFunc5< T, A1, A2, A3, A4, A5 >

Definition at line 88 of file OpFunc.h.

Constructor & Destructor Documentation

template<class T , class A1 , class A2 , class A3 , class A4 , class A5 >
OpFunc5< T, A1, A2, A3, A4, A5 >::OpFunc5 ( void(T::*)(A1, A2, A3, A4, A5)  func)
inline

Definition at line 91 of file OpFunc.h.

92  : func_( func )
93  {;}
void(T::* func_)(A1, A2, A3, A4, A5)
Definition: OpFunc.h:102

Member Function Documentation

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

Implements OpFunc5Base< A1, A2, A3, A4, A5 >.

Definition at line 95 of file OpFunc.h.

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

96  {
97  (reinterpret_cast< T* >( e.data() )->*func_)(
98  arg1, arg2, arg3, arg4, arg5 );
99  }
char * data() const
Definition: Eref.cpp:41
void(T::* func_)(A1, A2, A3, A4, A5)
Definition: OpFunc.h:102

+ Here is the call graph for this function:

Member Data Documentation

template<class T , class A1 , class A2 , class A3 , class A4 , class A5 >
void( T::* OpFunc5< T, A1, A2, A3, A4, A5 >::func_)(A1, A2, A3, A4, A5)
private

Definition at line 102 of file OpFunc.h.

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


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