Last change
on this file since 136 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:
662 bytes
|
Rev | Line | |
---|
[44] | 1 | /* |
---|
| 2 | * $Id: Signal_get_connect_from_signal.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Signal.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Signal::get_connect_from_signal" |
---|
| 16 | Signal * Signal::get_connect_from_signal (void) |
---|
| 17 | { |
---|
| 18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[65] | 19 | |
---|
[44] | 20 | Signal * _return = _connect_from_signal; |
---|
[65] | 21 | |
---|
| 22 | while ((_return != NULL) and |
---|
| 23 | (_return->get_direction () == INTERNAL)) |
---|
| 24 | _return = _return->get_connect_from_signal(); |
---|
| 25 | |
---|
[44] | 26 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 27 | |
---|
| 28 | return _return; |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | }; // end namespace behavioural |
---|
| 32 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.