Last change
on this file since 42 was
42,
checked in by rosiere, 17 years ago
|
Modification des classes d'encapsulation des interfaces :
- gère les signaux à écrire dans le vhdl
- les traces pour le testbench
- la génération des vhdl structurelles
-> test sur la Pattern History Table
|
File size:
906 bytes
|
Rev | Line | |
---|
[31] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
[42] | 8 | #include "Behavioural/include/Component.h" |
---|
[31] | 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[42] | 13 | Component::Component (void) |
---|
[31] | 14 | { |
---|
[42] | 15 | log_printf(FUNC,Behavioural,"Component","Begin"); |
---|
[31] | 16 | _list_component = new list<Entity *>; |
---|
[42] | 17 | log_printf(FUNC,Behavioural,"Component","End"); |
---|
[31] | 18 | }; |
---|
| 19 | |
---|
[42] | 20 | Component::Component (const Component & component) |
---|
[31] | 21 | { |
---|
[42] | 22 | log_printf(FUNC,Behavioural,"Component (copy)","Begin"); |
---|
| 23 | _entity = component._entity ; |
---|
| 24 | _list_component = component._list_component; |
---|
| 25 | log_printf(FUNC,Behavioural,"Component (copy)","End"); |
---|
[31] | 26 | }; |
---|
| 27 | |
---|
[42] | 28 | Component::~Component () |
---|
[31] | 29 | { |
---|
[42] | 30 | log_printf(FUNC,Behavioural,"~Component","Begin"); |
---|
[31] | 31 | delete _entity; |
---|
| 32 | delete _list_component; |
---|
[42] | 33 | log_printf(FUNC,Behavioural,"~Component","End"); |
---|
[31] | 34 | }; |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.