source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Entity_find_signal.cpp @ 44

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

Modif mineur : ajout d'info de débug

Release non stable

File size: 810 bytes
RevLine 
[42]1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Entity.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
[43]13#undef  FUNCTION
14#define FUNCTION "Entity::find_signal"
[42]15  Signal * Entity::find_signal (string name)
16  {
[43]17    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
18
19    Signal * _return = _interfaces->find_signal(name);
20
21    log_printf(FUNC,Behavioural,FUNCTION,"End");
22
23    return _return;
[42]24  };
25
[43]26#undef  FUNCTION
27#define FUNCTION "Entity::find_signal"
[42]28  bool Entity::find_signal (Signal * signal)
29  {
[43]30    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
31
32    bool _return = _interfaces->find_signal(signal);
33
34    log_printf(FUNC,Behavioural,FUNCTION,"End");
35
36    return _return;
[42]37  };
38
39}; // end namespace behavioural         
40}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.