U++ framework
Do not panic. Ask here before giving up.

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: 14291
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 Jul 01 01:28:08 GMT+2 2026

Total time taken to generate the page: 0.00840 seconds