MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EpFunc0< T > Class Template Reference

#include <EpFunc.h>

+ Inheritance diagram for EpFunc0< T >:
+ Collaboration diagram for EpFunc0< T >:

Public Member Functions

 EpFunc0 (void(T::*func)(const Eref &e))
 
void op (const Eref &e) const
 
- Public Member Functions inherited from OpFunc0Base
bool checkFinfo (const Finfo *s) const
 
const OpFuncmakeHopFunc (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)
 

Additional Inherited Members

- Static Public Member Functions inherited from OpFunc
static const OpFunclookop (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 EpFunc0< T >

This set of classes is derived from OpFunc, and take extra args for the qinfo and Eref.

Definition at line 49 of file EpFunc.h.

Constructor & Destructor Documentation

template<class T >
EpFunc0< T >::EpFunc0 ( void(T::*)(const Eref &e)  func)
inline

Definition at line 52 of file EpFunc.h.

53  : func_( func )
54  {;}
void(T::* func_)(const Eref &e)
Definition: EpFunc.h:61

Member Function Documentation

template<class T >
void EpFunc0< T >::op ( const Eref e) const
inlinevirtual

Implements OpFunc0Base.

Definition at line 56 of file EpFunc.h.

References Eref::data(), and EpFunc0< T >::func_.

56  {
57  ( reinterpret_cast< T* >( e.data() )->*func_ )( e );
58  }
char * data() const
Definition: Eref.cpp:41
void(T::* func_)(const Eref &e)
Definition: EpFunc.h:61

+ Here is the call graph for this function:

Member Data Documentation

template<class T >
void( T::* EpFunc0< T >::func_)(const Eref &e)
private

Definition at line 61 of file EpFunc.h.

Referenced by EpFunc0< T >::op().


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