/* * $Id: New_Component_deallocation.cpp 81 2008-04-15 18:40:01Z rosiere $ * * [ Description ] * */ #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" #include "Behavioural/include/Allocation.h" namespace morpheo { namespace behavioural { @NAMESPACE_BEGIN #undef FUNCTION #define FUNCTION "@COMPONENT::deallocation" void @COMPONENT::deallocation (void) { log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); if (usage_is_set(_usage,USE_SYSTEMC)) { delete in_CLOCK ; delete in_NRESET; } // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delete _component; log_printf(FUNC,@COMPONENT,FUNCTION,"End"); }; @NAMESPACE_END }; // end namespace behavioural }; // end namespace morpheo