source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component.cpp @ 93

Last change on this file since 93 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.0 KB
RevLine 
[31]1/*
2 * $Id: Component.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
[42]8#include "Behavioural/include/Component.h"
[31]9
10namespace morpheo              {
11namespace behavioural          {
12
[57]13  Component::Component  (Tusage_t usage):
14    _usage (usage)
[31]15  {
[43]16    log_printf(FUNC,Behavioural,"Component::Component","Begin");
[75]17    _list_component = new std::list<Tcomponent_t *>;
[43]18    log_printf(FUNC,Behavioural,"Component::Component","End");
[31]19  };
20
[57]21  Component::Component  (const Component & component):
22    _usage (component._usage)
[31]23  {
[43]24    log_printf(FUNC,Behavioural,"Component::Component (copy)","Begin");
[42]25    _entity         = component._entity        ;
26    _list_component = component._list_component;
[43]27    log_printf(FUNC,Behavioural,"Component::Component (copy)","End");
[31]28  };
29 
[42]30  Component::~Component ()
[31]31  {
[43]32    log_printf(FUNC,Behavioural,"Component::~Component","Begin");
[31]33    delete _entity;
34    delete _list_component;
[43]35    log_printf(FUNC,Behavioural,"Component::~Component","End");
[31]36  };
37 
38
39}; // end namespace behavioural         
40}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.