FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
Public Member Functions | List of all members
CLanguageTraceCallback Class Reference

#include <CLanguageTraceCallbacks.h>

Inheritance diagram for CLanguageTraceCallback:
Inheritance graph
[legend]
Collaboration diagram for CLanguageTraceCallback:
Collaboration graph
[legend]

Public Member Functions

 CLanguageTraceCallback (VariableTraceCallback *pCallback, void *pClientData)
 
virtual ~CLanguageTraceCallback ()
 
virtual char * operator() (CTCLInterpreter *pInterp, char *pVariable, char *pElement, int flags)
 

Detailed Description

This is a variable trace callback that interfaces to unbound functions (e.g. those written in C).

Constructor & Destructor Documentation

◆ CLanguageTraceCallback()

CLanguageTraceCallback::CLanguageTraceCallback ( VariableTraceCallback *  pCallback,
void *  pClientData 
)

Constrution just means save the parameters in the member data:

◆ ~CLanguageTraceCallback()

CLanguageTraceCallback::~CLanguageTraceCallback ( )
virtual

Destructor is noop.

Member Function Documentation

◆ operator()()

char * CLanguageTraceCallback::operator() ( CTCLInterpreter pInterp,
char *  pVariable,
char *  pElement,
int  Flags 
)
virtual

Function call operator... called for a trace. We delegate to the callback.

Parameters
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.
Note
If the user tried to trick us by providing a null function pointer, we raise that as a TCL error.

Implements CVariableTraceCallback.


The documentation for this class was generated from the following files: