Error class, Miscellaneous classes – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 35

C++ Interface
Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference
2-13
Error Class
Error handling in the C++ as well as in the TCL interface is based on
C++ exception handling. Errors are of the type IGCError.
This class handles errors and gets thrown if an error occurs. Error
handling takes place via exception handling (try and catch). You are
responsible for catching potential errors. For the methods relating to
this class refer to
“Methods of the IGCPacketHandler Class” on
page 2-103
.
Miscellaneous Classes
This group consists of the classes IGCGeneratorList, IGCGeneratorInfo,
IGCObject
, IGCBuffer and IGCStatus.
This class does an automatic USB scan and creates a list of all
connected generators. For the methods relating to this class refer to
“Methods of the IGCGeneratorList Class” on page 2-53
.
This class contains a set of ‘static’ information. Every generator
provides this information in the form of a serial number or the USB
port with which it is connected (see
“Methods of the IGCGeneratorInfo
Class” on page 2-57
).
This class is purely virtual and is the base class for most user-accessible
classes. It implements the functions Set() and Get() necessary for
property control. For the methods relating to this class refer to
“Methods of the IGCObject Class” on page 2-98
.
This class holds a buffer, for instance, for the data payload or provides
space to store an unparsed packet. For the methods relating to this
class refer to
“Methods of the IGCBuffer Class” on page 2-83
.
This class contains the entire status information available from one
IB
Trainer
Generator. For the methods relating to this class refer to
“Methods of the IGCStatus Class” on page 2-101
.
IGCError Class
IGCGeneratorList Class
IGCGeneratorInfo Class
IGCObject Class
IGCBuffer Class
IGCStatus Class