Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Papyrus for Real Time » How to override targetStartup
How to override targetStartup [message #1778941] Mon, 25 December 2017 15:47 Go to next message
Sekwon Jang is currently offline Sekwon JangFriend
Messages: 10
Registered: November 2017
Junior Member
Could you show me the best way to override targetStartup by the application, not in umlrts?

Re: How to override targetStartup [message #1779102 is a reply to message #1778941] Tue, 02 January 2018 20:29 Go to previous message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

Hi Sekwon Jang,

The targetSetup is used to initialize the runtime services that will then execute the model code that you created. That is, getting and processing the command line arguments, setting up the OS threads, setting up the message queues, creating the Main loop that will process the messages, etc. For the system to run properly, this needs to be in place before the capsule code can run.

Note that the command line arguments are available when you start the system and could be retrieved in the initial transition of your "top capsule" if you want to access them as part of your capsule startup routines. Note, however, that those are defined as static.

If you can explain what you hope to accomplish as part of this override, perhaps we could provide you with options to meet your goals.


/Charles Rivet
Previous Topic:Local transition is not code-generarted
Next Topic:creating composite state
Goto Forum:
  


Current Time: Mon May 06 16:37:23 GMT 2024

Powered by FUDForum. Page generated in 0.03253 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top