Notify – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 132

Advertising
background image

Classes of the C++ Interface

Methods of the IGCCallBack Class

2-110

CATC IBTrainer InfiniBand Exerciser API Reference

Notify

virtual IGECBReturn Notify (ig_int32 changeMask,

IGCObject & obj,

IGCGenerator & generator) = 0;

Called from the generator with the callback data.

Notify is declared protected and cannot be called directly from user
programs!

Valid values are:

• REJECT (0) - Pass. nothing changed, pass on data to other callback

handlers in chain

• ACCEPT (1) - Accept, noone else in the chain gets called
• CANCEL (2) - Cancel operation completely (for progress/packet

callbacks...)

changeMask
Mask for the changed properties in obj (not for packet callback).

obj
The data passed to the callback handler:
IGCStatus object for status callbacks,
IGCProgress object for progress callbacks
IGCPacket object for packet callbacks

generator
Reference to the calling generator

n/a

Call

Description

NOTE

Return Value

Input Parameters

See also

Advertising