EV_FUNCTION Class Reference
#include <EXPR.h>
List of all members.
|
Public Member Functions |
| | EV_FUNCTION (unsigned flag=0, const char *name=0, int num_args=0, int result_type=EV_TYPEFLOAT, const int *argTypes=0, void(*callback)(EV_FUNCTION *me, EV_SYMBOL *result, EV_SYMBOL **args, int thread)=0, EXPRopDependencyCallback dependCB=0, EXPRopChangeRefCallback changeOpRefCB=0, int is_safe=1, bool is_threadsafe=false) |
| virtual | ~EV_FUNCTION () |
| unsigned | getUserFlags () const |
| const char * | getName () const |
| int | getNArgs () const |
| int | getResultType () const |
| const int * | getArgTypes () const |
| int | getArgType (int i) const |
| const char * | getDSOLocation () const |
| void * | getInstanceData (int thread) |
| void | setInstanceAllocator (void *(*alloc)(), void(*freer)(void *)) |
| void * | allocInstanceData () |
| void | freeInstanceData (void *d) |
| void | setOpDependencyCallback (EXPRopDependencyCallback cb) |
| void | setChangeOpRefCallback (EXPRopChangeRefCallback cb) |
| int | isSafe () const |
| bool | isThreadSafe () const |
Static Public Member Functions |
| static void | setInstanceAllocator (const char *function, void *(*alloc)(), void(*freer)(void *)) |
Public Attributes |
| void(* | myCallback )(EV_FUNCTION *me, EV_SYMBOL *result, EV_SYMBOL **args, int thread) |
| EXPRopDependencyCallback | myDependCallback |
| EXPRopChangeRefCallback | myChangeOpRefCallback |
| unsigned | myFlags |
Detailed Description
- Examples:
-
expr/channel.C, and expr/functions.C.
Definition at line 196 of file EXPR.h.
Constructor & Destructor Documentation
| EV_FUNCTION::EV_FUNCTION |
( |
unsigned |
flag = 0, |
|
|
const char * |
name = 0, |
|
|
int |
num_args = 0, |
|
|
int |
result_type = EV_TYPEFLOAT, |
|
|
const int * |
argTypes = 0, |
|
|
void(*)(EV_FUNCTION *me, EV_SYMBOL *result, EV_SYMBOL **args, int thread) |
callback = 0, |
|
|
EXPRopDependencyCallback |
dependCB = 0, |
|
|
EXPRopChangeRefCallback |
changeOpRefCB = 0, |
|
|
int |
is_safe = 1, |
|
|
bool |
is_threadsafe = false | |
|
) |
| | |
| virtual EV_FUNCTION::~EV_FUNCTION |
( |
|
) |
[virtual] |
Member Function Documentation
| void* EV_FUNCTION::allocInstanceData |
( |
|
) |
[inline] |
| void EV_FUNCTION::freeInstanceData |
( |
void * |
d |
) |
[inline] |
| int EV_FUNCTION::getArgType |
( |
int |
i |
) |
const [inline] |
| const int* EV_FUNCTION::getArgTypes |
( |
|
) |
const [inline] |
| const char* EV_FUNCTION::getDSOLocation |
( |
|
) |
const [inline] |
| void* EV_FUNCTION::getInstanceData |
( |
int |
thread |
) |
|
getInstanceData() returns the instance data for the current evaluating expression function
| const char* EV_FUNCTION::getName |
( |
void |
|
) |
const [inline] |
| int EV_FUNCTION::getNArgs |
( |
|
) |
const [inline] |
| int EV_FUNCTION::getResultType |
( |
|
) |
const [inline] |
| unsigned EV_FUNCTION::getUserFlags |
( |
|
) |
const [inline] |
| int EV_FUNCTION::isSafe |
( |
|
) |
const [inline] |
| bool EV_FUNCTION::isThreadSafe |
( |
|
) |
const [inline] |
| void EV_FUNCTION::setInstanceAllocator |
( |
void *(*)() |
alloc, |
|
|
void(*)(void *) |
freer | |
|
) |
| | [inline] |
| static void EV_FUNCTION::setInstanceAllocator |
( |
const char * |
function, |
|
|
void *(*)() |
alloc, |
|
|
void(*)(void *) |
freer | |
|
) |
| | [static] |
Member Data Documentation
The documentation for this class was generated from the following file: