Last change
on this file since 144 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
653 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::clear" |
---|
| 10 | void Queue_Control::clear (void) |
---|
| 11 | { |
---|
| 12 | log_printf(FUNC,Queue_Control,FUNCTION,"Begin"); |
---|
| 13 | |
---|
| 14 | // clear all element in control. |
---|
| 15 | _nb_elt = 0; |
---|
| 16 | |
---|
| 17 | _tab->clear(); |
---|
| 18 | for (uint32_t i=0; i<_nb_elt_max; i++) |
---|
| 19 | _tab->push_back(i); |
---|
| 20 | |
---|
| 21 | log_printf(FUNC,Queue_Control,FUNCTION,"End"); |
---|
| 22 | }; |
---|
| 23 | }; // end namespace queue_control |
---|
| 24 | }; // end namespace generic |
---|
| 25 | }; // end namespace behavioural |
---|
| 26 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.