Getinfo, Getsubnmgmtattribute – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 43

Advertising
background image

Methods of the IGCGenerator Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-21

GetInfo

const IGCGeneratorInfo & GetInfo ( void ) const;

Returns a reference to an IGCGeneratorInfo object which contains
information about the generator itself (USB port number, serial
number, revision number, and so on).

A reference to the appropriate IGCGeneratorInfo object.

None

None

GetSubnMgmtAttribute

IGCSubnMgmtAttribute & GetSubnMgmtAttribute (ig_int16 attr);

Get subnet management attribute of the generator

A reference to the appropriate IGCSubnMgmtAttribute object.

Attribute ID:

• NodeDescription

• NodeInfo

• SwitchInfo

• GUIDInfo

• PortInfo

• LinearForwardingTable

“MAD Attribute Classes” on page 2-8

‘and

“Subnet Management

Attribute Classes” on page 2-9

Description

Return Value

Input Parameters

See also

Description

Return Value

Parameters

See also

Advertising