source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/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: 997 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  Interface::Interface  (string                name         ,
14                         direction_t           direction    ,
15                         localisation_t        localisation ):
16    _name         (name        ),
17    _direction    (direction   ),
18    _localisation (localisation)
19  {
20    _list_signal = new list<Signal>;
21#ifdef POSITION
22    _is_map      = false;
23#endif
24  };
25
26  Interface::Interface  (const Interface & interface):
27    _name         (interface._name        ),
28    _direction    (interface._direction   ),
29    _localisation (interface._localisation)
30  {
31    _comment     = interface._comment    ;
32    _list_signal = interface._list_signal;
33#ifdef POSITION
34    _is_map      = interface._is_map     ;
35#endif
36  };
37 
38  Interface::~Interface ()
39  {
40    delete _list_signal;
41  };
42 
43
44}; // end namespace behavioural         
45}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.