[Clam-devel] Typed controls: end of a long refactoring
David García Garzón
david.garcia at upf.edu
Tue Jan 19 14:25:53 PST 2010
On Friday 15 January 2010 19:37:39 David García Garzón wrote:
> There was a missing step on the long refactoring to introduce typed
> controls. That is using InControl<T> and OutControl<T> instead of
> TypedInControl<T> and TypedOutControl<T>.
>
> In order not to break anything I removed the 'Typed' prefix on such classes
> and created a subclass with the prefix in TypedIn/OutControl.hxx with the
> same constructors. Whenever you include such header you will get compiler
> warning. Once all is migrated we can simply remove the Typed* headers and
> the migration will be complete.
As a proof of concept I evolved some bool control related processings and
widgets, now in the NetworkEditor. See whats going on here:
http://vokicodder.blogspot.com/2010/01/after-long-refactoring-to-get-
typed.html
As the post says next steps in that field is generalizing the control sender
and display so that they can be added without adding code to the NetworkEditor
or the Prototyper but with plugins.
Any ideas are wellcome.
David.
More information about the clam-devel
mailing list