Appendbuffer – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 83

Advertising
background image

Methods of the IGCPacket Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-61

virtual void

GetPayload (OUT IGCBuffer & bufPld) const;

ig_int32

GetType ( void ) const;

ig_int16

GetVCRC (void) const;

virtual ig_bool

HasPayload (void) const;

virtual

~IGCPacket ();

IGCPacket *

NewPacket ( IN & IGCBuffer databuffer );

void

SetPacketLength ( IN ig_int16 length );

void

SetPayload ( IN const & IGCBuffer dataarray );

virtual void

SetPRBSPayloadSize (IN ig_size size);

The following table lists the inherited members of the IGCPacket class
(see also

“Methods of the IGCObject Class” on page 2-98

):

void

Set ( IN ig_int32 prop, IN const IGCVal & val );

IGCVal

Get ( IN ig_int32 prop );

virtual void

Default ( void );

virtual void

CopyProps ( IN const IGCObject & other, IN ig_bool rwOnly );

#include <igpacket.h>

AppendBuffer

void AppendBuffer ( OUT IGCBuffer & buffer ) const;

Appends a packet to a byte stream buffer. Several packets can be
packed into a buffer to form a sequence.

None

buffer
Reference to IGCBuffer object. A buffer containing the appended packet.

None

Inherited Members

Include Files

Call

Description

Return Value

Output Parameters

See also

Advertising