|
| CTCLTracedVariable (CTCLInterpreter *pInterp, std::string Name, CVariableTraceCallback &Trace, int flags=(TCL_TRACE_READS|TCL_TRACE_WRITES|TCL_TRACE_UNSETS)) |
|
virtual | ~CTCLTracedVariable () |
|
CVariableTraceCallback & | getCallback () |
|
virtual char * | operator() (char *pName, char *pElement, int flags) |
|
| CTCLVariable (std::string am_sVariable, TCLPLUS::Bool_t am_fTracing) |
|
| CTCLVariable (CTCLInterpreter *pInterp, std::string am_sVariable, TCLPLUS::Bool_t am_fTracing) |
|
| CTCLVariable (const CTCLVariable &aCTCLVariable) |
|
CTCLVariable & | operator= (const CTCLVariable &aCTCLVariable) |
|
int | operator== (const CTCLVariable &aCTCLVariable) const |
|
std::string | getVariableName () const |
|
TCLPLUS::Bool_t | IsTracing () const |
|
void | setVariableName (const std::string am_sVariable) |
|
const char * | Set (const char *pValue, int flags=TCL_LEAVE_ERR_MSG|TCL_GLOBAL_ONLY) |
|
const char * | Set (const char *pSubscript, const char *pValue, int flags=TCL_LEAVE_ERR_MSG|TCL_GLOBAL_ONLY) |
|
const char * | Get (int flags=TCL_LEAVE_ERR_MSG|TCL_GLOBAL_ONLY, char *pIndex=0) |
|
int | Link (void *pVariable, int Type) |
|
void | Unlink () |
|
int | Trace (int flags=TCL_TRACE_READS|TCL_TRACE_WRITES|TCL_TRACE_UNSETS, char *pIndex=(char *) TCLPLUS::kpNULL) |
|
void | UnTrace () |
|
| CTCLInterpreterObject (CTCLInterpreter *pInterp) |
|
| CTCLInterpreterObject (const CTCLInterpreterObject &aCTCLInterpreterObject) |
|
CTCLInterpreterObject & | operator= (const CTCLInterpreterObject &aCTCLInterpreterObject) |
|
int | operator== (const CTCLInterpreterObject &aCTCLInterpreterObject) const |
|
CTCLInterpreter * | getInterpreter () const |
|
CTCLInterpreter * | Bind (CTCLInterpreter &rBinding) |
|
CTCLInterpreter * | Bind (CTCLInterpreter *pBinding) |
|
This class is an extension of the CTCLVariable class designed to make dealing with tracing somewhat simpler. The class will contain a 'trace callback' object which is dispatched to by the trace handler. Thus, in theory, in stead of having a ton of derived CTCLVariables, you'll hopefully only have a few CVariableTraceCallback objects. The characteristics of the trace are set up at construction time and remain fixed for the lifetime of an object.