setting roassal platform

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

setting roassal platform

Tudor Girba-2
Hi,

The current way of setting the Roassal platform is rather clunky. For some reason we have to pass a string:

ROPlatform setCurrent: 'athens'.
ROPlatform setCurrent: 'morphic'.

This string is then matched against a string returned by each subclass. The platforms are stored in a dictionary that is updated in the initialize of each subclasses. I think this is highly complicated for what it should do.

We should simply replace this with a mechanism that goes in this direction:

ROPlatform setCurrent: ROAthensPlatform new.
ROPlatform setCurrent: ROMorphicPlatform new.

Cheers,
Doru


--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: setting roassal platform

abergel
I agree. I will try to work on this today

Alexandre

Le 17-11-2013 à 7:33, Tudor Girba <[hidden email]> a écrit :

Hi,

The current way of setting the Roassal platform is rather clunky. For some reason we have to pass a string:

ROPlatform setCurrent: 'athens'.
ROPlatform setCurrent: 'morphic'.

This string is then matched against a string returned by each subclass. The platforms are stored in a dictionary that is updated in the initialize of each subclasses. I think this is highly complicated for what it should do.

We should simply replace this with a mechanism that goes in this direction:

ROPlatform setCurrent: ROAthensPlatform new.
ROPlatform setCurrent: ROMorphicPlatform new.

Cheers,
Doru


--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev