#ifdef STATISTICS
/*
 * $Id: Counter_statistics_declaration.cpp 81 2008-04-15 18:40:01Z 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),
		      "Counter",
		      param_statistics);
    
    log_printf(FUNC,Counter,FUNCTION,"End");
  };

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

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