Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::strmod::StreamModule::PlugDisconnectStrategy Class Reference

The Strategy for what to do when a plug is disconnected from another plug. More...

#include <StreamModule.h>

List of all members.

Public Methods

virtual ~PlugDisconnectStrategy ()
 Here so derived classes have a virtual destructor.

virtual void plugDisconnected (StreamModule *m, Plug *p)=0
 Called by a module when one of its plugs has been disconnected.


Detailed Description

The Strategy for what to do when a plug is disconnected from another plug.

Probably best used as a Flyweight.

Not called on module deletion, or if the module thinks it handles its plugs disconnecting and there's no room for a Strategy to get involved.

Definition at line 87 of file StreamModule.h.


Member Function Documentation

virtual void strmod::strmod::StreamModule::PlugDisconnectStrategy::plugDisconnected StreamModule   m,
Plug   p
[pure virtual]
 

Called by a module when one of its plugs has been disconnected.

This is not called when a plug is disconnected because the module itself is being destructed.


The documentation for this class was generated from the following file:
Generated on Wed Jan 29 00:32:55 2003 for libNet by doxygen1.3-rc1