CODLinkComponent::OnConnect

void CODLinkComponent::OnConnect(CODConnection* pConnection)

Called by the framework when a connection is created.

Defined in: OdLinkComp.cpp

Return Value

void

Parameters

pConnection

Pointer to the connection that was added.

Comments

This function ensures that the head and tail ports have only one connection each. When either port gets a connection, it is disabled so that it is not detected during hit testing.