FRIBParallelanalysis
1.0
FrameworkforMPIParalleldataanalysisatFRIB
|
#include <CLanguageTraceCallbacks.h>
Public Member Functions | |
CLanguageTraceCallback (VariableTraceCallback *pCallback, void *pClientData) | |
virtual | ~CLanguageTraceCallback () |
virtual char * | operator() (CTCLInterpreter *pInterp, char *pVariable, char *pElement, int flags) |
This is a variable trace callback that interfaces to unbound functions (e.g. those written in C).
CLanguageTraceCallback::CLanguageTraceCallback | ( | VariableTraceCallback * | pCallback, |
void * | pClientData | ||
) |
Constrution just means save the parameters in the member data:
|
virtual |
Destructor is noop.
|
virtual |
Function call operator... called for a trace. We delegate to the callback.
pInterp | (CTCLInterpreter*) Pointer to the interpreter object that is calling us. |
pVariable | (char*): Pointer to the name of the variable or basename of the array that fired the trace. |
pElement | (char*) If the trace was fired on an array element this is the index, otherwise this will be null. |
flags | (int): A bitmask describing why the traace fired. |
Implements CVariableTraceCallback.