#include <OpFuncBase.h>
Public Member Functions | |
OpFunc () | |
virtual | ~OpFunc () |
virtual bool | checkFinfo (const Finfo *s) const =0 |
virtual string | rttiType () 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. | |
virtual void | opVecBuffer (const Eref &e, double *buf) const |
Executes the OpFunc for all data by converting a vector of args. | |
unsigned int | opIndex () const |
bool | setIndex (unsigned int i) |
Used when rebuilding the Fid->OpFunc mapping. | |
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. |
OpFunc::OpFunc | ( | ) |
virtual OpFunc::~OpFunc | ( | ) | [inline, virtual] |
virtual bool OpFunc::checkFinfo | ( | const Finfo * | s | ) | const [pure virtual] |
Implemented in OpFunc0Base, OpFunc1Base< A >, OpFunc2Base< A1, A2 >, OpFunc3Base< A1, A2, A3 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, LookupGetOpFuncBase< L, A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
Referenced by SrcFinfo::addMsg(), and SrcFinfo::checkTarget().
const OpFunc * OpFunc::lookop | ( | unsigned int | opIndex | ) | [static] |
Implemented in OpFunc0Base, OpFunc1Base< A >, OpFunc2Base< A1, A2 >, OpFunc3Base< A1, A2, A3 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, GetOpFuncBase< A >, LookupGetOpFuncBase< L, A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
virtual void OpFunc::opBuffer | ( | const Eref & | e, | |
double * | buf | |||
) | const [pure virtual] |
Executes the OpFunc by converting args.
Implemented in OpFunc0Base, OpFunc1Base< A >, OpFunc2Base< A1, A2 >, OpFunc3Base< A1, A2, A3 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, GetOpFuncBase< A >, LookupGetOpFuncBase< L, A >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
unsigned int OpFunc::opIndex | ( | ) | const [inline] |
Referenced by Field< A >::get(), Field< A >::getVec(), SetGet6< A1, A2, A3, A4, A5, A6 >::set(), SetGet5< A1, A2, A3, A4, A5 >::set(), SetGet4< A1, A2, A3, A4 >::set(), SetGet3< A1, A2, A3 >::set(), SetGet2< L, A >::set(), SetGet1< A >::set(), SetGet0::set(), SetGet2< L, A >::setVec(), and SetGet1< A >::setVec().
virtual void OpFunc::opVecBuffer | ( | const Eref & | e, | |
double * | buf | |||
) | const [inline, virtual] |
Executes the OpFunc for all data by converting a vector of args.
Reimplemented in OpFunc1Base< A >, OpFunc2Base< A1, A2 >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
unsigned int OpFunc::rebuildOpIndex | ( | ) | [static] |
cleans out the entire Ops vector. Returns size of orig vector.
virtual string OpFunc::rttiType | ( | ) | const [pure virtual] |
Implemented in OpFunc0Base, OpFunc1Base< A >, OpFunc2Base< A1, A2 >, OpFunc3Base< A1, A2, A3 >, OpFunc4Base< A1, A2, A3, A4 >, OpFunc5Base< A1, A2, A3, A4, A5 >, OpFunc6Base< A1, A2, A3, A4, A5, A6 >, LookupGetOpFuncBase< L, A >, ProcOpFunc< T >, OpFunc1Base< A * >, OpFunc1Base< vector< A > * >, and OpFunc1Base< ProcPtr >.
Referenced by DestFinfo::rttiType().
bool OpFunc::setIndex | ( | unsigned int | i | ) |
Used when rebuilding the Fid->OpFunc mapping.
Referenced by Cinfo::rebuildOpIndex().