Packet handler classes – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 26

Advertising
background image

Classes of the C++ Interface

C++ Interface

2-4

CATC IBTrainer InfiniBand Exerciser API Reference

the packet or not (refer to the IBA Specification Section 5.2). For the
methods relating to this class refer to

“Methods of the IGCIBAPacket

Class” on page 2-75

.

The following class is derived from the IGCIBAPacket class:

IGCMADPacket

class

Special class to hold InfiniBand MAD packets. This class allows
convenient access to all MAD information. For the methods
relating to this class refer to

“Methods of the IGCMADPacket

Class” on page 2-79

.

The following class is derived from the IGMADPacket class:

IGCSMPPacket

class

Special class to hold InfiniBand SMP packets. For the methods
relating to this class refer to

“Methods of the IGCSMPPacket

Class” on page 2-118

Packet Handler Classes

The Packet Handler classes consist of the class IGCPacketHandler and the
class IGCPacketHandlerTcl, where the latter is derived from the former.

The class IGCPacketHandlerTcl provides the functionality for handling
TCL scripts. This makes it easy for a TCL script to handle incoming
packets.

There is a simple SMA (subnet management agent) implemented by a
TCL script, which is also part of the software. The script also serves as
an example of how to program in TCL. You can find the script under

“Installed TCL Sample Scripts” on page 1-11

.

The following figure shows the derivation hierarchy of the Packet
Handler classes.

IGCPacketHandler Overview

Advertising