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

#include <OpFuncBase.h>

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

Public Member Functions

bool checkFinfo (const Finfo *s) const
 
const OpFunc * makeHopFunc (HopIndex hopIndex) const
 
virtual void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) 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 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 A1, class A2, class A3, class A4, class A5>
class OpFunc5Base< A1, A2, A3, A4, A5 >

Definition at line 247 of file OpFuncBase.h.

Member Function Documentation

template<class A1, class A2, class A3, class A4, class A5>
bool OpFunc5Base< A1, A2, A3, A4, A5 >::checkFinfo ( const Finfo *  s) const
inlinevirtual

Implements OpFunc.

Definition at line 250 of file OpFuncBase.h.

250  {
251  return dynamic_cast< const SrcFinfo5< A1, A2, A3, A4, A5 >* >( s );
252  }
template<class A1 , class A2 , class A3 , class A4 , class A5 >
const OpFunc * OpFunc5Base< A1, A2, A3, A4, A5 >::makeHopFunc ( HopIndex  hopIndex) const
virtual

Implements OpFunc.

Definition at line 364 of file HopFunc.h.

Referenced by SetGet5< A1, A2, A3, A4, A5 >::set().

366 {
367  return new HopFunc5< A1, A2, A3, A4, A5 >( hopIndex );
368 }

+ Here is the caller graph for this function:

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

Implemented in HopFunc5< A1, A2, A3, A4, A5 >, EpFunc5< T, A1, A2, A3, A4, A5 >, and OpFunc5< T, A1, A2, A3, A4, A5 >.

Referenced by OpFunc5Base< A1, A2, A3, A4, A5 >::opBuffer(), SrcFinfo5< T1, T2, T3, T4, T5 >::send(), and SetGet5< A1, A2, A3, A4, A5 >::set().

+ Here is the caller graph for this function:

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

Executes the OpFunc by converting args.

Implements OpFunc.

Definition at line 259 of file OpFuncBase.h.

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

259  {
260  const A1& arg1 = Conv< A1 >::buf2val( &buf );
261  const A2& arg2 = Conv< A2 >::buf2val( &buf );
262  const A3& arg3 = Conv< A3 >::buf2val( &buf );
263  const A4& arg4 = Conv< A4 >::buf2val( &buf );
264  op( e,
265  arg1, arg2, arg3, arg4, Conv< A5 >::buf2val( &buf ) );
266  }
virtual void op(const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) const =0
Definition: Conv.h:30
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, class A4, class A5>
string OpFunc5Base< A1, A2, A3, A4, A5 >::rttiType ( ) const
inlinevirtual

Implements OpFunc.

Definition at line 268 of file OpFuncBase.h.

References Conv< T >::rttiType().

268  {
269  return Conv< A1 >::rttiType() + "," + Conv< A2 >::rttiType() +
270  "," + Conv<A3>::rttiType() + "," + Conv<A4>::rttiType() +
271  "," + Conv<A5>::rttiType();
272  }
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: