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

Last change on this file since 146 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: 815 bytes
Line 
1/*
2 * $Id: Entity_find_signal.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Entity.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13#undef  FUNCTION
14#define FUNCTION "Entity::find_signal"
15  Signal * Entity::find_signal (std::string name)
16  {
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;
24  };
25
26#undef  FUNCTION
27#define FUNCTION "Entity::find_signal"
28  bool Entity::find_signal (Signal * signal)
29  {
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;
37  };
38
39}; // end namespace behavioural         
40}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.