MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OpFunc0Base Class Referenceabstract

#include <OpFuncBase.h>

+ Inheritance diagram for OpFunc0Base:
+ Collaboration diagram for OpFunc0Base:

Public Member Functions

bool checkFinfo (const Finfo *s) const
 
const OpFuncmakeHopFunc (HopIndex hopIndex) const
 
virtual void op (const Eref &e) 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

Definition at line 79 of file OpFuncBase.h.

Member Function Documentation

bool OpFunc0Base::checkFinfo ( const Finfo s) const
inlinevirtual

Implements OpFunc.

Definition at line 82 of file OpFuncBase.h.

82  {
83  return dynamic_cast< const SrcFinfo0* >( s );
84  }
const OpFunc * OpFunc0Base::makeHopFunc ( HopIndex  hopIndex) const
virtual

Implements OpFunc.

Definition at line 32 of file OpFuncBase.cpp.

Referenced by SetGet0::set().

33 {
34  return new HopFunc0( hopIndex );
35 }

+ Here is the caller graph for this function:

virtual void OpFunc0Base::op ( const Eref e) const
pure virtual

Implemented in EpFunc0< T >, HopFunc0, and OpFunc0< T >.

Referenced by opBuffer(), SrcFinfo0::send(), and SetGet0::set().

+ Here is the caller graph for this function:

void OpFunc0Base::opBuffer ( const Eref e,
double *  buf 
) const
virtual

Executes the OpFunc by converting args.

Implements OpFunc.

Definition at line 37 of file OpFuncBase.cpp.

References op().

38 {
39  op( e );
40 }
virtual void op(const Eref &e) const =0

+ Here is the call graph for this function:

string OpFunc0Base::rttiType ( ) const
inlinevirtual

Implements OpFunc.

Definition at line 92 of file OpFuncBase.h.

92  {
93  return "void";
94  }

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