Software Ver.2.0 Owner's manual

Methods of the IGCIBAPacket Class Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference 2-75
Methods of the IGCIBAPacket
Class
The class
IGCIBAPacket
is derived directly from the
IGCPacket
class. It
holds a standard InfiniBand packet. The functions
Set()
and
Get()
necessary to manipulate packet properties are derived from the base
class
IGCObject
. (This is true for all packet classes.)
Note that the use of
DeletePacket()
is the recommended method of
calling a destructor even though this class has its own destructor.
DeletePacket()
is defined in the base class
IGCPacket
(see
“DeletePacket”
on page 2-63
).
The constructor is available in two versions:
as a default constructor which requires an
Init()
call for
initialization
as a constructor for the class with
Opcode
and
IsGlobal
parameter.
Refer also to
“Sending Packets” on page 1-2
.
Figure 10 IGCIBAPacket Class
IGCMADPacket
I GCRa w I PP a c k e tI GCRa w Pa c k e t IGCIBAPacket
IGCPacket