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
RevLine 
[31]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
[43]14#undef  FUNCTION
15#define FUNCTION "Entity::get_interfaces"
[75]16  std::string Entity::get_interfaces (void)
[31]17  {
[43]18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[75]19    std::ostringstream text;
[31]20    text << *(_interfaces); 
[43]21    log_printf(FUNC,Behavioural,FUNCTION,"End");
[31]22    return text.str();
23  };
24
[43]25#undef  FUNCTION
26#define FUNCTION "Entity::get_interfaces_list"
[42]27  Interfaces * Entity::get_interfaces_list (void)
28  {
[43]29    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
30    Interfaces * _return = _interfaces; 
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32    return _return;
[42]33  };
34 
35
[31]36}; // end namespace behavioural         
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.