Re: [Mixxx-devel] lazy getControl / ControlObject factory method?

2013-09-07 Thread Daniel Schürmann
Hi Owen,

I like the Idea.
This will improve the flexibility of COs much. But IMHO we should keep
the separation in CO = Master and COT = Slave.
I have already done a first step in this direction with CO hash join
and memory leak fix  https://github.com/mixxxdj/mixxx/pull/41
Can one (or you) review this and add a comment to RJs and my discussion.

Thank you,

Daniel 

 





Am 06.09.2013 14:01, schrieb Owen Williams:
 Would it be possible to make getControl lazy?  ie if the control
 doesn't exist, create it instead of returning NULL.  ie ie, a
 factory.  This would also mean that all controls would be centrally
 managed and we wouldn't need to worry about ownership or who is
 responsible for deleting them.  We could make the constructor private,
 too.




 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk


 ___
 Get Mixxx, the #1 Free MP3 DJ Mixing software Today
 http://mixxx.org


 Mixxx-devel mailing list
 Mixxx-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mixxx-devel

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

[Mixxx-devel] lazy getControl / ControlObject factory method?

2013-09-06 Thread Owen Williams
Would it be possible to make getControl lazy?  ie if the control doesn't
exist, create it instead of returning NULL.  ie ie, a factory.  This would
also mean that all controls would be centrally managed and we wouldn't need
to worry about ownership or who is responsible for deleting them.  We could
make the constructor private, too.
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel