X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkBlackBox.h;h=03015dc932f44322c2a4d34b9b61117e5e0618a6;hb=20439284eb07d0629fd5fb6027e57c3e4dfaeb9f;hp=ba86ed664290cfeceb395a7e45c974dd2ccb588b;hpb=857e5e5bd003d20cb8bc4539b6fca4ca9d50929c;p=bbtk.git diff --git a/kernel/src/bbtkBlackBox.h b/kernel/src/bbtkBlackBox.h index ba86ed6..03015dc 100644 --- a/kernel/src/bbtkBlackBox.h +++ b/kernel/src/bbtkBlackBox.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkBlackBox.h,v $ Language: C++ - Date: $Date: 2008/05/15 08:02:36 $ - Version: $Revision: 1.10 $ + Date: $Date: 2008/10/06 09:11:21 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -237,6 +237,10 @@ bool reaction = true); virtual void Check(bool recursive = true); + virtual void bbUserOnShow() { } + void bbUserOnShowWidget(std::string nameInput); + + protected: //================================================================== // PROTECTED PART : ACCESSIBLE TO THE BlackBox DEVELOPER @@ -338,7 +342,7 @@ bool reaction = true); /// (called after bbProcess during bbExecute) /// Does nothing here but overloaded in WxBlackBox and WxContainerBlackBox virtual void bbShowWindow(Connection::Pointer caller) { } - + virtual void bbHideWindow() {} virtual void bbCloseWindow() { } //================================================================== @@ -403,7 +407,7 @@ bool reaction = true); /// The name of the package to which it belongs std::string bbmPackageName; - /// 0 : "Pipeline" mode : bbUpdate() only calls Process if Status == MODIFIED (normal pipeline processing) + /// 0 : "Pipeline" mode : bbBackwardUpdate() only calls Process if Status == MODIFIED (normal pipeline processing) /// 1 : "Always" mode : bbUpdate() always calls Process /// 2 : "Reactive" mode : bbSetModifiedStatus() calls bbUpdate() std::string bbmBoxProcessMode;