Hi all,
I am writing a firmware for an embedded system and I'm developing an
OO-Design in Rational Rose.
 
I have dufficulties with the special features that we have a buffered ram
and a flash we can "save" data in. So far our parameters were placed in the
buffered ram so that they where still valid after system restart. The data
could be copied into the flash so that the settings were still available
after a longer Time. The settings were checked with an simple checksum. Even
if the firmware had changed by download (different memory mapping etc.) the
settings could be restored, at least from the flash, maybe even from the
ram.
 
My problem is now: how do I save objects for they do not only contain
attributes but also the functionpointers at least for the virtual
(polymorhistic) methods.
It would be easy to place the objects in the non-init ram and compute a
checksum but what about the function pointers. They need to be initialized.
Maybe the program has changed and the functions are mapped differently. What
would be am propper OO-Solution in your opinion? Maybe I should mention that
there are many objects to be saved and therefore not to much dataconvertion
should take place.
 
Kind regards,
 

Stefan M�ller 

Entwicklungsabteilung T-V 
Tel:  06151-803 650 
Fax: 06151-803 524 
Email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe  rose_forum
*************************************************************************

Reply via email to