IODConnectionEvent Class

class IODConnectionEvent: public IEvent

Interface to connection events. Connection events are used to notify symbols of changes that occur on connections. These events are routed though  CODConnection objects from one symbol to another. For example, when a symbol moves it queues up connection move events to all of its connections that are affected by the move. The connection event contains a pointer to the port that caused the event and an integer notification code. The notification code can be either OD_CONNECTION_MOVE or OD_CONNECTION_REMOVE. Custom notification codes can be added as well.

Defined in: OdConnectionEvent.h

See Also

CODConnectionEvent

Class Members

virtual CODPortComponent* GetPort()

Return a pointer to the port associated with this connection event.

virtual int GetNotifyCode() const

Return the notification code associated with this connection event.