beautypg.com

Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 45

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

How to Set/Initialize Connection Points 45






This figure demonstrates IID declaration for CaptureProject’s Event Interface

Once the sink object and its corresponding identifiers are set, you can proceed with setting up

the connection points for the same. But before that one need to make sure regarding the

necessary functions to be overwritten in order to validate the connection.

For example, for SerialSCSIExtraction interface, you need to overwrite ExtractionInProgress().

Refer to APITestSink.h and APITestSink.cpp of any API Examples provided for declaration &

implementation of the same. Similarly for other interfaces, we need to set both the IIDs and

also implementations of the functions to be overwritten. Refer to SASFindDeviceCPSink.h and

SASFindDeviceCPSink.cpp of FindDeviceAPI location in APIExamples folder.

Next step is to create and initialize connection points with respect to the interface of

requirement and to do so, you need to include set of lines of code as shown below in the image

provided.