![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Ports in Rhapsody in J (newbie) Topic Summary: Created On: 5-May-2006 13:18 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
An easy question for the heavy users: I'm starting a project with R for J and want to use ports. Is this at all possible?
What notation should I use in a statechart to call a method of a port? In c++ this is done like "OUT_PORT(measurements_port)->GEN(measurements(new java.util.Vector()))" Thanks! - Jukka |
|
![]() |
|
![]() |
|
This must have been a tough one...
|
|
![]() |
|
![]() |
|
Hi Jukka,
As a starting note: I'm not using RiJ at all... - but if you have a RiJ model with ports and run a "check model", it looks like it does not support code generation for ports:[size=1] [/size] [CODE] Warning: Ports code generation is supported only in C++. They will be ignored. [/CODE] Therefore, my conclusion must be, that it is not possible to use port in RiJ. ------------------------- Jesper Gissel Johnson Controls Denmark, Marine Controls |
|
![]() |
|
![]() |
|
Thanks, Jasper!
I ran the check model too and got the same warning. It looks like I have to switch to C++. (and get to know the tool's features better ![]() Bye, Jukka |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Ports in Rhapsody in J (newbie)
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.