Bug 527261 - [runtime] Timing protocol doesn't include timeout signal
Summary: [runtime] Timing protocol doesn't include timeout signal
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: runtime (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 12:00 EST by Ernesto Posse CLA
Modified: 2017-11-14 12:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernesto Posse CLA 2017-11-14 12:00:14 EST
If a capsule has a Timing port (say "timing"), the following action code will fail to compile:

timing.timeout().recall()

Furthermore, the following will also fail to compile:

timing.recall()

The later seems to be a consequence that in umlrttimerprotocol.hh, the UMLRTTimerProtocol_baserole class uses *protected* inheritance to inherit from UMLRTProtocol, making protocol operations invisible to clients.

The former is due to the fact that there is no "timeout" method in the UMLRTTimerProtocol class. It should have this method with the following signature:

UMLRTInSignal timeout() const
Comment 1 Ernesto Posse CLA 2017-11-14 12:01:26 EST
See the discussion in the forum at https://www.eclipse.org/forums/index.php?t=tree&th=1089954&goto=1776269&#msg_1776269