[2] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Counter/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace counter { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | Parameters::Parameters (uint32_t size_data, |
---|
| 17 | uint32_t nb_port ): |
---|
[113] | 18 | behavioural::Parameters("Counter"), |
---|
[2] | 19 | _size_data(size_data), |
---|
| 20 | _nb_port (nb_port ), |
---|
| 21 | _data_max ((1<<size_data)-1) |
---|
| 22 | { |
---|
| 23 | log_printf(FUNC,Counter,"Parameters","Begin"); |
---|
| 24 | test(); |
---|
| 25 | log_printf(FUNC,Counter,"Parameters","End"); |
---|
| 26 | }; |
---|
| 27 | |
---|
[88] | 28 | // Parameters::Parameters (Parameters & param): |
---|
| 29 | // _size_data(param._size_data), |
---|
| 30 | // _nb_port (param._nb_port ), |
---|
| 31 | // _data_max (param._data_max ) |
---|
| 32 | // { |
---|
| 33 | // log_printf(FUNC,Counter,"Parameters","Begin"); |
---|
| 34 | // test(); |
---|
| 35 | // log_printf(FUNC,Counter,"Parameters","End"); |
---|
| 36 | // }; |
---|
[2] | 37 | |
---|
| 38 | Parameters::~Parameters () |
---|
| 39 | { |
---|
| 40 | log_printf(FUNC,Counter,"~Parameters","Begin"); |
---|
| 41 | log_printf(FUNC,Counter,"~Parameters","End"); |
---|
| 42 | }; |
---|
| 43 | |
---|
[88] | 44 | void Parameters::copy (void) |
---|
| 45 | { |
---|
| 46 | log_printf(FUNC,Counter,"copy","Begin"); |
---|
| 47 | log_printf(FUNC,Counter,"copy","End"); |
---|
| 48 | }; |
---|
| 49 | |
---|
[2] | 50 | }; // end namespace counter |
---|
| 51 | }; // end namespace generic |
---|
| 52 | }; // end namespace behavioural |
---|
| 53 | }; // end namespace morpheo |
---|