source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Parameters_msg_error.cpp @ 74

Last change on this file since 74 was 74, checked in by rosiere, 16 years ago

New component : Read_unit (instance between a write queue and a optionnal execute_queue)

File size: 983 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_write_unit {
18namespace write_unit {
19
20#undef  FUNCTION
21#define FUNCTION "Write_unit::msg_error"
22  std::string Parameters::msg_error(void)
23  {
24    log_printf(FUNC,Write_unit,FUNCTION,"Begin");
25
26    std::string msg = "";
27
28    if (_size_write_queue == 0)
29      msg += " * Write queue must have a less one entry.";
30
31    return msg;
32
33    log_printf(FUNC,Write_unit,FUNCTION,"End");
34  };
35
36}; // end namespace write_unit
37}; // end namespace multi_write_unit
38}; // end namespace execute_loop
39}; // end namespace multi_execute_loop
40}; // end namespace core
41}; // end namespace behavioural
42}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.