Methods of the igcpacket class – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 82
Classes of the C++ Interface
Methods of the IGCPacket Class
2-60
CATC IBTrainer InfiniBand Exerciser API Reference
Methods of the IGCPacket Class
The class IGCPacket is not for direct use by the programmer. The classes
IGCIBAPacket
, IGCRawIPPacket, IGCRawPacket, IGCMADPacket and
IGCSMPPacket are derived from this class and provide the user
interface to programming the packets. The constructor is protected. Use
constructors from derived classes for construction and DeletePacket() for
deletion. (While the use of destructors from derived classes is possible,
it is recommended to use DeletePacket() instead.)
Figure 7 IGCPacket Class
IGCMADPacket
IGCRawIPPacket
IGCRawPacket
IGCIBAPacket
IGCPacket
The following table lists the characteristic members of the IGCPacket
class:
void
AppendBuffer ( OUT IGCBuffer & buffer ) const;
void
AppendPayloadBuffer ( OUT IGCBuffer & buffer ) const;
IGCPacket *
Clone ( void ) const;
void
DeletePacket ( void );
virtual ig_int16
GetActualLength ( void ) const;
virtual ig_int32
GetICRC (void) const;
Characteristic Members