/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Interfaces.h"

namespace morpheo              {
namespace behavioural          {

  Interface * Interfaces::set_interface (string         name        ,
					 direction_t    direction   ,
					 localisation_t localisation)
  {
    Interface * interface = new Interface (name, direction, localisation);
    
    _list_interface->push_back (*interface);

    return interface;
  };

  Interface * Interfaces::set_interface (string         name        ,
					 direction_t    direction   ,
					 localisation_t localisation,
					 string         comment     )
  {
    Interface * interface = set_interface(name, direction, localisation);
    
    interface->set_comment (comment);

    return interface;
  };


}; // end namespace behavioural          
}; // end namespace morpheo              
