Methods of the igccallback class – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 130

Advertising
background image

Classes of the C++ Interface

Methods of the IGCCallBack Class

2-108

CATC IBTrainer InfiniBand Exerciser API Reference

Methods of the IGCCallBack Class

The class IGCCallBack provides the methods to handle callbacks from the
API.

You cannot use the class directly, it is purely virtual and has to be
derived. You need to implement method Notify() in your derived class.
The generator uses this method to pass the callback data for handling.
You are free to do whatever is necessary in this method.

The characteristic members of the IGCCallBack class are as follows::

• IGCCallBack (void)
• ~IGCCallBack (void)
• ig_int32 QueryNotifyMask (void) const
• void SetNotifyMask (ig_int32 mask)
• virtual IGECBReturn Notify (ig_int32 changeMask, IGCObject & obj,

IGCGenerator & generator) = 0

#include <igcallback.h>

Files

Advertising