Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Papyrus for Real Time » Code Generation
Code Generation [message #1787613] Wed, 30 May 2018 06:03 Go to next message
Sekwon Jang is currently offline Sekwon JangFriend
Messages: 10
Registered: November 2017
Junior Member
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 14:32 Go to previous message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 351
Registered: March 2011
Senior Member
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 Sep 23 01:00:04 GMT 2018

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

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

Back to the top