Ignore:
Timestamp:
May 28, 2007, 10:38:18 PM (17 years ago)
Author:
rosiere
Message:

Class Position qui encapsule la génération des fichiers de positions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_set_interface.cpp

    r29 r31  
    1111namespace behavioural          {
    1212
    13   void Interfaces::set_interface (Interface interface)
     13  Interface * Interfaces::set_interface (string         name        ,
     14                                         direction_t    direction   ,
     15                                         localisation_t localisation)
    1416  {
    15     _list_interface.push_back (interface);
     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;
    1634  };
    1735
Note: See TracChangeset for help on using the changeset viewer.