source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Entity_get_interfaces.cpp

Last change on this file 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: 817 bytes
Line 
1/*
2 * $Id: Entity_get_interfaces.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Entity.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "Entity::get_interfaces"
16  std::string Entity::get_interfaces (void)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19    std::ostringstream text;
20    text << *(_interfaces); 
21    log_printf(FUNC,Behavioural,FUNCTION,"End");
22    return text.str();
23  };
24
25#undef  FUNCTION
26#define FUNCTION "Entity::get_interfaces_list"
27  Interfaces * Entity::get_interfaces_list (void)
28  {
29    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
30    Interfaces * _return = _interfaces; 
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32    return _return;
33  };
34 
35
36}; // end namespace behavioural         
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.