source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_set_entity.cpp @ 43

Last change on this file since 43 was 43, checked in by rosiere, 17 years ago

Modif mineur : ajout d'info de débug

Release non stable

File size: 705 bytes
RevLine 
[31]1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
[42]8#include "Behavioural/include/Component.h"
[31]9
10namespace morpheo              {
11namespace behavioural          {
12
[43]13#undef  FUNCTION
14#define FUNCTION "Component::set_entity"
[42]15  Entity * Component::set_entity (string        name   
16                                  ,string        type   
17#ifdef POSITION
18                                  ,schema_t      schema
19#endif
20                                  )
[31]21  {
[43]22    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
23   
[42]24    Entity * entity = new Entity (name   
25                                  ,type   
26#ifdef POSITION
27                                  ,schema
28#endif
29                                  );
[31]30    _entity = entity;
31   
[43]32    log_printf(FUNC,Behavioural,FUNCTION,"End");
33
[31]34    return entity;
35  };
36
37}; // end namespace behavioural         
38}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.