Base class for path change notifications. More...
#include <cmodelchange.h>
Public Attributes | |
cGate * | pathStartGate |
cGate * | pathEndGate |
cGate * | changedGate |
Base class for path change notifications.
Like gate connect/disconnect notifications, they are fired when a gate is connected or disconnected; the difference is that path change notifications are fired on the owner modules of the start AND end gates of the path that contains the connection (two notifications!), NOT on the module of the gate being connected or disconnected. See also cGate's getPathStartGate() and getPathEndGate() methods.
The purpose of this notification is to make it possible to get away with only local listeners in simple modules. If this notification didn't exist, users would have to listen for gate connect/disconnect notifications at the top-level module, which is not very efficient (as ALL pre/post model change events from all modules would then have to be propagated up to the top).