Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Using PORTS in Rhapsody C++
Topic Summary:
Created On: 30-Mar-2005 07:57
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 30-Mar-2005 07:57
User is offline View Users Profile Print this message


Roy Gerstner

Posts: 1
Joined: 18-May-2005

Does somebody has an easy example using PORTS in Rhapsody.
I tried to understand the example in the documentation (Rhapsody6.0 C++) but I can't get it work.
-Every time I generate an event with OUT_PORT(myPort)->GEN(myEvent) I get an errormessage like "Event ignored Instance has no root state".
-Using triggert Operations does work but listening for an event on the port doesn't work. The guard myEvent[IS_PORT(myPort)] never became true.

Any help welcome

Gerstner Roy
Report this to a Moderator Report this to a Moderator
 5-Apr-2005 19:36
User is offline View Users Profile Print this message


Jeff Support

Posts: 1
Joined: 5-Apr-2005

Hi Gerstner,

In order to use a triggered operation with ports, you need to specify your Triggered operation as a primitive operation in your interface class, despite the fact it is implemented as a triggered operation.

Does this fix your error?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.