Last change
on this file since 123 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:
845 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::full" |
---|
| 10 | bool Queue_Control::full (void) |
---|
| 11 | { |
---|
| 12 | log_printf(FUNC,Queue_Control,FUNCTION,"Begin"); |
---|
| 13 | uint32_t _return = (_nb_elt == _nb_elt_max); |
---|
| 14 | log_printf(FUNC,Queue_Control,FUNCTION,"End"); |
---|
| 15 | |
---|
| 16 | return _return; |
---|
| 17 | }; |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
| 20 | #define FUNCTION "Queue_Control::empty" |
---|
| 21 | bool Queue_Control::empty (void) |
---|
| 22 | { |
---|
| 23 | log_printf(FUNC,Queue_Control,FUNCTION,"Begin"); |
---|
| 24 | uint32_t _return = (_nb_elt == 0); |
---|
| 25 | log_printf(FUNC,Queue_Control,FUNCTION,"End"); |
---|
| 26 | |
---|
| 27 | return _return; |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | }; // end namespace queue_control |
---|
| 31 | }; // end namespace generic |
---|
| 32 | }; // end namespace behavioural |
---|
| 33 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.