Last change
on this file since 134 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
|
Rev | Line | |
---|
[42] | 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 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[43] | 13 | #undef FUNCTION |
---|
| 14 | #define FUNCTION "Entity::find_signal" |
---|
[75] | 15 | Signal * Entity::find_signal (std::string name) |
---|
[42] | 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.