Callback classes – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 28

Classes of the C++ Interface
C++ Interface
2-6
CATC IBTrainer InfiniBand Exerciser API Reference
CallBack Classes
The CallBack classes consist of the class IGCCallBack and the class
IGCCallBackTcl
, where the latter is derived from the former.
The class IGCCallBackTcl provides the functionality for handling TCL
scripts. This makes it easy for a TCL script to handle CallBacks (see
programming guide for an example).
The following figure shows the derivation hierarchy of the CallBack
classes.
Figure 4 Hierarchy of the CallBack Classes
IGCCallBack
IGCCallBackTcl
This is an abstract base class. It basically manages two functions, one of
them implemented as purely virtual method that handles callbacks by
the generator class. The methods are Notify(…) and SetNotifyMask(). For
the methods relating to this class refer to
“Methods of the IGCCallBack
Class” on page 2-108
.
As a user you are free to derive additional classes from the IGCCallBack
class to write your own CallBacks. Using the IGCCallBackTcl class you
can also write an entire CallBack in TCL.
IGCCallBack Overview
IGCCallBack Class