Last change
on this file since 52 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
972 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Component.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | |
---|
13 | Component::Component (void) |
---|
14 | { |
---|
15 | log_printf(FUNC,Behavioural,"Component::Component","Begin"); |
---|
16 | _list_component = new list<Entity *>; |
---|
17 | log_printf(FUNC,Behavioural,"Component::Component","End"); |
---|
18 | }; |
---|
19 | |
---|
20 | Component::Component (const Component & component) |
---|
21 | { |
---|
22 | log_printf(FUNC,Behavioural,"Component::Component (copy)","Begin"); |
---|
23 | _entity = component._entity ; |
---|
24 | _list_component = component._list_component; |
---|
25 | log_printf(FUNC,Behavioural,"Component::Component (copy)","End"); |
---|
26 | }; |
---|
27 | |
---|
28 | Component::~Component () |
---|
29 | { |
---|
30 | log_printf(FUNC,Behavioural,"Component::~Component","Begin"); |
---|
31 | delete _entity; |
---|
32 | delete _list_component; |
---|
33 | log_printf(FUNC,Behavioural,"Component::~Component","End"); |
---|
34 | }; |
---|
35 | |
---|
36 | |
---|
37 | }; // end namespace behavioural |
---|
38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.