Last change
on this file since 61 was
44,
checked in by rosiere, 17 years ago
|
Modification des classes d'encapsulation des interfaces.
Stable sur tous les composants actuels
|
File size:
1.0 KB
|
Rev | Line | |
---|
[42] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Signal.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[44] | 14 | // #undef FUNCTION |
---|
| 15 | // #define FUNCTION "Signal::mapping" |
---|
| 16 | // void Signal::mapping (Signal * signal) |
---|
| 17 | // { |
---|
| 18 | // log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[43] | 19 | |
---|
[44] | 20 | // if (_is_map == true) |
---|
| 21 | // throw (ErrorMorpheo ("<Signal::mapping> Can't mapping signal \""+_name+"\" with \""+signal->get_name()+"\", because it's already map.")); |
---|
[42] | 22 | |
---|
[44] | 23 | // if (signal->_is_allocate == false) |
---|
| 24 | // throw (ErrorMorpheo ("<Signal::mapping> Signal \""+_name+"\", can't map with signal \""+signal->get_name()+"\", because it's not already allocate.")); |
---|
[42] | 25 | |
---|
[44] | 26 | // if (_direction == OUT) |
---|
| 27 | // { |
---|
| 28 | // // This output is mapped |
---|
| 29 | // _is_map = true; |
---|
[42] | 30 | |
---|
[44] | 31 | // if (signal->_direction == OUT) |
---|
| 32 | // _sc_signal_map = signal->_sc_signal_map; |
---|
| 33 | // } |
---|
[42] | 34 | |
---|
[44] | 35 | // log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 36 | // }; |
---|
[42] | 37 | |
---|
| 38 | }; // end namespace behavioural |
---|
| 39 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.