X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxBlackBox.h;fp=kernel%2Fsrc%2FbbtkWxBlackBox.h;h=095553d59b3023405e39e47016feb01dd4b704d7;hb=97b08ef9b0c2a60c4d1f619f6bfef2996afdcab3;hp=ddd35779880b48ef216d4b6c9a2c8d43f55f3890;hpb=80db068a0e88b475ca866c0e5a9ae82a7bda7f90;p=bbtk.git diff --git a/kernel/src/bbtkWxBlackBox.h b/kernel/src/bbtkWxBlackBox.h index ddd3577..095553d 100644 --- a/kernel/src/bbtkWxBlackBox.h +++ b/kernel/src/bbtkWxBlackBox.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxBlackBox.h,v $ Language: C++ - Date: $Date: 2008/05/15 08:02:36 $ - Version: $Revision: 1.16 $ + Date: $Date: 2008/07/24 14:37:06 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -73,6 +73,10 @@ namespace bbtk BBTK_DECLARE_OUTPUT(Widget, wxWindow*);//WxBlackBoxWidget*); public: + /// Main processing method of the box. Overloaded to handle windows inclusion : if the output Widget is connected then the execution is transfered to the box to which it is connected (as the container window must be created and displayed - this box will be executed by the normal pipeline recursion mechanism) + virtual void bbExecute(bool force = false); + + typedef WxBlackBoxWindow Window; /// Returns the **OWN** window associated to the box @@ -184,10 +188,10 @@ namespace bbtk void bbInitAttributes(); protected : - /// Main processing method of the box. Overloaded to handle windows inclusion : if the output Widget is connected then the execution is transfered to the box to which it is connected (the container window must be created and displayed - this box will be also executed by the normal pipeline recursion mechanism) - virtual void bbExecute(bool force = false); + /// For Forward update mechanism when execution is called + /// on a contained window /// Is set to true before transfering update to parent /// in order to not re-transfer a second time... bool bbmUpdateTransferedToParent;