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:
654 bytes
|
Line | |
---|
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 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "Signal::get_connect_to_signal" |
---|
16 | Signal * Signal::get_connect_to_signal (void) |
---|
17 | { |
---|
18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
19 | |
---|
20 | Signal * _return = _connect_to_signal; |
---|
21 | |
---|
22 | while ((_return != NULL) and |
---|
23 | (_return->get_direction () == INTERNAL)) |
---|
24 | _return = _return->get_connect_to_signal(); |
---|
25 | |
---|
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.