Last change
on this file since 107 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:
654 bytes
|
Rev | Line | |
---|
[42] | 1 | /* |
---|
| 2 | * $Id: Signal_get_connect_to_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 | |
---|
[43] | 14 | #undef FUNCTION |
---|
[44] | 15 | #define FUNCTION "Signal::get_connect_to_signal" |
---|
| 16 | Signal * Signal::get_connect_to_signal (void) |
---|
[42] | 17 | { |
---|
[43] | 18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[65] | 19 | |
---|
[44] | 20 | Signal * _return = _connect_to_signal; |
---|
[65] | 21 | |
---|
| 22 | while ((_return != NULL) and |
---|
| 23 | (_return->get_direction () == INTERNAL)) |
---|
| 24 | _return = _return->get_connect_to_signal(); |
---|
| 25 | |
---|
[43] | 26 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 27 | |
---|
| 28 | return _return; |
---|
[42] | 29 | }; |
---|
| 30 | |
---|
| 31 | }; // end namespace behavioural |
---|
| 32 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.