#ifdef STATISTICS
/*
 * $Id: Counter_statistics_declaration.cpp 113 2009-04-14 18:39:12Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Counter/include/Counter.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace counter {

#undef  FUNCTION
#define FUNCTION "Counter::statistics_declaration"
  void Counter::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics)
  {
    log_printf(FUNC,Counter,FUNCTION,"Begin");

    _stat = new Stat (static_cast<std::string>(_name),
		      _param->_type,
		      param_statistics);
    
    log_printf(FUNC,Counter,FUNCTION,"End");
  };

}; // end namespace counter
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
