![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: How to create a model using the Interrupt Driven Framework (IDF)? Topic Summary: Created On: 10-Jul-2007 16:39 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
How do I create a Rhapsody model that uses the Interrupt Driven Framework (IDF) instead of the Object Execution Framework (OXF)?
As a test, I created a new model with "Rhapsody in C" v7.0 MR2, using the 'IDFProfile'. The default configuration has the 'IDF' stereotype, the 'MicrosoftIDF' environment, flat statechart implementation, the real time model, and no instrumentation. I added a couple of classes that do nothing to the default package. The problem is that the generated code refers to the OXF: For example, 'main()' still calls 'RiCOXFInit()' and 'RiCOXFStart()'. What other settings do I need to change? |
|
![]() |
|
![]() |
|
I found out that the Rhapsody-generated file "$OMROOT\LangC\idf\Initialization.c" for the Interrupt Driven Framework (IDF) defines the functions 'RiCOXFInit()' and 'RiCOXFStart()'. Since the functions had "OXF" in their names, I thought that code from the Object Execution Framework (OXF) was being used.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.