Last change
on this file since 124 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.5 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameter_definition.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Configuration/include/Parameter_definition.h" |
---|
9 | #include "Behavioural/include/Stat_binary_tree.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace configuration { |
---|
14 | |
---|
15 | #undef FUNCTION |
---|
16 | #define FUNCTION "Parameter_definition::Parameter_definition" |
---|
17 | Parameter_definition::Parameter_definition (std::string name , |
---|
18 | std::string min , |
---|
19 | std::string max , |
---|
20 | std::string step , |
---|
21 | std::string value_default, |
---|
22 | std::string level , |
---|
23 | std::string description): |
---|
24 | _name (name ), |
---|
25 | _min (min ), |
---|
26 | _max (max ), |
---|
27 | _step (step ), |
---|
28 | _default (value_default), |
---|
29 | _level (level ), |
---|
30 | _description (description ) |
---|
31 | { |
---|
32 | log_begin(Configuration,FUNCTION); |
---|
33 | |
---|
34 | test(_max); |
---|
35 | test(_default); |
---|
36 | |
---|
37 | log_end(Configuration,FUNCTION); |
---|
38 | }; |
---|
39 | |
---|
40 | #undef FUNCTION |
---|
41 | #define FUNCTION "Parameter_definition::~Parameter_definition" |
---|
42 | Parameter_definition::~Parameter_definition () |
---|
43 | { |
---|
44 | log_begin(Configuration,FUNCTION); |
---|
45 | log_end(Configuration,FUNCTION); |
---|
46 | }; |
---|
47 | |
---|
48 | }; // end namespace configuration |
---|
49 | }; // end namespace behavioural |
---|
50 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.