CODController::ExecuteLinkCommand

CODLinkCommand* CODController::ExecuteLinkCommand(CODLinkComponent* pLinkComp, const CODPointArray& pointArray, CODPortComponent* pSourcePort, CODPortComponent* pTargetPort, CODEndpoint* pSourceEndpoint = NULL, CODEndpoint* pTargetEndpoint = NULL)

Creates and executes a link command.

Defined in: OdController.cpp

Return Value

Pointer to the link command executed.

Parameters

pLinkComp

Pointer to link component to add.

pointArray

Array of points that make up the link.

pSourcePort

Pointer to source port.

pTargetPort

Pointer to target port.

pSourceEndpoint

Pointer to the endpoint shape to appear on the source end of the link.

pTargetEndpoint

Pointer to the endpoint shape to appear on the target end of the link.