Last change
on this file since 57 was
56,
checked in by rosiere, 17 years ago
|
Factorisation du contrôle de file d'attente dans une classe "Queue_Control"
|
File size:
838 bytes
|
Rev | Line | |
---|
[56] | 1 | #include "Behavioural/Generic/Queue_Control/include/Queue_Control.h" |
---|
| 2 | |
---|
| 3 | namespace morpheo { |
---|
| 4 | namespace behavioural { |
---|
| 5 | namespace generic { |
---|
| 6 | namespace queue_control { |
---|
| 7 | |
---|
| 8 | #undef FUNCTION |
---|
| 9 | #define FUNCTION "Queue_Control::Queue_Control" |
---|
| 10 | Queue_Control::Queue_Control (uint32_t nb_elt_max): |
---|
| 11 | _nb_elt_max (nb_elt_max) |
---|
| 12 | { |
---|
| 13 | log_printf(FUNC,Queue_Control,FUNCTION,"Begin"); |
---|
| 14 | |
---|
| 15 | _tab = new vector<uint32_t>; |
---|
| 16 | |
---|
| 17 | log_printf(FUNC,Queue_Control,FUNCTION,"End"); |
---|
| 18 | }; |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Queue_Control::~Queue_Control" |
---|
| 22 | Queue_Control::~Queue_Control (void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Queue_Control,FUNCTION,"Begin"); |
---|
| 25 | |
---|
| 26 | delete _tab; |
---|
| 27 | |
---|
| 28 | log_printf(FUNC,Queue_Control,FUNCTION,"End"); |
---|
| 29 | }; |
---|
| 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.