/* * $Id: Signal_dealloc.cpp 144 2010-09-28 11:19:10Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Signal.h" namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "Signal::alloc" void Signal::dealloc (void) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); #warning "FIXME : Signal::dealloc" // switch (_direction) // { // case INTERNAL : // switch (_type_info) // { // case BOOL : delete (static_cast *>(_sc_signal)); break; // case UINT8_T : delete (static_cast *>(_sc_signal)); break; // case UINT16_T : delete (static_cast *>(_sc_signal)); break; // case UINT32_T : delete (static_cast *>(_sc_signal)); break; // case UINT64_T : delete (static_cast *>(_sc_signal)); break; // default : throw (ErrorMorpheo ("Signal \""+_name+"\" : type unknow.\n")); // } // default : throw (ErrorMorpheo ("Signal \""+_name+"\" : invalid direction.\n")); // } log_printf(FUNC,Behavioural,FUNCTION,"End"); } }; // end namespace behavioural }; // end namespace morpheo