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

#include <OpFuncBase.h>

+ Inheritance diagram for OpFunc3Base< A1, A2, A3 >:
+ Collaboration diagram for OpFunc3Base< A1, A2, A3 >:

Public Member Functions

bool checkFinfo (const Finfo *s) const
 
const OpFuncmakeHopFunc (HopIndex hopIndex) const
 
virtual void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3) const =0
 
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 ()
 

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 A1, class A2, class A3>
class OpFunc3Base< A1, A2, A3 >

Definition at line 193 of file OpFuncBase.h.

Member Function Documentation

template<class A1, class A2, class A3>
bool OpFunc3Base< A1, A2, A3 >::checkFinfo ( const Finfo s) const
inlinevirtual

Implements OpFunc.

Definition at line 197 of file OpFuncBase.h.

197  {
198  return dynamic_cast< const SrcFinfo3< A1, A2, A3 >* >( s );
199  }
template<class A1 , class A2 , class A3 >
const OpFunc * OpFunc3Base< A1, A2, A3 >::makeHopFunc ( HopIndex  hopIndex) const
virtual

Implements OpFunc.

Definition at line 299 of file HopFunc.h.

Referenced by SetGet3< A1, A2, A3 >::set().

301 {
302  return new HopFunc3< A1, A2, A3 >( hopIndex );
303 }

+ Here is the caller graph for this function:

template<class A1, class A2, class A3>
virtual void OpFunc3Base< A1, A2, A3 >::op ( const Eref e,
A1  arg1,
A2  arg2,
A3  arg3 
) const
pure virtual

Implemented in HopFunc3< A1, A2, A3 >, EpFunc3< T, A1, A2, A3 >, and OpFunc3< T, A1, A2, A3 >.

Referenced by OpFunc3Base< A1, A2, A3 >::opBuffer(), SrcFinfo3< T1, T2, T3 >::send(), and SetGet3< A1, A2, A3 >::set().

+ Here is the caller graph for this function:

template<class A1, class A2, class A3>
void OpFunc3Base< A1, A2, A3 >::opBuffer ( const Eref e,
double *  buf 
) const
inlinevirtual

Executes the OpFunc by converting args.

Implements OpFunc.

Definition at line 206 of file OpFuncBase.h.

References Conv< T >::buf2val(), and OpFunc3Base< A1, A2, A3 >::op().

206  {
207  const A1& arg1 = Conv< A1 >::buf2val( &buf );
208  const A2& arg2 = Conv< A2 >::buf2val( &buf );
209  op( e,
210  arg1, arg2, Conv< A3 >::buf2val( &buf ) );
211  }
Definition: Conv.h:30
virtual void op(const Eref &e, A1 arg1, A2 arg2, A3 arg3) const =0
static const T & buf2val(double **buf)
Definition: Conv.h:44

+ Here is the call graph for this function:

template<class A1, class A2, class A3>
string OpFunc3Base< A1, A2, A3 >::rttiType ( ) const
inlinevirtual

Implements OpFunc.

Definition at line 213 of file OpFuncBase.h.

References Conv< T >::rttiType().

213  {
214  return Conv< A1 >::rttiType() + "," + Conv< A2 >::rttiType() +
215  "," + Conv< A3 >::rttiType();
216  }
static string rttiType()
Definition: Conv.h:82

+ Here is the call graph for this function:


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