Program: bbtk
Module: $RCSfile: bbtkItkBlackBoxMacros.h,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:13 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2009/05/28 08:12:06 $
+ Version: $Revision: 1.7 $
=========================================================================*/
/* ---------------------------------------------------------------------
//===========================================================================
#define BBTK_ITK_DELETE() \
- void bbDelete() { \
+ int bbDelete() { \
+ int refs = itkParent::GetReferenceCount()-1; \
itkParent::UnRegister(); \
+ return refs; \
}
//===========================================================================
public: \
inline void bbUserProcess() \
{ \
- bbtkDebugMessage("process",1,"**> Processing ["<<bbGetFullName() \
- <<"]"<<std::endl); \
+ bbtkBlackBoxDebugMessage("process",1,"**> Processing..." \
+ <<std::endl); \
itkParent::Update(); \
- bbtkDebugMessage("process",2,"<** Processing ["<<bbGetFullName() \
- <<"]"<<std::endl); \
- }
+ bbtkBlackBoxDebugMessage("process",2,"<** Processing" \
+ <<std::endl); \
+ }
+
//============================================================================
//===========================================================================