[Insight-developers] Abort and minipipelines

Luis Ibanez luis.ibanez@kitware.com
Tue, 08 Apr 2003 13:29:21 -0400


Hi Jim,

Here is another tweak in the process of stopping
filter execution.

Filters containing minipipelines don't have
currently a way of notifying their internal
pipeline that the user has cancel the execution.

It seems that the SetAbortGenerataData() method
will have to be overloaded in these filters
in order to propagate the flag setting to the
internal filters.

An alternative could be to use Events/Observers,
but it will be hard to ensure that the filters
in the minipipeline will be notified of the
AbortEvent before anybody else....


Do you see any disadvantages in overloading
SetAbortGenerateData()   ?


Thanks



  Luis