Methods of the igcgenerator class – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 38

Advertising
background image

Classes of the C++ Interface

Methods of the IGCGenerator Class

2-16

CATC IBTrainer InfiniBand Exerciser API Reference

Methods of the IGCGenerator Class

There can only be one IGCGenerator class for each physical IB

Trainer

.

The generator class also holds information on the InfiniBand port info
struct and all associated data. Since there can only be one generator per
real device the copy constructor leads to an assertion.

IN

, OUT and INOUT are markers that determine the parameter type (input

or output).

The following table lists all characteristic members of the IGCGenerator
class:

void

AssertTriggerOut ( void );

void

Connect ( IN ig_int32 index );

void

Disconnect ( void );

void

EnableMADHandling ( IN ig_bool bEnable = true );

const
IGCGenerator
Info &

GetInfo ( void ) const;

IGCSubnMgmtA
ttribute &

GetSubnMgmtAttribute (ig_int16 attr);

void

HardwareUpdate(IN ig_int32 port, IN ig_bool force = false);

void

IBLinkReset ( void );

ig_bool

IsConnected(void) const;

ig_bool

IsMADHandling(void) const;

IGCGenerator ( void );

~IGCGenerator ( void );

ig_int8

LaneSkewGet(IN ig_int8 lane);

void

LaneSkewSet(IN ig_int8 lane, IN ig_int8 val);

void

LinkPacketRecRun(IN ig_int8 VL = 0x0);

Characteristic Members

Advertising