[Clam-devel] Typed controls: Pending refactorings

Natanael Olaiz nolaiz at gmail.com
Wed Feb 4 14:43:12 PST 2009


Thanks to David for the list, and Francisco for take the task!

I'll try to improve the printer and OSC implementation. For now, here is 
a screenshot (the wiki is down :( ) of the actual state:
receiving OSC typed controls



Best regards,
Natanael

El 02/04/2009 09:59 PM, Francisco Tufró escribió:
> I can take some time to finish this.
>
>
> On Wed, Feb 4, 2009 at 7:29 PM, David García Garzón 
> <dgarcia at iua.upf.edu <mailto:dgarcia at iua.upf.edu>> wrote:
>
>     Just for the record, and just in case some one wants to take them
>     before i can
>     do it:
>
>     Current refactoring status (X=In or Out):
>
>     - BaseXControl: Is the base class for any X controls
>     - XControl: Is the old control interface for just floats
>     - TypedXControl<T>: Is the new templated interface
>     - FloatXControl: Is a typedef to XControl to easy the transition
>
>     To get there:
>     - Most common behaviour has been moved to BaseXControl.
>     - All uses of XControl has been renamed to BaseXControl or
>     FloatXControl
>     depending on the kind of usage (general or float).
>     - Some direct control sending has been abstracted into functions
>     living in
>     Processing.hxx
>
>     Target status:
>
>     - BaseXControl: Is the base class for any X controls
>     - XControl<T>: Is the new templated interface (renamed!)
>     - FloatXControl: Should point to XControl<float> or we could remove it
>
>     So, pending steps are:
>
>     1- Converge existing differences in float interface (bounds,
>     defaults and
>     bool/int conversion) in BaseXControl/XTypedControl versus XControl
>     one.
>     2- Point FloatXControl typedef to XControl<T> and check that all
>     is still
>     working properly ¬¬
>     3- Remove the XControl classes, checking that there still is no direct
>     dependency on them
>     4- Rename TypedXControl<T> to XControl<T> so we have the same
>     interface than
>     with ports.
>     5- Rename FloatXControl usage to XControl<float> (or keep it as we
>     have
>     AudioInPorts as InPort<float> alias)
>
>     Other issues to address eventually:
>
>     6- Decide what to do with the Bound and Default interface in
>     BaseXControl
>     7- What to do with the free functions in Processing.hxx that
>     handle float
>     control sending.
>     8- Make XControlPublishers not just float
>
>
>     David.
>
>
>
>     _______________________________________________
>     Clam-devel mailing list
>     Clam-devel at llistes.projectes.lafarga.org
>     <mailto:Clam-devel at llistes.projectes.lafarga.org>
>     https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090204/6369b2da/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: receiving_typed_osc_controls.png
Type: image/png
Size: 102114 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090204/6369b2da/attachment-0005.png>


More information about the clam-devel mailing list