Appendpayloadbuffer, Clone – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 84

Advertising
background image

Classes of the C++ Interface

Methods of the IGCPacket Class

2-62

CATC IBTrainer InfiniBand Exerciser API Reference

AppendPayloadBuffer

void AppendPayloadBuffer ( OUT IGCBuffer & buffer ) const;

Appends a packet's payload to a byte stream buffer. The payload of
several packets can be packed together this way (for instance for the
purpose of recombining a message).

None

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

None

Clone

IGCPacket * Clone ( void ) const;

Clones a packet. Returns pointer to new packet of the same type.
Replaces the "virtual copy constructor", which is not available in C++.

IGCPacket

object

Pointer to the new packet.

None

None

Call

Description

Return Value

Output Parameters

See also

Call

Description

Return Value

Parameters

See also

Advertising