Software Ver.2.0 Owner's manual

Methods of the IGCMADPacket Class Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference 2-79
Methods of the IGCMADPacket
Class
This class is intended for creating MADs (Management Datagrams).
While a MAD packet can also be created using the
IGCIBAPacket
class, it
is simpler to use the MAD packet class. The
IGCMADPacket
class is
derived from the
IGCIBAPacket
class.
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
).
Figure 11 IGCMADPacket Class
IGCMADPacket
I GCRa w I PP a c k e tI GCRa w Pa c k e t IGCIBAPacket
IGCPacket
The following table lists the characteristic members of the
IGCMADPacket
class:
IGCMADPacket(ig_bool IsGlobal);
virtual
~
IGCMADPacket( void );
Characteristic Members