source:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_set_interface.cpp
@
40
Last change on this file since 40 was 40, checked in by , 17 years ago | |
---|---|
File size: 887 bytes |
Line | |
---|---|
1 | /* |
2 | * $Id$ |
3 | * |
4 | * [ Description ] |
5 | * |
6 | */ |
7 | |
8 | #include "Behavioural/include/Interfaces.h" |
9 | |
10 | namespace morpheo { |
11 | namespace behavioural { |
12 | |
13 | Interface_fifo * Interfaces::set_interface (string name , |
14 | direction_t direction , |
15 | localisation_t localisation) |
16 | { |
17 | Interface_fifo * interface = new Interface_fifo (name, direction, localisation); |
18 | |
19 | _list_interface->push_back (interface); |
20 | |
21 | return interface; |
22 | }; |
23 | |
24 | Interface_fifo * Interfaces::set_interface (string name , |
25 | direction_t direction , |
26 | localisation_t localisation, |
27 | string comment ) |
28 | { |
29 | Interface_fifo * interface = set_interface(name, direction, localisation); |
30 | |
31 | interface->set_comment (comment); |
32 | |
33 | return interface; |
34 | }; |
35 | |
36 | |
37 | }; // end namespace behavioural |
38 | }; // end namespace morpheo |
Note: See TracBrowser
for help on using the repository browser.