Last change
on this file since 102 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:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Component.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Component.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | |
---|
13 | Component::Component (Tusage_t usage): |
---|
14 | _usage (usage) |
---|
15 | { |
---|
16 | log_printf(FUNC,Behavioural,"Component::Component","Begin"); |
---|
17 | _list_component = new std::list<Tcomponent_t *>; |
---|
18 | log_printf(FUNC,Behavioural,"Component::Component","End"); |
---|
19 | }; |
---|
20 | |
---|
21 | Component::Component (const Component & component): |
---|
22 | _usage (component._usage) |
---|
23 | { |
---|
24 | log_printf(FUNC,Behavioural,"Component::Component (copy)","Begin"); |
---|
25 | _entity = component._entity ; |
---|
26 | _list_component = component._list_component; |
---|
27 | log_printf(FUNC,Behavioural,"Component::Component (copy)","End"); |
---|
28 | }; |
---|
29 | |
---|
30 | Component::~Component () |
---|
31 | { |
---|
32 | log_printf(FUNC,Behavioural,"Component::~Component","Begin"); |
---|
33 | delete _entity; |
---|
34 | delete _list_component; |
---|
35 | log_printf(FUNC,Behavioural,"Component::~Component","End"); |
---|
36 | }; |
---|
37 | |
---|
38 | |
---|
39 | }; // end namespace behavioural |
---|
40 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.