MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <OpFuncBase.h>
Public Member Functions | |
virtual bool | checkFinfo (const Finfo *s) const =0 |
virtual const OpFunc * | makeHopFunc (HopIndex hopIndex) const =0 |
virtual void | opBuffer (const Eref &e, double *buf) const =0 |
Executes the OpFunc by converting args. More... | |
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... | |
virtual string | rttiType () const =0 |
bool | setIndex (unsigned int i) |
Used when rebuilding the Fid->OpFunc mapping. More... | |
virtual | ~OpFunc () |
Static Public Member Functions | |
static const OpFunc * | lookop (unsigned int opIndex) |
static unsigned int | rebuildOpIndex () |
cleans out the entire Ops vector. Returns size of orig vector. More... | |
Static Private Member Functions | |
static vector< OpFunc * > & | ops () |
Private Attributes | |
unsigned int | opIndex_ |
Definition at line 44 of file OpFuncBase.h.
OpFunc::OpFunc | ( | ) |
Definition at line 26 of file OpFuncBase.cpp.
References opIndex_, and ops().
|
inlinevirtual |
Definition at line 49 of file OpFuncBase.h.
|
pure virtual |
Implemented in LookupGetOpFuncBase< L, A >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc3Base< A1, A2, A3 >, OpFunc2Base< A1, A2 >, OpFunc1Base< A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, OpFunc1Base< ProcPtr >, and OpFunc0Base.
Referenced by SrcFinfo::addMsg(), and SrcFinfo::checkTarget().
|
static |
Definition at line 42 of file OpFuncBase.cpp.
References opIndex(), and ops().
Referenced by PostMaster::clearPendingSetGet().
Implemented in LookupGetOpFuncBase< L, A >, GetOpFuncBase< A >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc3Base< A1, A2, A3 >, OpFunc2Base< A1, A2 >, OpFunc1Base< A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, OpFunc1Base< ProcPtr >, and OpFunc0Base.
Referenced by Element::putOffNodeTargetsInDigest().
|
pure virtual |
Executes the OpFunc by converting args.
Implemented in LookupGetOpFuncBase< L, A >, GetOpFuncBase< A >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc3Base< A1, A2, A3 >, OpFunc2Base< A1, A2 >, OpFunc1Base< A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, OpFunc1Base< ProcPtr >, and OpFunc0Base.
Referenced by PostMaster::clearPendingSetGet(), PostMaster::handleRemoteGet(), and innerGetVec().
|
inline |
Definition at line 66 of file OpFuncBase.h.
References opIndex_.
Referenced by Field< A >::get(), Field< A >::getVec(), lookop(), SetGet0::set(), SetGet1< A >::set(), SetGet2< L, A >::set(), SetGet3< A1, A2, A3 >::set(), SetGet4< A1, A2, A3, A4 >::set(), SetGet5< A1, A2, A3, A4, A5 >::set(), SetGet6< A1, A2, A3, A4, A5, A6 >::set(), SetGet1< A >::setVec(), and SetGet2< L, A >::setVec().
|
staticprivate |
Definition at line 20 of file OpFuncBase.cpp.
References op().
Referenced by lookop(), OpFunc(), rebuildOpIndex(), and setIndex().
|
inlinevirtual |
Executes the OpFunc for all data by converting a vector of args.
Reimplemented in OpFunc2Base< A1, A2 >, OpFunc1Base< A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
Definition at line 61 of file OpFuncBase.h.
Referenced by PostMaster::clearPendingSetGet().
|
static |
cleans out the entire Ops vector. Returns size of orig vector.
Definition at line 49 of file OpFuncBase.cpp.
References ops().
Referenced by Cinfo::rebuildOpIndex().
|
pure virtual |
Implemented in LookupGetOpFuncBase< L, A >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc3Base< A1, A2, A3 >, OpFunc2Base< A1, A2 >, OpFunc1Base< A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, OpFunc1Base< ProcPtr >, OpFunc0Base, and ProcOpFunc< T >.
Referenced by DestFinfo::rttiType().
bool OpFunc::setIndex | ( | unsigned int | i | ) |
Used when rebuilding the Fid->OpFunc mapping.
Definition at line 58 of file OpFuncBase.cpp.
References opIndex_, and ops().
Referenced by Cinfo::rebuildOpIndex().
|
private |
Definition at line 75 of file OpFuncBase.h.
Referenced by OpFunc(), opIndex(), and setIndex().