#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 |
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.
GetEpFunc1< T, L, A >::GetEpFunc1 | ( | A(T::*)(const Eref &e, L) const | func | ) | [inline] |
void GetEpFunc1< T, L, A >::op | ( | const Eref & | e, | |
L | index, | |||
ObjId | recipient, | |||
FuncId | fid | |||
) | const [inline, virtual] |
Implements LookupGetOpFuncBase< L, A >.
References Element::cinfo(), ObjId::element(), ObjId::eref(), Cinfo::getOpFunc(), OpFunc1Base< A >::op(), and GetEpFunc1< T, L, A >::returnOp().
A GetEpFunc1< T, L, A >::returnOp | ( | const Eref & | e, | |
const L & | index | |||
) | const [inline, virtual] |
Implements LookupGetOpFuncBase< L, A >.
References Eref::data().
Referenced by GetEpFunc1< T, L, A >::op().