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

#include <OpFuncBase.h>

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

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, A4 arg4, A5 arg5, A6 arg6) 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 A4, class A5, class A6>
class OpFunc6Base< A1, A2, A3, A4, A5, A6 >

Definition at line 276 of file OpFuncBase.h.

Member Function Documentation

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

Implements OpFunc.

Definition at line 279 of file OpFuncBase.h.

279  {
280  return dynamic_cast< const SrcFinfo6< A1, A2, A3, A4, A5, A6 >* >( s );
281  }
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
const OpFunc * OpFunc6Base< A1, A2, A3, A4, A5, A6 >::makeHopFunc ( HopIndex  hopIndex) const
virtual

Implements OpFunc.

Definition at line 399 of file HopFunc.h.

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

401 {
402  return new HopFunc6< A1, A2, A3, A4, A5, A6 >( hopIndex );
403 }

+ Here is the caller graph for this function:

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

Implemented in HopFunc6< A1, A2, A3, A4, A5, A6 >, EpFunc6< T, A1, A2, A3, A4, A5, A6 >, and OpFunc6< T, A1, A2, A3, A4, A5, A6 >.

Referenced by OpFunc6Base< A1, A2, A3, A4, A5, A6 >::opBuffer(), SrcFinfo6< T1, T2, T3, T4, T5, T6 >::send(), and SetGet6< A1, A2, A3, A4, A5, A6 >::set().

+ Here is the caller graph for this function:

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

Executes the OpFunc by converting args.

Implements OpFunc.

Definition at line 288 of file OpFuncBase.h.

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

288  {
289  const A1& arg1 = Conv< A1 >::buf2val( &buf );
290  const A2& arg2 = Conv< A2 >::buf2val( &buf );
291  const A3& arg3 = Conv< A3 >::buf2val( &buf );
292  const A4& arg4 = Conv< A4 >::buf2val( &buf );
293  const A5& arg5 = Conv< A5 >::buf2val( &buf );
294  op( e,
295  arg1, arg2, arg3, arg4, arg5, Conv< A6 >::buf2val( &buf ) );
296  }
virtual void op(const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6) 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, class A6>
string OpFunc6Base< A1, A2, A3, A4, A5, A6 >::rttiType ( ) const
inlinevirtual

Implements OpFunc.

Definition at line 298 of file OpFuncBase.h.

References Conv< T >::rttiType().

298  {
299  return Conv< A1 >::rttiType() + "," + Conv< A2 >::rttiType() +
300  "," + Conv<A3>::rttiType() + "," + Conv<A4>::rttiType() +
301  "," + Conv<A5>::rttiType() + "," + Conv<A6>::rttiType();
302  }
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: