Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to program real U++ applications
Re: How to program real U++ applications [message #26025 is a reply to message #25966] Fri, 26 March 2010 14:32 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14258
Registered: November 2005
Ultimate Member
koldo wrote on Mon, 22 March 2010 10:55

Hello all

I would like to ask you how you design professional U++ applications.

Thinking in a GUI application with a main window, how do you connect classes with main class containing main Serialize/Xmlize configuration:

- Main class is a global variable.



Never did that.

Quote:


- You include in classes constructor as argument a pointer to main class



Sometimes it is needed. Usually not.

Quote:


- You access from a subclass the main class using dynamic_cast<MainClass *>(GetParent()->GetParent()-> ... as many times as necessary.



Never did that.

Note there is nice global serialization system that perhaps is able to solve your issue.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Xmlize hates spaces
Next Topic: Strange issue with VectorMap<String, String>
Goto Forum:
  


Current Time: Wed May 14 19:34:52 CEST 2025

Total time taken to generate the page: 0.02730 seconds