| |
| #include "Control.hh" |
| |
| #include "umlrtobjectclass.hh" |
| #include "umlrtoutsignal.hh" |
| struct UMLRTCommsPort; |
| |
| static UMLRTObject_field fields_done[] = |
| { |
| #ifdef NEED_NON_FLEXIBLE_ARRAY |
| { |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| } |
| #endif |
| }; |
| |
| static UMLRTObject payload_done = |
| { |
| 0, |
| #ifdef NEED_NON_FLEXIBLE_ARRAY |
| 1 |
| #else |
| 0 |
| #endif |
| , |
| fields_done |
| }; |
| |
| Control::Base::Base( const UMLRTCommsPort * & srcPort ) |
| : UMLRTProtocol( srcPort ) |
| { |
| } |
| |
| UMLRTOutSignal Control::Base::done() const |
| { |
| UMLRTOutSignal signal; |
| signal.initialize( "done", signal_done, srcPort, &payload_done ); |
| return signal; |
| } |
| |
| Control::Conj::Conj( const UMLRTCommsPort * & srcPort ) |
| : UMLRTProtocol( srcPort ) |
| { |
| } |
| |
| |