Program: bbtk
Module: $RCSfile: bbtkBlackBox.h,v $
Language: C++
- Date: $Date: 2009/05/14 14:43:33 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2009/05/28 08:12:05 $
+ Version: $Revision: 1.26 $
=========================================================================*/
/* ---------------------------------------------------------------------
#define __bbtkBlackBox_h__
#include "bbtkSystem.h"
+#include "bbtkMessageManager.h"
#include "bbtkBlackBoxDescriptor.h"
#include "bbtkBlackBoxInputConnector.h"
//#include "bbtkBlackBoxOutputConnector.h"
#include <boost/signal.hpp>
#include <boost/bind.hpp>
+
+#define bbtkBlackBoxMessage(key,level,mess) \
+ bbtkMessage(key,level,"["<<bbGetName()<<"] "<<mess)
+#define bbtkBlackBoxDebugMessage(key,level,mess) \
+ bbtkDebugMessage(key,level,"["<<bbGetName()<<"] "<<mess)
+
namespace bbtk
{
virtual void Check(bool recursive = true);
- virtual void bbUserOnShow() { }
- void bbUserOnShowWidget(std::string nameInput);
+ virtual void bbSetShown(bool) {}
+ virtual bool bbIsShown() { return false; }
+ virtual void bbUserOnShow() {}
protected:
//==================================================================
void bbComputePostProcessStatus();
//==================================================================
-
- //==================================================================
- /// Specific methods for window creation during pipeline execution
- /// Creates the window associated to the box (called after bbUpdateInputs)
- /// Does nothing here. Overloaded in WxBlackBox.
- // virtual void bbCreateWindow() { }
- /// Shows the window associated to the box
- /// (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() { }
- //==================================================================
-
//@}
public: