Last change
on this file since 41 was
41,
checked in by rosiere, 17 years ago
|
Vhdl_Testbench : Modification du testbench. Maintenant complétement encapsuler dans la classe "Interfaces".
Suppression de la class Vhdl_Testbench dans un avenir proche :D
Suppression du répertoire Configuration.old
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifdef POSITION |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/include/Entity.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | Entity::Entity (string name , |
---|
15 | string type , |
---|
16 | schema_t schema): |
---|
17 | _name (name ), |
---|
18 | _type (type ), |
---|
19 | _schema (schema ) |
---|
20 | { |
---|
21 | log_printf(FUNC,Behavioural,"Entity","Begin"); |
---|
22 | _interfaces = new Interfaces (name); |
---|
23 | _is_map = false; |
---|
24 | log_printf(FUNC,Behavioural,"Entity","End"); |
---|
25 | }; |
---|
26 | |
---|
27 | Entity::Entity (const Entity & entity): |
---|
28 | _name (entity._name ), |
---|
29 | _type (entity._type ), |
---|
30 | _schema (entity._schema ) |
---|
31 | { |
---|
32 | log_printf(FUNC,Behavioural,"Entity (copy)","Begin"); |
---|
33 | _is_map = entity._is_map ; |
---|
34 | _interfaces = entity._interfaces; |
---|
35 | _comment = entity._comment ; |
---|
36 | log_printf(FUNC,Behavioural,"Entity (copy)","End"); |
---|
37 | }; |
---|
38 | |
---|
39 | Entity::~Entity () |
---|
40 | { |
---|
41 | log_printf(FUNC,Behavioural,"~Entity","Begin"); |
---|
42 | delete _interfaces; |
---|
43 | log_printf(FUNC,Behavioural,"~Entity","End"); |
---|
44 | }; |
---|
45 | |
---|
46 | |
---|
47 | }; // end namespace behavioural |
---|
48 | }; // end namespace morpheo |
---|
49 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.