Property value class – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 29

Advertising
background image

C++ Interface

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-7

The following class is derived from IGCCallBack:

• IGCCallBackTcl class

This class allows you to provide the generator class with TCL scripts
to handle incoming packets. For the methods relating to this class
refer to

“Methods of the IGCCallBackTcl Class” on page 2-112

.

Property Value Class

The class IGCVal is designed to take different kinds of property values
into one type of variable. These properties control the behavior of the
generator or the assembly of packets within one of the packet classes.
As with all classes, the class IGCVal can be sent to an output stream
using the C++ stream operator to get

a textual representation of the

property value (see

“Methods of the IGCGeneratorInfo Class” on

page 2-57

).

This class can hold different data types (integers, long integers, strings,
boolean and so on) up to 128 bits in length. For the methods relating to
this class refer to

“Methods of the IGCVal Class” on page 2-91

.

IGCVal Class

Advertising