source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component.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: 972 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
[42]13  Component::Component  (void)
[31]14  {
[43]15    log_printf(FUNC,Behavioural,"Component::Component","Begin");
[31]16    _list_component = new list<Entity *>;
[43]17    log_printf(FUNC,Behavioural,"Component::Component","End");
[31]18  };
19
[42]20  Component::Component  (const Component & component)
[31]21  {
[43]22    log_printf(FUNC,Behavioural,"Component::Component (copy)","Begin");
[42]23    _entity         = component._entity        ;
24    _list_component = component._list_component;
[43]25    log_printf(FUNC,Behavioural,"Component::Component (copy)","End");
[31]26  };
27 
[42]28  Component::~Component ()
[31]29  {
[43]30    log_printf(FUNC,Behavioural,"Component::~Component","Begin");
[31]31    delete _entity;
32    delete _list_component;
[43]33    log_printf(FUNC,Behavioural,"Component::~Component","End");
[31]34  };
35 
36
37}; // end namespace behavioural         
38}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.