[67] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 100 2009-01-08 13:06:27Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Queue/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace queue { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Queue::Parameters" |
---|
| 18 | Parameters::Parameters (uint32_t size_queue, |
---|
[100] | 19 | uint32_t size_data , |
---|
| 20 | uint32_t nb_port_slot): |
---|
| 21 | _size_queue (size_queue), |
---|
| 22 | _size_data (size_data ), |
---|
| 23 | _nb_port_slot (nb_port_slot) |
---|
[67] | 24 | { |
---|
| 25 | log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 26 | test(); |
---|
| 27 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 28 | }; |
---|
| 29 | |
---|
[88] | 30 | // #undef FUNCTION |
---|
| 31 | // #define FUNCTION "Queue::Parameters (copy)" |
---|
| 32 | // Parameters::Parameters (Parameters & param): |
---|
| 33 | // _size_queue (param._size_queue), |
---|
| 34 | // _size_data (param._size_data ) |
---|
| 35 | // { |
---|
| 36 | // log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 37 | // test(); |
---|
| 38 | // log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 39 | // }; |
---|
| 40 | |
---|
[67] | 41 | #undef FUNCTION |
---|
[88] | 42 | #define FUNCTION "Queue::~Parameters" |
---|
| 43 | Parameters::~Parameters () |
---|
[67] | 44 | { |
---|
| 45 | log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 46 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | #undef FUNCTION |
---|
[88] | 50 | #define FUNCTION "Queue::copy" |
---|
| 51 | void Parameters::copy (void) |
---|
[67] | 52 | { |
---|
| 53 | log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 54 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 55 | }; |
---|
| 56 | |
---|
| 57 | }; // end namespace queue |
---|
| 58 | }; // end namespace generic |
---|
| 59 | |
---|
| 60 | }; // end namespace behavioural |
---|
| 61 | }; // end namespace morpheo |
---|