source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_set_interface.cpp @ 31

Last change on this file since 31 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
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interfaces.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  Interface * Interfaces::set_interface (string         name        ,
14                                         direction_t    direction   ,
15                                         localisation_t localisation)
16  {
17    Interface * interface = new Interface (name, direction, localisation);
18   
19    _list_interface->push_back (*interface);
20
21    return interface;
22  };
23
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);
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.