![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Customize generated accessor functions Topic Summary: Created On: 2-Dec-2005 15:49 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
I use Rhapsody in C and I have to implement a data structure with getter and setter functions. Everytime when the data is changed, a write operation to the EEPROM should be done. The idea is, to use the generated Accessor functions. Is there a way to customizing the generated Accessor functions? Please excuse my bad english, I hope you understand my question. Hanspeter |
|
![]() |
|
![]() |
|
Look under Properties and then
CG-->Attribute or CG_C-->Attribute there you find properties where you can modify the behaviour of the Rhapsody codegenerator. HTH kind regards, Bernhard Merkle. |
|
![]() |
|
![]() |
|
HI,
if you turn on the CG::CGGeneral::GeneratedCodeInBrowser option and regenerate your code, you can then see the default getter and setter functions. You can then modify them and they change to "user generated functions" that remain in the browser if you then turn off the GeneratedCodeInBrowser and regenerate your code. Regards, Ian |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Customize generated accessor functions
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.