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 » Developing U++ » UppHub » Scatter: FEATURE IDEAS (1 already done)
Re: capsulated Scatter Vectors [message #26566 is a reply to message #26563] Tue, 11 May 2010 22:16 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
thanks guys for participating, its fun developing like that Smile

here comes a version where i tried to remove the commented unnecessary stuff and have unified the usage of dthe Plot Data, merging the 2 cases of a given values plot and the drawing functions plot. it works just the same, and as benefit, the interface becomes more straightforward.

API:
i agree with keeping API compatible to old stuff. but the problem here is that the functions for adding data plots and function plots don't match syntactically.

porting is actually an easy thing to do, if accompishing to name the public members of the class well, this woule encourage (enforce) the users of Scatter to quickly port their app.

another way could be to hide the new implementatio in own namespace. Something like SlimScatter::Scatter, so a user later can decide about the porting point easily.. an to make the real Scatter a separate wrapper class, that keeps the old API but only translates it to the new Scatter, which would keep out all the compatibility thing from the new Scatter

something like
namespace SlimScatter
{
class Scatter
{
//new clean implementation
}
}

class Scatter : public SlimScatter::Scatter
{
//wrapping functions only
}


@kolo: OpenGL ofcorse is best Smile maybe i take a look in there...
  • Attachment: Scatter2.rar
    (Size: 728.79KB, Downloaded 301 times)
 
Read Message icon14.gif
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
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: LEMON - a Library for Efficient Modeling and Optimization in Networks
Next Topic: Dockind: does not work with latest U++ release.
Goto Forum:
  


Current Time: Tue May 07 12:50:12 CEST 2024

Total time taken to generate the page: 0.03180 seconds