Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » Code Generation
Code Generation [message #1787613] Wed, 30 May 2018 02:03 Go to next message
Eclipse UserFriend
Generating code, is there any way to exclude a package or a capsule?
Re: Code Generation [message #1787887 is a reply to message #1787613] Wed, 30 May 2018 10:32 Go to previous message
Eclipse UserFriend
Hi. Well, not exactly. If you apply the CapsuleProperties stereotype to a Capsule, you can control whether to generate a header and or an implementation, so if you set both generateHeader and generateImplementation to false, code will not be generated for the capsule. Passive classes can be controlled in a similar way with the PassiveClassProperties stereotype, but you get more fine grained control, on whether to generate constructors, destructors, assignment operators, extraction and insertion operations, etc. There is no way to control whether a whole package would be generated or not.
Previous Topic:Flatten state machines
Next Topic:C99 codegen for Papyrus-RT
Goto Forum:
  


Current Time: Sun May 18 04:38:27 EDT 2025

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

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

Back to the top