Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » How to override targetStartup
How to override targetStartup [message #1778941] Mon, 25 December 2017 10:47 Go to next message
Eclipse UserFriend
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 15:29 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Local transition is not code-generarted
Next Topic:creating composite state
Goto Forum:
  


Current Time: Thu Jun 19 03:34:22 EDT 2025

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

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

Back to the top