public: \
inline void bbUserProcess() \
{ \
- bbtkBlackBoxDebugMessage("process",1,"**> Processing..." \
+ bbtkBlackBoxDebugMessage("process",1,"**> Start Processing..." \
<<std::endl); \
CALLBACK(); \
- bbtkBlackBoxDebugMessage("process",1,"<** Processing" \
+ bbtkBlackBoxDebugMessage("process",2,"<** End Processing" \
<<std::endl); \
}
//============================================================================
)
{
-// printf("EED BlackBox::bbRecursiveExecute bbProcess start %s \n", bbGetFullName().c_str() );
+ // printf("EED BlackBox::bbRecursiveExecute bbProcess start %s \n", bbGetFullName().c_str() );
//auto start = std::chrono::high_resolution_clock::now();
this->bbProcess();
#include <boost/bind.hpp>
#include <boost/signals2/signal.hpp>
+
+/* EED 2026-07-03
#define bbtkBlackBoxMessage(key,level,mess) \
bbtkMessage(key,level,"["<<bbGetTypeName()<<":"<<bbGetName()<<"] "<<mess)
#define bbtkBlackBoxDebugMessage(key,level,mess) \
bbtkDebugMessage(key,level,"["<<bbGetTypeName()<<":"<<bbGetName()<<"] "<<mess)
+*/
+
+#define bbtkBlackBoxMessage(key,level,mess) bbtkMessage(key,level,"["<<bbGetFullName()<<"] "<<mess)
+#define bbtkBlackBoxDebugMessage(key,level,mess) bbtkDebugMessage(key,level,"["<<bbGetFullName()<<"] "<<mess)
+
namespace bbtk
{
public: \
inline void bbUserProcess() \
{ \
- bbtkBlackBoxDebugMessage("process",1,"**> Processing..." \
+ bbtkBlackBoxDebugMessage("process",1,"**> Start Processing..." \
<<std::endl); \
itkParent::Update(); \
- bbtkBlackBoxDebugMessage("process",2,"<** Processing" \
+ bbtkBlackBoxDebugMessage("process",2,"<** End Processing" \
<<std::endl); \
}
=========================================================================*/
-
-
#include "bbtkObject.h"
#include "bbtkMessageManager.h"
#include "bbtkPackage.h"
public: \
inline void bbUserProcess() \
{ \
- bbtkBlackBoxDebugMessage("process",1,"**> Processing..." \
+ bbtkBlackBoxDebugMessage("process",1,"**> Start Processing..." \
<<std::endl); \
mVtkObject->Update(); \
printf("EED Process %s\n", bbGetFullName().c_str() ); \
vtkIndent indent(2); \
mVtkObject->PrintSelf(std::cout, indent ); \
- bbtkBlackBoxDebugMessage("process",2,"<** Processing" \
+ bbtkBlackBoxDebugMessage("process",2,"<** End Processing" \
<<std::endl); \
}
//============================================================================
BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,AddStringToVector)
BBTK_BLACK_BOX_IMPLEMENTATION(AddStringToVector,bbtk::AtomicBlackBox);
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void AddStringToVector::Process()
{
-
// THE MAIN PROCESSING METHOD BODY
// Here we simply set the input 'In' value to the output 'Out'
// And print out the output value
if (bbGetInputIn9().length()!=0) lst.push_back( bbGetInputIn9() );
bbSetOutputOut( lst );
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void AddStringToVector::bbUserSetDefaultValues()
{
-
// SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
// Here we initialize the input 'In' to 0
// bbSetInputIn(0);
-
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void AddStringToVector::bbUserInitializeProcessing()
// THE INITIALIZATION METHOD BODY :
// Here does nothing
// but this is where you should allocate the internal/output pointers
-// if any
-
-
+// if any
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void AddStringToVector::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
// if any
-
-}
}
-// EO namespace bbstd
+
+}// EO namespace bbstd
#include "bbtkAtomicBlackBox.h"
#include "bbstd_EXPORT.h"
-namespace bbstd
+namespace bbstd
{
//=================================================================
// BlackBox declaration