MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <EpFunc.h>
Public Member Functions | |
GetEpFunc1 (A(T::*func)(const Eref &e, L) const ) | |
void | op (const Eref &e, L index, ObjId recipient, FuncId fid) const |
A | returnOp (const Eref &e, const L &index) const |
![]() | |
bool | checkFinfo (const Finfo *s) const |
const OpFunc * | makeHopFunc (HopIndex hopIndex) const |
const OpFunc * | makeHopFunc (HopIndex hopIndex, const L &index) const |
void | opBuffer (const Eref &e, double *buf) const |
Executes the OpFunc by converting args. More... | |
string | rttiType () const |
![]() | |
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 () |
Private Attributes | |
A(T::* | func_ )(const Eref &e, L) const |
Additional Inherited Members | |
![]() | |
static const OpFunc * | lookop (unsigned int opIndex) |
static unsigned int | rebuildOpIndex () |
cleans out the entire Ops vector. Returns size of orig vector. More... | |
This specialized EpFunc is for returning a single field value, but the field lookup requires an index argument as well. Unlike the regular GetOpFunc, this variant takes the Eref and Qinfo. It generates an opFunc that takes a single argument: FuncId of the function on the object that requested the value. The EpFunc then sends back a message with the info.
|
inline |
|
inlinevirtual |
Implements LookupGetOpFuncBase< L, A >.
Definition at line 221 of file EpFunc.h.
References Element::cinfo(), ObjId::element(), ObjId::eref(), Cinfo::getOpFunc(), OpFunc1Base< A >::op(), and GetEpFunc1< T, L, A >::returnOp().
|
inlinevirtual |
Implements LookupGetOpFuncBase< L, A >.
Definition at line 230 of file EpFunc.h.
References Eref::data(), and GetEpFunc1< T, L, A >::func_.
Referenced by GetEpFunc1< T, L, A >::op().
|
private |
Definition at line 236 of file EpFunc.h.
Referenced by GetEpFunc1< T, L, A >::returnOp().