cPathChangeNotification Class Reference

Base class for path change notifications. More...

#include <cmodelchange.h>

Inheritance diagram for cPathChangeNotification:
cModelChangeNotification cObject noncopyable cPostPathCreateNotification cPostPathCutNotification cPrePathCreateNotification cPrePathCutNotification

List of all members.

Public Attributes

cGatepathStartGate
cGatepathEndGate
cGatechangedGate

Detailed Description

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).


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:29 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3