Last change
on this file since 35 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
862 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interfaces.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[31] | 13 | Interface * Interfaces::set_interface (string name , |
---|
| 14 | direction_t direction , |
---|
| 15 | localisation_t localisation) |
---|
[29] | 16 | { |
---|
[31] | 17 | Interface * interface = new Interface (name, direction, localisation); |
---|
| 18 | |
---|
| 19 | _list_interface->push_back (*interface); |
---|
| 20 | |
---|
| 21 | return interface; |
---|
[29] | 22 | }; |
---|
| 23 | |
---|
[31] | 24 | Interface * Interfaces::set_interface (string name , |
---|
| 25 | direction_t direction , |
---|
| 26 | localisation_t localisation, |
---|
| 27 | string comment ) |
---|
| 28 | { |
---|
| 29 | Interface * interface = set_interface(name, direction, localisation); |
---|
| 30 | |
---|
| 31 | interface->set_comment (comment); |
---|
[29] | 32 | |
---|
[31] | 33 | return interface; |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | |
---|
[29] | 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.