source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue_Control/src/Queue_Control_operator.cpp @ 56

Last change on this file since 56 was 56, checked in by rosiere, 17 years ago

Factorisation du contrôle de file d'attente dans une classe "Queue_Control"

File size: 863 bytes
Line 
1#include "Behavioural/Generic/Queue_Control/include/Queue_Control.h"
2
3namespace morpheo {
4namespace behavioural {
5namespace generic {
6namespace queue_control {
7
8#undef  FUNCTION
9#define FUNCTION "Queue_Control::operator<<"
10  ostream& Queue_Control::operator<< (ostream& output_stream)
11  {
12    log_printf(FUNC,Queue_Control,FUNCTION,"Begin");
13       
14    log_printf(FUNC,Queue_Control,FUNCTION,"End");
15   
16    return output_stream;
17  };
18
19#undef  FUNCTION
20#define FUNCTION "Queue_Control::operator[]"
21  uint32_t Queue_Control::operator[] (uint32_t index)
22  {
23    log_printf(FUNC,Queue_Control,FUNCTION,"Begin");
24       
25    uint32_t _return = (*_tab)[index];
26
27    log_printf(FUNC,Queue_Control,FUNCTION,"End");
28   
29    return _return;
30  }
31}; // end namespace queue_control
32}; // end namespace generic
33}; // end namespace behavioural
34}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.