1 | /* |
---|
2 | * $Id: Parameters.cpp 81 2008-04-15 18:40:01Z 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 ): |
---|
18 | _size_data(size_data), |
---|
19 | _nb_port (nb_port ), |
---|
20 | _data_max ((1<<size_data)-1) |
---|
21 | { |
---|
22 | log_printf(FUNC,Counter,"Parameters","Begin"); |
---|
23 | test(); |
---|
24 | log_printf(FUNC,Counter,"Parameters","End"); |
---|
25 | }; |
---|
26 | |
---|
27 | Parameters::Parameters (Parameters & param): |
---|
28 | _size_data(param._size_data), |
---|
29 | _nb_port (param._nb_port ), |
---|
30 | _data_max (param._data_max ) |
---|
31 | { |
---|
32 | log_printf(FUNC,Counter,"Parameters","Begin"); |
---|
33 | test(); |
---|
34 | log_printf(FUNC,Counter,"Parameters","End"); |
---|
35 | }; |
---|
36 | |
---|
37 | Parameters::~Parameters () |
---|
38 | { |
---|
39 | log_printf(FUNC,Counter,"~Parameters","Begin"); |
---|
40 | log_printf(FUNC,Counter,"~Parameters","End"); |
---|
41 | }; |
---|
42 | |
---|
43 | }; // end namespace counter |
---|
44 | }; // end namespace generic |
---|
45 | |
---|
46 | }; // end namespace behavioural |
---|
47 | }; // end namespace morpheo |
---|