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++ Widgets - General questions or Mixed problems » howto best Ctrl Refresh handling w/ MT & very frequent refreshes
Re: howto best Ctrl Refresh handling w/ MT & very frequent refreshes [message #26977 is a reply to message #26972] Wed, 16 June 2010 12:05 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
luzr wrote on Wed, 16 June 2010 07:27


General word of advice: Do not be so eager to change U++ sources. Some time later you can find yourself standing on diverging platform :)


Hello, Mirek.

Well, I can understand your points: merging of view and controller together (from Model-View-Controller perspective) to simplify porting problems.
My points for Konstantin is just for possible path to start thinking about (what functions calls RefreshFrame, which called by it, etc.). After understanding this path can be optimized. For example, some Ctrl functions can be virtual and overriden by inherited class functions. But for now, this solved partially and not in all cases.

The main problem here, I think, is bottleneck and not only with Refresh, but also with functions called by SetData (which showed previous Jan example with cached data). Yes, in current state this bottleneck can be as minimal as possible.

So, I tried to solve the problem first (currently in simplified form), but not to change public sources without strong reason.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GtkWidget inside U++
Next Topic: DONE: ColumnList with Ctrl's
Goto Forum:
  


Current Time: Tue May 07 08:55:33 CEST 2024

Total time taken to generate the page: 0.01787 seconds